summaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
authorWayne Boyer <wayneb@linux.vnet.ibm.com>2010-06-03 16:02:21 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-07-21 13:52:13 -0700
commit5adcbeb34d2a031d3baca227eef23e56734006ba (patch)
treea38a5867f8afbdd6adc2b6d34d7f83afb7473243 /drivers/s390/scsi
parent7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff)
downloadlinux-5adcbeb34d2a031d3baca227eef23e56734006ba.tar.bz2
[SCSI] ipr: fix resource path display and formatting
It was possible to overflow the buffer used to print out the formatted version of the resource path. The fix is to limit the number of bytes that get formatted. This patch also updates the ipr_show_resource_path function to display the resource address for devices that are attached to adapters that don't support resource paths. Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com> Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi')
0 files changed, 0 insertions, 0 deletions