lkml.org 
[lkml]   [2018]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: usbnet: make driver_info const
From
From: Ben Dooks <ben.dooks@codethink.co.uk>
Date: Mon, 1 Oct 2018 17:02:43 +0100

> From: Ben Dooks <ben-linux@fluff.org>
>
> 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@fluff.org>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Applied.

\
 
 \ /
  Last update: 2018-10-03 07:23    [W:0.058 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site