aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_transport_iscsi.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-08 13:45:07 +0300
committerJames Bottomley <JBottomley@Parallels.com>2011-10-20 10:07:42 -0500
commitdc55b8274daddffefc34026ed7924138c8c5df17 (patch)
tree9f87676a30da007e0546f7f689d0dcd047eb1715 /include/scsi/scsi_transport_iscsi.h
parent[SCSI] lpfc 8.3.27: Change driver version to 8.3.27 (diff)
downloadlinux-dev-dc55b8274daddffefc34026ed7924138c8c5df17.tar.xz
linux-dev-dc55b8274daddffefc34026ed7924138c8c5df17.zip
[SCSI] aacraid: use lower snprintf() limit
This is just a cleanup, to silence static checker warnings. It doesn't change how the code works. buf[] can either be BUF_SIZE if this is called from sysfs, or it can be 16 if it's called from aac_get_adapter_info() via aac_get_serial_number(). We use the smaller limit here. sizeof(dev->supplement_adapter_info.MfgPcbaSerialNo) is 12 so there is actually no chance of hitting either limit. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Achim Leubner <Achim_Leubner@pmc-sierra.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
0 files changed, 0 insertions, 0 deletions