Re: [PATCH 2/7] usb: serial: mos7720: don't advertise PARPORT_MODE_PCSPP

Sudip Mukherjee <[email protected]> Tue, 12 Mar 2024 09:53:23 +0000
Newsgroups gmane.linux.usb.general,gmane.linux.parport
Message-ID <CADVatmPE7++_XN9m5jviLd0kKCA3L3GacAFAB8DVgY3j5hxjCA@mail.gmail.com>
On Tue, 12 Mar 2024 at 07:39, Johan Hovold <[email protected]> wrote:
>
> On Mon, Mar 11, 2024 at 11:50:27PM -0600, Alex Henrie wrote:
>
> This one and at least one of the later ones are also missing commit
> messages. Please fix in a v2.

It will be a NACK from me.

This patch and other patches removing PARPORT_MODE_PCSPP will break
userspace code.
On my system, I have:
$ cat /proc/sys/dev/parport/parport0/modes
PCSPP,TRISTATE

If the flag is removed then I will only get "TRISTATE", and if there
is any userspace code which checks for the mode then those
applications will stop working with an error.


-- 
Regards
Sudip