Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716503

Re: [PATCH 2/2] video: fbdev: udlfb: constify usb_device_id.

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] video: fbdev: udlfb: constify usb_device_id.
Date 2017-08-21 16:00 +0200
Message-ID <ugVpg-54m-23@gated-at.bofh.it> (permalink)
References <ubnRg-7zP-13@gated-at.bofh.it> <ugVpg-54m-25@gated-at.bofh.it> <ubo0W-7Da-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sunday, August 06, 2017 12:39:28 PM Arvind Yadav wrote:
> 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 <arvind.yadav.cs@gmail.com>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] video: fbdev: udlfb: constify usb_device_id. Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-08-21 16:00 +0200

csiph-web