Messages in this thread | | | From | Miguel Ojeda <> | Date | Mon, 19 Aug 2019 18:48:03 +0200 | Subject | Re: [PATCH] auxdisplay: ht16k33: Make ht16k33_fb_fix and ht16k33_fb_var constant |
| |
On Mon, Aug 19, 2019 at 9:51 AM Nishka Dasgupta <nishkadg.linux@gmail.com> wrote: > > The static structures ht16k33_fb_fix and ht16k33_fb_var, of types > fb_fix_screeninfo and fb_var_screeninfo respectively, are not used > except to be copied into other variables. Hence make both of them > constant to prevent unintended modification. > Issue found with > Coccinelle.
Thanks Nishka, picking it up.
Cheers, Miguel
| |