Message ID | 20250220111606.138045-1-jirislaby@kernel.org |
---|---|
Headers | show |
Series | tty: cleanup no. 99 | expand |
On Thu, Feb 20, 2025 at 12:15:37PM +0100, Jiri Slaby (SUSE) wrote: > Hi, > > this is (again) a series of cleanup in tty. I am trying to rework > tty+serial to avoid limitations of devices (so called NR_UART or > tty_alloc_driver()'s first parameter). And the below popped up while > crawling through the code. So this is only a prep cleanup. > > * many tty flags are now enums > * many functions were improved for readability > * quite a few unused or old code dropped > > In particular, the runtime behaviour of the kernel before and after the > changes is supposed to be bug to bug compatible (except moxa's ioctl > and ISA evils dropped). That is, noone should notice. Were you going to do a new respin of this, or do you want me to take this as-is and you will send a follow-up ones for the commented-on changes? thanks, greg k-h
On 17. 03. 25, 5:28, Greg KH wrote: > On Thu, Feb 20, 2025 at 12:15:37PM +0100, Jiri Slaby (SUSE) wrote: >> Hi, >> >> this is (again) a series of cleanup in tty. I am trying to rework >> tty+serial to avoid limitations of devices (so called NR_UART or >> tty_alloc_driver()'s first parameter). And the below popped up while >> crawling through the code. So this is only a prep cleanup. >> >> * many tty flags are now enums >> * many functions were improved for readability >> * quite a few unused or old code dropped >> >> In particular, the runtime behaviour of the kernel before and after the >> changes is supposed to be bug to bug compatible (except moxa's ioctl >> and ISA evils dropped). That is, noone should notice. > > Were you going to do a new respin of this, or do you want me to take > this as-is and you will send a follow-up ones for the commented-on > changes? I planned to send a v2 on Fri, but did not make it. I will today. thanks,
On Mon, Mar 17, 2025 at 05:59:01AM +0100, Jiri Slaby wrote: > On 17. 03. 25, 5:28, Greg KH wrote: > > On Thu, Feb 20, 2025 at 12:15:37PM +0100, Jiri Slaby (SUSE) wrote: > > > Hi, > > > > > > this is (again) a series of cleanup in tty. I am trying to rework > > > tty+serial to avoid limitations of devices (so called NR_UART or > > > tty_alloc_driver()'s first parameter). And the below popped up while > > > crawling through the code. So this is only a prep cleanup. > > > > > > * many tty flags are now enums > > > * many functions were improved for readability > > > * quite a few unused or old code dropped > > > > > > In particular, the runtime behaviour of the kernel before and after the > > > changes is supposed to be bug to bug compatible (except moxa's ioctl > > > and ISA evils dropped). That is, noone should notice. > > > > Were you going to do a new respin of this, or do you want me to take > > this as-is and you will send a follow-up ones for the commented-on > > changes? > > I planned to send a v2 on Fri, but did not make it. I will today. Not a problem, just wanted to make sure I didn't drop these on my side accidentally. thanks, greg k-h