summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_mgmt.h
diff options
context:
space:
mode:
authorJohn Soni Jose <sony.john-n@emulex.com>2012-08-20 19:30:31 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 18:59:27 +0200
commitdf5d0e6ee9d68f874959fa028388efa26f495f63 (patch)
treef7a0b523c761588c797ad6629ee2440bb8feeeb0 /drivers/scsi/be2iscsi/be_mgmt.h
parent[SCSI] be2iscsi: Added Logging mechanism for the driver. (diff)
downloadlinux-df5d0e6ee9d68f874959fa028388efa26f495f63.tar.xz
linux-df5d0e6ee9d68f874959fa028388efa26f495f63.zip
[SCSI] be2iscsi: Format the MAC_ADDR with sysfs_format_mac.
The MAC_ADDR stored in driver private structure is of unsigned char data type but strlcpy parameters is of signed char data type. This conversion of data types lead to change in the value.This changed value is passed to the upper layer and junk characters were displayed when "iscsiadm -m iface" command was run. In case of iSCSI boot, since the the MAC_ADDR was coming junk the boot was also not working Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.h')
0 files changed, 0 insertions, 0 deletions