Thread (1 message) 1 message, 1 author, 2017-08-25

Re: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id

From: Hin-Tak Leung <hidden>
Date: 2017-08-25 21:05:32
Also in: lkml, netdev

--------------------------------------------
On Tue, 8/8/17, Arvind Yadav [off-list ref] wrote:

 Subject: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id
 To: kvalo@codeaurora.org, herton@canonical.com, htl10@users.sourceforge.net, Larry.Finger@lwfinger.net
 Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org
 Date: Tuesday, 8 August, 2017, 17:04
 
usb_device_id are not supposed to change at
runtime. All functions
working with usb_device_id provided by
<linux/usb.h> work with
const usb_device_id. So mark the
non-const structs as const.
 
Signed-off-by: Arvind Yadav <redacted>
 
Acked-by: htl10@users.sourceforge.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help