HomeFreeBSD

ocs_fc: print instance_index value rather than pointer itself in ocs_cam.c

Description

ocs_fc: print instance_index value rather than pointer itself in ocs_cam.c

In function ocs_scsi_recv_tmf, print instance_index rather than
the pointer itself to avoid printing out kernel pointer to user space.

PR: 238659
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: imp

Details

Provenance
Fuqian Huang <huangfq.daxian@gmail.com>Authored on Sat, Dec 28, 9:12 PM
impCommitted on Sat, Dec 28, 9:12 PM
Parents
rG225c5e535b36: nvmft: Fix typo in error message if an I/O queue fails to handoff
Branches
Unknown
Tags
Unknown