[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <522eb2bb-95d0-4e2f-a426-9347f14f51cb@vaisala.com>
Date: Fri, 5 Jan 2024 13:56:35 +0200
From: Niko Mauno <niko.mauno@...sala.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Jaaskelainen Vesa VEJ <vesa.jaaskelainen@...sala.com>
Subject: Re: [PATCH] usb: core: Make default authorization mode configurable
On 4.1.2024 18.41, Greg KH wrote:
> On Thu, Jan 04, 2024 at 06:32:03PM +0200, niko.mauno@...sala.com wrote:
...
>> + The available values have the following meanings:
>> + -1 is authorized for all devices (leftover from wireless USB)
>> + 0 is unauthorized for all devices
>> + 1 is authorized for all devices
>
> What's the difference now between -1 and 1? We don't have wireless USB
> anymore as that never turned into an actual product, so we shouldn't
> reference it anymore, right?
>
> We should get rid of the -1 option entirely, but keep the module option
> and properly map it to '1'.
>
>
>> + 2 is authorized for internal devices
>
> Needs a "if you don't know what to select, please choose X" text here.
Thanks, submitted v2 which strives to address also these considerations.
-Niko
Powered by blists - more mailing lists