- Updated to 3.4-rc1.
[linux-flexiantxendom0-3.2.10.git] / drivers / scsi / scsi_scan.c
index 01b0374..c97aa77 100644 (file)
@@ -693,7 +693,7 @@ static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result,
         * and displaying garbage for the Vendor, Product, or Revision
         * strings.
         */
-       if (sdev->inquiry_len < 36) {
+       if (sdev->inquiry_len < 36 && printk_ratelimit()) {
                printk(KERN_INFO "scsi scan: INQUIRY result too short (%d),"
                                " using 36\n", sdev->inquiry_len);
                sdev->inquiry_len = 36;