Re: [PATCH v4 1/6] usb: interface authorization: Declare authorized attribute

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

 



On Thu, 18 Jun 2015, Stefan Koch wrote:

> The attribute authorized shows the authorization state for an interface.
> 
> Signed-off-by: Stefan Koch <skoch@xxxxxxx>
> ---
>  include/linux/usb.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/linux/usb.h b/include/linux/usb.h
> index 447fe29..2a991cb 100644
> --- a/include/linux/usb.h
> +++ b/include/linux/usb.h
> @@ -179,6 +179,8 @@ struct usb_interface {
>  	unsigned needs_binding:1;	/* needs delayed unbind/rebind */
>  	unsigned resetting_device:1;	/* true: bandwidth alloc after reset */
>  

Extra blank line not needed.

> +	unsigned authorized:1; /* used for interface authorization */

Please align the comment with the line above.

> +
>  	struct device dev;		/* interface specific device info */
>  	struct device *usb_dev;
>  	atomic_t pm_usage_cnt;		/* usage counter for autosuspend */

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