diff for duplicates of <1526561908.15506.5.camel@suse.com> diff --git a/a/1.txt b/N1/1.txt index d839aba..4530723 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,34 +11,3 @@ You will need the attached patch for the quirk to be supported. Regards Oliver - -From 1ff6c9c9cc66ddb4cf7ca95bea589d6a30c63623 Mon Sep 17 00:00:00 2001 -From: Oliver Neukum <oneukum@suse.com> -Date: Thu, 17 May 2018 14:46:47 +0200 -Subject: [PATCH] UAS: add support for the quirk US_FL_NO_WP_DETECT - -The assumption that this quirk can be limited to old storage -devices was too optimistic. - -Signed-off-by: Oliver Neukum <oneukum@suse.com> ---- - drivers/usb/storage/uas.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c -index 6034c39b67d1..7ee67e8c1f1e 100644 ---- a/drivers/usb/storage/uas.c -+++ b/drivers/usb/storage/uas.c -@@ -836,6 +836,10 @@ static int uas_slave_configure(struct scsi_device *sdev) - if (devinfo->flags & US_FL_BROKEN_FUA) - sdev->broken_fua = 1; - -+ /* UAS also needs to support FL_NO_WP_DETECT */ -+ if (devinfo->flags & US_FL_NO_WP_DETECT) -+ sdev->skip_ms_page_3f = 1; -+ - scsi_change_queue_depth(sdev, devinfo->qdepth - 2); - return 0; - } --- -2.13.6 diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..03126da --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,6 @@ +Content-Disposition: attachment; + filename="0001-UAS-add-support-for-the-quirk-US_FL_NO_WP_DETECT.patch" +Content-Transfer-Encoding: base64 +Content-Type: text/x-patch; + name="0001-UAS-add-support-for-the-quirk-US_FL_NO_WP_DETECT.patch"; + charset="UTF-8" diff --git a/N1/2.txt b/N1/2.txt new file mode 100644 index 0000000..7c066ec --- /dev/null +++ b/N1/2.txt @@ -0,0 +1,30 @@ +From 1ff6c9c9cc66ddb4cf7ca95bea589d6a30c63623 Mon Sep 17 00:00:00 2001 +From: Oliver Neukum <oneukum@suse.com> +Date: Thu, 17 May 2018 14:46:47 +0200 +Subject: [PATCH] UAS: add support for the quirk US_FL_NO_WP_DETECT + +The assumption that this quirk can be limited to old storage +devices was too optimistic. + +Signed-off-by: Oliver Neukum <oneukum@suse.com> +--- + drivers/usb/storage/uas.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c +index 6034c39b67d1..7ee67e8c1f1e 100644 +--- a/drivers/usb/storage/uas.c ++++ b/drivers/usb/storage/uas.c +@@ -836,6 +836,10 @@ static int uas_slave_configure(struct scsi_device *sdev) + if (devinfo->flags & US_FL_BROKEN_FUA) + sdev->broken_fua = 1; + ++ /* UAS also needs to support FL_NO_WP_DETECT */ ++ if (devinfo->flags & US_FL_NO_WP_DETECT) ++ sdev->skip_ms_page_3f = 1; ++ + scsi_change_queue_depth(sdev, devinfo->qdepth - 2); + return 0; + } +-- +2.13.6 diff --git a/a/content_digest b/N1/content_digest index 8fc78d0..5a40e06 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,5 +1,7 @@ + "ref\0Pine.LNX.4.44L0.1805161647330.1604-100000@iolanthe.rowland.org\0" + "ref\09c638d96-d2b4-cf19-d7e8-4ef93549bd79@godking.net\0" "From\0Oliver Neukum <oneukum@suse.com>\0" - "Subject\0usb-storage: Add quirks to make G-Technology \"G-Drive\" work\0" + "Subject\0Re: [PATCH] usb-storage: Add quirks to make G-Technology \"G-Drive\" work\0" "Date\0Thu, 17 May 2018 14:58:28 +0200\0" "To\0Alexander Kappner <agk@godking.net>" " Alan Stern <stern@rowland.harvard.edu>\0" @@ -7,7 +9,7 @@ usb-storage@lists.one-eyed-alien.net linux-kernel@vger.kernel.org " linux-usb@vger.kernel.org\0" - "\00:1\0" + "\01:1\0" "b\0" "Am Donnerstag, den 17.05.2018, 01:15 -0700 schrieb Alexander Kappner:\n" "> Yes. Without this flag, the device keeps throwing similar errors on \n" @@ -21,8 +23,10 @@ "You will need the attached patch for the quirk to be supported.\n" "\n" "\tRegards\n" - "\t\tOliver\n" - "\n" + "\t\tOliver" + "\01:2\0" + "fn\00001-UAS-add-support-for-the-quirk-US_FL_NO_WP_DETECT.patch\0" + "b\0" "From 1ff6c9c9cc66ddb4cf7ca95bea589d6a30c63623 Mon Sep 17 00:00:00 2001\n" "From: Oliver Neukum <oneukum@suse.com>\n" "Date: Thu, 17 May 2018 14:46:47 +0200\n" @@ -54,4 +58,4 @@ "-- \n" 2.13.6 -8bb83e20cbc69fa2967a6f66b3ea932c2eab88397ae561cdc4ae14191eebecf8 +50d872c97d78ad8eb2e6ee43134e291aa4f2fbde97ba8c014782b34e7d47549d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.