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


Groups > linux.kernel > #1715345

Re: [PATCH] video: fbdev: add const to bin_attribute structures

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] video: fbdev: add const to bin_attribute structures
Date 2017-08-18 19:50 +0200
Message-ID <ufTzb-6V7-13@gated-at.bofh.it> (permalink)
References <ufTzb-6V7-15@gated-at.bofh.it> <ua5tp-4lS-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, August 02, 2017 10:39:55 PM Bhumika Goyal wrote:
> Add const to bin_attribute structures as they are only passed to the
> functions sysfs_{remove/create}_bin_file or
> device_{remove/create}_bin_file. The corresponding arguments are of
> type const, so declare the structures to be const.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@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] video: fbdev: add const to bin_attribute structures Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-08-18 19:50 +0200

csiph-web