[SCSI] ipr: fix resource address formatting and add attribute for device ID
commit46d7456324766cd291d7ccd5b4927cbd3c28fb1b
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Wed, 11 Aug 2010 14:15:17 +0000 (11 07:15 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 5 Sep 2010 17:33:42 +0000 (5 14:33 -0300)
treef77d0cd8507a560ad626328af75b9ecc3cf8de63
parent6f7efaabefebfbc523ea9776e3663a2d81b86399
[SCSI] ipr: fix resource address formatting and add attribute for device ID

This patch fixes a resource address formatting problem where the first byte
was being zeroed out.

Also, the device ID is now made available as a sysfs attribute.

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>
drivers/scsi/ipr.c
drivers/scsi/ipr.h