[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YYq2LLHZAX0KpC6A@kroah.com>
Date: Tue, 9 Nov 2021 18:55:56 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Vihas Mak <makvihas@...il.com>
Cc: sudipm.mukherjee@...il.com, arnd@...db.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] char: ppdev: fixed a validation issue
On Tue, Nov 09, 2021 at 11:21:39PM +0530, Vihas Mak wrote:
> > And you didn't answer my question above, what happens if the mode is not
> > set properly today?
>
> It'll throw a ENOSYS if the mode is not set properly and print the following:
>
> pr_debug("%s: Unknown mode 0x%02x\n",
> port->name, port->ieee1284.mode);
Ah, good, so then your change is not needed at all, so why add it?
thanks,
greg k-h
Powered by blists - more mailing lists