freebsd-dev/sys/dev/iscsi
Dimitry Andric 02a226ac34 Suppress possible unused variable warning for icl_soft.c
With clang 15, the following -Werror warning is produced on i386:

    sys/dev/iscsi//icl_soft.c:1277:6: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
            int i;
                ^

The 'i' variable is used later in the icl_soft_conn_pdu_get_bio()
function, via the PHYS_TO_DMAP() macro. However, on i386 and some other
architectures, this macro is defined to panic immediately, so in those
cases, 'i' is indeed not used. Suppress the warning by marking 'i' as
unused.

MFC after:	3 days
2022-07-27 21:13:58 +02:00
..
icl_conn_if.m iscsi: Handle unmapped I/O requests. 2022-03-10 15:49:53 -08:00
icl_soft_proxy.c iscsi: Use calloutng instead of ticks in iscsi initiator 2022-02-15 17:36:22 +01:00
icl_soft.c Suppress possible unused variable warning for icl_soft.c 2022-07-27 21:13:58 +02:00
icl_wrappers.h iscsi: Handle unmapped I/O requests. 2022-03-10 15:49:53 -08:00
icl.c iscsi: Fetch limits based on a socket rather than assuming global limits. 2022-04-18 12:53:28 -07:00
icl.h iscsi: Fetch limits based on a socket rather than assuming global limits. 2022-04-18 12:53:28 -07:00
iscsi_ioctl.h iscsi: Fetch limits based on a socket rather than assuming global limits. 2022-04-18 12:53:28 -07:00
iscsi_proto.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi.c iscsi: Fetch limits based on a socket rather than assuming global limits. 2022-04-18 12:53:28 -07:00
iscsi.h iscsi: per-session timeouts and rapid teardown of session on reconnect 2022-02-25 10:35:47 +01:00