opnsense-src/sys/dev/iscsi
Dimitry Andric 609593ae47 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

(cherry picked from commit 02a226ac34)
2022-08-01 20:07:27 +02:00
..
icl.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl.h Move the ICL_CONN_*LOCK* macros to <dev/iscsi/icl.h>. 2021-11-23 15:11:53 -08:00
icl_conn_if.m iscsi: Handle unmapped I/O requests. 2022-05-11 13:52:17 -07:00
icl_soft.c Suppress possible unused variable warning for icl_soft.c 2022-08-01 20:07:27 +02:00
icl_soft_proxy.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
icl_wrappers.h iscsi: Handle unmapped I/O requests. 2022-05-11 13:52:17 -07:00
iscsi.c iscsi: Handle unmapped I/O requests. 2022-05-11 13:52:17 -07:00
iscsi.h iscsi: Validate DataSN values in Data-In PDUs in the initiator. 2021-11-23 15:11:44 -08:00
iscsi_ioctl.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
iscsi_proto.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00