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

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2017-09-04 12:40:38
Also in
linuxppc-dev, lkml
Reply to
Bhumika Goyal, 2017-08-20
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 <redacted>
Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (2 messages) 2 messages, 2 authors, last reply 2017-09-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help