Skip to contentSkip to conversation

Linux kernel 6.1 - drivers/usb/storage/unusual_cypress.h "Super Top" minimum bcdDevice too high

PATCH In review LihaSika 4 participants 20 messages Oct 26, 2023 – Oct 28, 2023

Subsystems (4)
lore
Share & tools
lore

LihaSika

author
#0 lore raw

Hi,

in kernel 6.1 (maybe 5.x - 6.x) there's an ATACB setting for "Super Top USB 2.0 SATA Bridge" -devices, where the minimum bcdDevice version to match has been set to 1.60. It's in the file drivers/usb/storage/unusual_cypress.h:

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
"Super Top",
"USB 2.0 SATA BRIDGE", USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
"""

My old USB HDD with a "Super Top" bridge has bcdDevice version 1.50, thus the setting won't match and it will not mount.

I'm not sure when this changed (after kernel 4.x?), but it used to work before. Reading some earlier bug reports, it seems that the max version used to be 0x9999, which then caused corruption in "Super Top" devices with version >=2.20. So that's a reason for lowering the maximum value, but I wonder why the minimum value has also been set to 0x0160.

I created a patch, changing 0x0160 to 0x0150 (though I should've left the max version as it was...):

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0150,
"""

Built, installed and rebooted; now the USB HDD can be mounted and works perfectly again. I did some write & read tests, checked with diff, cmp and md5sum - no corruption, everything OK 👍

Best regards,
LihaS

maintainer
#1 lore raw
Quoted 26 lines · LihaSika

Hi,

in kernel 6.1 (maybe 5.x - 6.x) there's an ATACB setting for "Super Top USB 2.0 SATA Bridge" -devices, where the minimum bcdDevice version to match has been set to 1.60. It's in the file drivers/usb/storage/unusual_cypress.h:

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,

(quoted diff) +0 -0
 		"Super Top",
 		"USB 2.0  SATA BRIDGE",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

"""

My old USB HDD with a "Super Top" bridge has bcdDevice version 1.50, thus the setting won't match and it will not mount.

I'm not sure when this changed (after kernel 4.x?), but it used to work before. Reading some earlier bug reports, it seems that the max version used to be 0x9999, which then caused corruption in "Super Top" devices with version >=2.20. So that's a reason for lowering the maximum value, but I wonder why the minimum value has also been set to 0x0160.

I created a patch, changing 0x0160 to 0x0150 (though I should've left the max version as it was...):

Quoted 7 lines

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0150,
"""

Built, installed and rebooted; now the USB HDD can be mounted and works perfectly again. I did some write & read tests, checked with diff, cmp and md5sum - no corruption, everything OK 👍

Please submit a proper patch to the [email protected] mailing list and we will be glad to take it from there.

thanks,

greg k-h

author
#2 lore raw
Quoted 35 lines · Greg KH
Quoted 26 lines · LihaSika

Hi,

in kernel 6.1 (maybe 5.x - 6.x) there's an ATACB setting for "Super Top USB 2.0 SATA Bridge" -devices, where the minimum bcdDevice version to match has been set to 1.60. It's in the file drivers/usb/storage/unusual_cypress.h:

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
"Super Top",
"USB 2.0 SATA BRIDGE", USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
"""

My old USB HDD with a "Super Top" bridge has bcdDevice version 1.50, thus the setting won't match and it will not mount.

I'm not sure when this changed (after kernel 4.x?), but it used to work before. Reading some earlier bug reports, it seems that the max version used to be 0x9999, which then caused corruption in "Super Top" devices with version >=2.20. So that's a reason for lowering the maximum value, but I wonder why the minimum value has also been set to 0x0160.

I created a patch, changing 0x0160 to 0x0150 (though I should've left the max version as it was...):

Quoted 7 lines

"""
UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0150,
"""

Built, installed and rebooted; now the USB HDD can be mounted and works perfectly again. I did some write & read tests, checked with diff, cmp and md5sum - no corruption, everything OK 👍

Quoted 6 lines

Please submit a proper patch to the [email protected] mailing list and we will be glad to take it from there.

thanks,

greg k-h

OK, here it is!

Best regards,
L.
--

$ cat lihasika-unusual_cypress.patch
drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..7b3d5f0 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
 		"Cypress ISD-300LP",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
 		"Super Top",
 		"USB 2.0  SATA BRIDGE",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
#3 lore raw
Quoted 22 lines · LihaSika
Quoted 6 lines · Greg KH

Please submit a proper patch to the [email protected] mailing list and we will be glad to take it from there.

thanks,

greg k-h

OK, here it is!

Best regards,
L.
--

$ cat lihasika-unusual_cypress.patch
drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
 		"Cypress ISD-300LP",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
 		"Super Top",
 		"USB 2.0  SATA BRIDGE",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi LihaSika,

Please follow proper patch submission process in order to get above patch accepted. See Documentation/process/submitting-patches.rst in the kernel sources for how to do that properly. You may also consider adding Cc: [email protected] trailer in your patch to mark it to be backported to stable kernels (including one you use).

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
author
#4 lore raw

PATCH 1/1 set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 34 lines · Bagas Sanjaya
Quoted 22 lines · LihaSika
Quoted 6 lines · Greg KH

Please submit a proper patch to the [email protected] mailing list and we will be glad to take it from there.

thanks,

greg k-h

OK, here it is!

Best regards,
L.
--

$ cat lihasika-unusual_cypress.patch
drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
  		"Cypress ISD-300LP",
  		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
  		"Super Top",
  		"USB 2.0  SATA BRIDGE",
  		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi LihaSika,

Quoted 8 lines

Please follow proper patch submission process in order to get above patch accepted. See Documentation/process/submitting-patches.rst in the kernel sources for how to do that properly. You may also consider adding Cc: [email protected] trailer in your patch to mark it to be backported to stable kernels (including one you use).

Thanks.

All right, here's a new attempt. Is it OK now?

---

drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..7b3d5f0 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
maintainer
#5 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 58 lines · LihaSika
Quoted 34 lines · Bagas Sanjaya
Quoted 22 lines · LihaSika
Quoted 6 lines · Greg KH

Please submit a proper patch to the [email protected] mailing list and we will be glad to take it from there.

thanks,

greg k-h

OK, here it is!

Best regards,
L.
--

$ cat lihasika-unusual_cypress.patch
drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
  		"Cypress ISD-300LP",
  		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
  		"Super Top",
  		"USB 2.0  SATA BRIDGE",
  		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi LihaSika,

Quoted 8 lines

Please follow proper patch submission process in order to get above patch accepted. See Documentation/process/submitting-patches.rst in the kernel sources for how to do that properly. You may also consider adding Cc: [email protected] trailer in your patch to mark it to be backported to stable kernels (including one you use).

Thanks.

All right, here's a new attempt. Is it OK now?

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- Your patch contains warnings and/or errors noticed by the scripts/checkpatch.pl tool.

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

- You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what is needed in order to properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what a proper
Subject: line should look like.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot

author
#6 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 4 lines

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

Oh right, Thunderbird wrapped the first line of the patch file -.-

Disabled wrapping, another attempt:

---

drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..7b3d5f0 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
#7 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 5 lines · LihaSika
Quoted 4 lines

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

Quoted 7 lines

Oh right, Thunderbird wrapped the first line of the patch file -.-

Disabled wrapping, another attempt:

---

Sorry, still needs a valid changelog and subject line. read all the errors that my patch-bot sent you.

thanks,

greg k-h

author
#8 lore raw

PATCH 1/1 usb: storage: set 1.50 as the lower bcdDevice compatibility for older "Super Top"-device to work

Quoted 6 lines · Greg KH

Sorry, still needs a valid changelog and subject line. read all the errors that my patch-bot sent you.

thanks,

greg k-h

OK, how about this:

changelog: Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

---

drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..7b3d5f0 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
author
#9 lore raw

PATCH 1/1 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

---

drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..7b3d5f0 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
          "Cypress ISD-300LP",
          USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
          "Super Top",
          "USB 2.0  SATA BRIDGE",
          USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
#10 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 14 lines · LihaSika

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
          "Cypress ISD-300LP",
          USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
          "Super Top",
          "USB 2.0  SATA BRIDGE",
          USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Much better, thanks, the subject and changelog text are great!

But the patch is still corrupted, with tabs turned into spaces, and we can't apply it at all :(

Can you fix that up and resend?

thanks,

greg k-h

author
#11 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 11 lines · Greg KH

Much better, thanks, the subject and changelog text are great!

But the patch is still corrupted, with tabs turned into spaces, and we can't apply it at all :(

Can you fix that up and resend?

thanks,

greg k-h

My apologies for the extra trouble and thank you for your patience 🙏

As a not-totally-noob I should've known better to be more thorough 😔

To be sure, I re-created, rebuilt and re-tested the patch. Thunderbird also had to be told "mailnews.send_plaintext_flowed=false".

I'll send the fixed patch next in a separate mail, hope I got it right now!

Thank you,
Liha

author
#12 lore raw

PATCH 1/1 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

In reply to Greg KH

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

---

drivers/usb/storage/unusual_cypress.h +1 -1
index 0547daf..5df4075 100644
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
 		"Cypress ISD-300LP",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
 		"Super Top",
 		"USB 2.0  SATA BRIDGE",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
#13 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 3 lines · LihaSika

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

What about below description?

```
Some old USB hard drives using Super Top USB 2.0 SATA bridge have lower
minimum bcdDevice value than currently allowed (1.60). Such devices
cannot be used by ums-cypress driver since their bcdDevice is out of range.

Lower minimum bcdDevice to fix that. 
```
Quoted 3 lines

Is your intended author name in your From: header or Signed-off-by: trailer?

Also, don't forget to add Fixes: tag; that is:

Fixes a9c143c82608 ("usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB")

When above reviews are addressed, resend as v2. Make sure that the patch subject begins with [PATCH v2].

Quoted 8 lines

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..5df4075 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
 		"Cypress ISD-300LP",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
 		"Super Top",
 		"USB 2.0  SATA BRIDGE",
 		USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

The diff itself is LGTM.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#14 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 19 lines · Bagas Sanjaya
Quoted 3 lines · LihaSika

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

What about below description?

```
Some old USB hard drives using Super Top USB 2.0 SATA bridge have lower
minimum bcdDevice value than currently allowed (1.60). Such devices
cannot be used by ums-cypress driver since their bcdDevice is out of range.

Lower minimum bcdDevice to fix that. 
```
Quoted 3 lines
Quoted 8 lines

Is your intended author name in your From: header or Signed-off-by: trailer?

Also, don't forget to add Fixes: tag; that is:

Fixes a9c143c82608 ("usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB")

When above reviews are addressed, resend as v2. Make sure that the patch subject begins with [PATCH v2].

There's no need, I can take this as-is, thanks.

greg k-h

#15 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 22 lines · Greg Kroah-Hartman
Quoted 21 lines · Bagas Sanjaya
Quoted 3 lines · LihaSika

Change lower bcdDevice value for "Super Top USB 2.0 SATA BRIDGE" to match 1.50. I have such an older device with bcdDevice=1.50 and it will not work otherwise.

What about below description?

```
Some old USB hard drives using Super Top USB 2.0 SATA bridge have lower
minimum bcdDevice value than currently allowed (1.60). Such devices
cannot be used by ums-cypress driver since their bcdDevice is out of range.

Lower minimum bcdDevice to fix that. 
```
Quoted 3 lines

Is your intended author name in your From: header or Signed-off-by: trailer?

Quoted 9 lines
Quoted 6 lines

Also, don't forget to add Fixes: tag; that is:

Fixes a9c143c82608 ("usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB")

When above reviews are addressed, resend as v2. Make sure that the patch subject begins with [PATCH v2].

There's no need, I can take this as-is, thanks.

OK, thanks!

Signature · 1 line
An old man doll... just what I always wanted! - Clara
author
#16 lore raw

Re: [PATCH] usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility

Quoted 7 lines · Bagas Sanjaya
Quoted 3 lines · Greg Kroah-Hartman

There's no need, I can take this as-is, thanks.

OK, thanks!

Thank you all 🙏

I will use git mail if I ever have any more to contribute in the future, thanks for all the advice 👍

Have a nice weekend!

BR,
Liha

#17 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

In reply to LihaSika
Quoted 21 lines · LihaSika
Quoted 4 lines

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

Oh right, Thunderbird wrapped the first line of the patch file -.-

Disabled wrapping, another attempt:

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi,

You have to use git-send-email(1) for the purpose of sending patches instead. Please see Documentation/process/email-clients.rst in the kernel sources for more information. And don't forget to address reviews from Greg's bot.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer
#18 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 33 lines · Bagas Sanjaya
Quoted 21 lines · LihaSika
Quoted 4 lines

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

Oh right, Thunderbird wrapped the first line of the patch file -.-

Disabled wrapping, another attempt:

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi,

Quoted 4 lines

You have to use git-send-email(1) for the purpose of sending patches instead. Please see Documentation/process/email-clients.rst in the kernel sources for more information. And don't forget to address reviews from Greg's bot.

You don't have to use git send-email, that's not required at all, it's just there to make things easier for some people.

thanks,

greg k-h

#19 lore raw

Re: [PATCH] set 1.50 as the lower bcdDevice value for "Super Top"-device in drivers/usb/storage/unusual_cypress.h

Quoted 34 lines · Greg KH
Quoted 33 lines · Bagas Sanjaya
Quoted 21 lines · LihaSika
Quoted 4 lines

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.) and can not be applied. Please read the file, Documentation/process/email-clients.rst in order to fix this.

Oh right, Thunderbird wrapped the first line of the patch file -.-

Disabled wrapping, another attempt:

---

drivers/usb/storage/unusual_cypress.h +0 -0
index 0547daf..7b3d5f0 100644

drivers/usb/storage/unusual_cypress.h UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, · line 25

Quoted 8 lines
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV(  0x04b4, 0x6831, 0x0000, 0x9999,
         "Cypress ISD-300LP",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
 
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0160, 0x0160,
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0150, 0x0160,
         "Super Top",
         "USB 2.0  SATA BRIDGE",
         USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),

Hi,

Quoted 8 lines
Quoted 4 lines

You have to use git-send-email(1) for the purpose of sending patches instead. Please see Documentation/process/email-clients.rst in the kernel sources for more information. And don't forget to address reviews from Greg's bot.

You don't have to use git send-email, that's not required at all, it's just there to make things easier for some people.

Thanks for the tip.

IMO, this is the submitter's first patch submission where he had to set up appropriate tooling.

Signature · 1 line
An old man doll... just what I always wanted! - Clara