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


Groups > linux.kernel > #1726042

Re: [PATCH] video: fbdev: annotate fb_fix_screeninfo with const and __initconst

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] video: fbdev: annotate fb_fix_screeninfo with const and __initconst
Date 2017-09-04 14:50 +0200
Message-ID <ulYZc-5A3-23@gated-at.bofh.it> (permalink)
References <ulYZc-5A3-25@gated-at.bofh.it> <ugCwh-1yf-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sunday, August 20, 2017 11:14:51 PM Bhumika Goyal wrote:
> Make these const as they are only used during a copy operation.
> Some structures are used as a copy operation inside __init functions, so
> make them const and replace __initdata with __initconst to avoid section
> conflict error.
> 
> 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: annotate fb_fix_screeninfo with const and  __initconst Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-09-04 14:50 +0200

csiph-web