public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] USB: serial: cp210x: Bugfixes and cleanup in CRTSCTS flag code
@ 2016-05-04 21:56 Konstantin Shkolnyy
  2016-05-05 10:00 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Shkolnyy @ 2016-05-04 21:56 UTC (permalink / raw)
  To: johan; +Cc: linux-usb, linux-kernel, Konstantin Shkolnyy

This patch series fixes bugs and replaces magic numbers with symbolic
names in CRTSCTS flag code.

v5:
Fixed 2 compile errors in PATCH 2/3, otherwise no change.
v4:
Same series of patches, fixed names and defines by feedback.
v3:
Regenerated the patches correctly against the latest usb-next branch.
v2
Improved CRTSCTS fix by feedback. Dropped get_termios error handling fix.

Konstantin Shkolnyy (3):
  USB: serial: cp210x: Fixed RTS mode setting by the CRTSCTS flag.
  USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.
  USB: serial: cp210x: Cleaned up CRTSCTS flag code.

 drivers/usb/serial/cp210x.c | 102 ++++++++++++++++++++++++++++++++------------
 1 file changed, 74 insertions(+), 28 deletions(-)

-- 
1.8.4.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v5 0/3] USB: serial: cp210x: Bugfixes and cleanup in CRTSCTS flag code
  2016-05-04 21:56 [PATCH v5 0/3] USB: serial: cp210x: Bugfixes and cleanup in CRTSCTS flag code Konstantin Shkolnyy
@ 2016-05-05 10:00 ` Johan Hovold
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2016-05-05 10:00 UTC (permalink / raw)
  To: Konstantin Shkolnyy; +Cc: johan, linux-usb, linux-kernel

On Wed, May 04, 2016 at 04:56:38PM -0500, Konstantin Shkolnyy wrote:
> This patch series fixes bugs and replaces magic numbers with symbolic
> names in CRTSCTS flag code.
> 
> v5:
> Fixed 2 compile errors in PATCH 2/3, otherwise no change.
> v4:
> Same series of patches, fixed names and defines by feedback.
> v3:
> Regenerated the patches correctly against the latest usb-next branch.
> v2
> Improved CRTSCTS fix by feedback. Dropped get_termios error handling fix.
> 
> Konstantin Shkolnyy (3):
>   USB: serial: cp210x: Fixed RTS mode setting by the CRTSCTS flag.
>   USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.
>   USB: serial: cp210x: Cleaned up CRTSCTS flag code.
> 
>  drivers/usb/serial/cp210x.c | 102 ++++++++++++++++++++++++++++++++------------
>  1 file changed, 74 insertions(+), 28 deletions(-)

Thanks for the v5. All now applied for -next.

I reworded the first commit message slightly and added a stable tag
since it clearly fixes a bug even if it happens to have been around
since 2005 without anyone noticing.

And thanks again for doing this work. The code is indeed much easier to
read now, and provides a good foundation for further improvements.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-05 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 21:56 [PATCH v5 0/3] USB: serial: cp210x: Bugfixes and cleanup in CRTSCTS flag code Konstantin Shkolnyy
2016-05-05 10:00 ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox