diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-03 16:41:36 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 11:22:16 -0500 |
commit | 71610f55fa4db63dbf5385929a47c9fb2451f332 (patch) | |
tree | b816672eef25e1436111e6c78053612bd22fb016 /drivers/scsi/ipr.h | |
parent | b58602a4bac012b5f4fc12fe6b46ab237b610d5d (diff) |
[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()
[jejb: limit ioctl to returning 20 characters to avoid overrun
on long device names and add a few more conversions]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 59459141b437..8f872f816fe4 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -1272,7 +1272,7 @@ struct ipr_dump_entry_header { | |||
1272 | 1272 | ||
1273 | struct ipr_dump_location_entry { | 1273 | struct ipr_dump_location_entry { |
1274 | struct ipr_dump_entry_header hdr; | 1274 | struct ipr_dump_entry_header hdr; |
1275 | u8 location[BUS_ID_SIZE]; | 1275 | u8 location[20]; |
1276 | }__attribute__((packed)); | 1276 | }__attribute__((packed)); |
1277 | 1277 | ||
1278 | struct ipr_dump_trace_entry { | 1278 | struct ipr_dump_trace_entry { |