diff options
author | Jeff Garzik | 2006-09-24 07:52:47 +0200 |
---|---|---|
committer | Jeff Garzik | 2006-09-24 07:52:47 +0200 |
commit | 23930fa1cebfea6f79881c588ccd1b0781e49e3f (patch) | |
tree | 36d29e3f83661c4f5f45b6f74ac0d5f9886867a8 /drivers/scsi/fcal.c | |
parent | [libata] Delete pata_it8172 driver (diff) | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 (diff) | |
download | kernel-qcow2-linux-23930fa1cebfea6f79881c588ccd1b0781e49e3f.tar.gz kernel-qcow2-linux-23930fa1cebfea6f79881c588ccd1b0781e49e3f.tar.xz kernel-qcow2-linux-23930fa1cebfea6f79881c588ccd1b0781e49e3f.zip |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/scsi/fcal.c')
-rw-r--r-- | drivers/scsi/fcal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/fcal.c b/drivers/scsi/fcal.c index 7f891023aa15..c4e16c0775de 100644 --- a/drivers/scsi/fcal.c +++ b/drivers/scsi/fcal.c @@ -248,8 +248,7 @@ int fcal_proc_info (struct Scsi_Host *host, char *buffer, char **start, off_t of if (scd->id == target) { SPRINTF (" [AL-PA: %02x, Id: %02d, Port WWN: %08x%08x, Node WWN: %08x%08x] ", alpa, target, u1[0], u1[1], u2[0], u2[1]); - SPRINTF ("%s ", (scd->type < MAX_SCSI_DEVICE_CODE) ? - scsi_device_types[(short) scd->type] : "Unknown device"); + SPRINTF ("%s ", scsi_device_type(scd->type)); for (j = 0; (j < 8) && (scd->vendor[j] >= 0x20); j++) SPRINTF ("%c", scd->vendor[j]); |