Re: [PATCH] net: usbnet: make driver_info const

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

 



From: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
Date: Mon,  1 Oct 2018 17:02:43 +0100

> From: Ben Dooks <ben-linux@xxxxxxxxx>
> 
> The driver_info field that is used for describing each of the usb-net
> drivers using the usbnet.c core all declare their information as const
> and the usbnet.c itself does not try and modify the struct.
> 
> It is therefore a good idea to make this const in the usbnet.c structure
> in case anyone tries to modify it.
> 
> Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx>
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Applied.



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

  Powered by Linux