mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
The saved Cppcheck report warns in isert_send_completion_handler: iscsi-scst/kernel/isert-scst/iser_rdma.c:429: warning: Either the condition 'iscsi_req_pdu' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] The parent request is optional, but container_of subtracts the member offset before the NULL check. Resolve the parent container only after confirming that the request exists and has a buffer. Preserve completion handling for responses without a parent and for valid remote tags.