scsi: target: iscsi: Extract auth functions
Hello Dmitry Bogdanov,
This is a semi-automatic email about new static checker warnings.
The patch a75fcb0912a5: "scsi: target: iscsi: Extract auth functions" from May 23, 2022, leads to the following Smatch complaint:
drivers/target/iscsi/iscsi_target_nego.c:830 iscsi_conn_auth_required()
error: we previously assumed 'se_nacl' could be null (see line 829)
drivers/target/iscsi/iscsi_target_nego.c
828 se_nacl = conn->sess->se_sess->se_node_acl;
829 if (!se_nacl) {
^^^^^^^NULL
830 pr_debug("Unknown ACL %s is trying to connect\n",
831 se_nacl->initiatorname);
^^^^^^^^^^^^^^^^^^^^^^Dereferenced
832 return true;
regards,
dan carpenter