lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181002.222304.276597319093873023.davem@davemloft.net>
Date:   Tue, 02 Oct 2018 22:23:04 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     ben.dooks@...ethink.co.uk
Cc:     netdev@...r.kernel.org, linux-kernel@...ts.codethink.co.uk,
        oneukum@...e.com, linux-usb@...r.kernel.org,
        linux-kernel@...r.kernel.org, ben-linux@...ff.org
Subject: Re: [PATCH] net: usbnet: make driver_info const

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

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

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ