Re: [PATCH RESEND v7 5/7] usb: interface authorization: SysFS part of USB interface authorization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Jul 2015, Stefan Koch wrote:

> This introduces an attribute for each interface to
> authorize (1) or deauthorize (0) it:
> /sys/bus/usb/devices/INTERFACE/authorized
> 
> Signed-off-by: Stefan Koch <skoch@xxxxxxx>
> ---
>  drivers/usb/core/sysfs.c | 39 +++++++++++++++++++++++++++++++++++++--
>  1 file changed, 37 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c
> index d269738..0c15b8e 100644
> --- a/drivers/usb/core/sysfs.c
> +++ b/drivers/usb/core/sysfs.c
> @@ -633,8 +633,6 @@ static ssize_t authorized_show(struct device *dev,
>  
>  /*
>   * Authorize a device to be used in the system
> - *
> - * Writing a 0 deauthorizes the device, writing a 1 authorizes it.
>   */

Why did you leave this change in the patch?  Didn't you see my message 
yesterday saying that this was unrelated to the rest of the patch and 
did not belong here?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux