[SCSI] scsi_proc.c: display sdev->scsi_level correctly
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 8 Jan 2007 16:07:41 +0000 (11:07 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 16 Feb 2007 17:12:07 +0000 (11:12 -0600)
commit74feb53e8b5020e790e12c6331cbe885d276cc60
tree1ee19f22efedd19bb686c1ee93d5301409d1ba72
parentcc5968c83edc8c797177db3adf95beafa2b7f365
[SCSI] scsi_proc.c: display sdev->scsi_level correctly

This patch (as833) fixes the "SCSI revision" output for
/proc/scsi/scsi.  If the scsi_level value is 0 (UNKNOWN), we want it
to show up as "0", not "ffffffff".

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_proc.c