[patch 4/6] usb-storage-add-new-no_read_disc_info-quirk-fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

drivers/usb/storage/scsiglue.c: In function 'slave_configure':
drivers/usb/storage/scsiglue.c:262: error: 'US_FLAG_NO_READ_DISC_INFO' undeclared (first use in this function)
drivers/usb/storage/scsiglue.c:262: error: (Each undeclared identifier is reported only once
drivers/usb/storage/scsiglue.c:262: error: for each function it appears in.)


huh?


Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
Cc: Matthew Dharm <mdharm-usb@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/usb/storage/scsiglue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/usb/storage/scsiglue.c~usb-storage-add-new-no_read_disc_info-quirk-fix drivers/usb/storage/scsiglue.c
--- a/drivers/usb/storage/scsiglue.c~usb-storage-add-new-no_read_disc_info-quirk-fix
+++ a/drivers/usb/storage/scsiglue.c
@@ -255,7 +255,7 @@ static int slave_configure(struct scsi_d
 		sdev->use_10_for_ms = 1;
 
 		/* Some (fake) usb cdrom devices don't like READ_DISC_INFO */
-		if (us->fflags & US_FLAG_NO_READ_DISC_INFO)
+		if (us->fflags & US_FL_NO_READ_DISC_INFO)
 			sdev->no_read_disc_info = 1;
 	}
 
_
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux