Re: [PATCH] usb: gadget: u_ether: support configuring interface names.

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

 



Hi,

Lorenzo Colitti <lorenzo@xxxxxxxxxx> writes:
> diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c
> index c019f2b0c0af..6527d169ae7c 100644
> --- a/drivers/usb/gadget/function/u_ether.c
> +++ b/drivers/usb/gadget/function/u_ether.c
> @@ -78,8 +78,9 @@ struct eth_dev {
>  	unsigned long		todo;
>  #define	WORK_RX_MEMORY		0
>  
> -	bool			zlp;
> -	bool			no_skb_reserve;
> +	bool			zlp:1,
> +				no_skb_reserve:1,
> +				ifname_set:1;

let's keep one declaration per line, as it was before. Other than that,
patch looks good.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux