aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strscpy.c
diff options
context:
space:
mode:
authorWenchao Hao <[email protected]>2022-03-17 11:01:16 -0400
committerMartin K. Petersen <[email protected]>2022-03-29 23:01:28 -0400
commitebfe3e0c5e805da3dd692bb120cd6269b7c19b80 (patch)
tree42461c6a88eea4ebd3e13f4b99d0ddec169a3d92 /lib/test_fortify/write_overflow-strscpy.c
parent87d663d40801dffc99a5ad3b0188ad3e2b4d1557 (diff)
scsi: libiscsi: Remove unnecessary memset() in iscsi_conn_setup()
iscsi_cls_conn is alloced by kzalloc(), the whole iscsi_cls_conn is zero filled already including the dd_data. So it is unnecessary to call memset again. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Wu Bo <[email protected]> Reviewed-by: Lee Duncan <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Wenchao Hao <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions