# Re: \[PATCH\] udlfb: Make dlfb\_ops constant

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2019-08-19 14:10:39 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2019/08/9167297
- Thread: https://ratatoskr.run/linux-fbdev/2019/08/9167284/t.md

```text

On 8/19/19 9:52 AM, Nishka Dasgupta wrote:
> Static structure dlfb_ops, of type fb_ops, is not used except to be
> copied into another variable. Hence make dlfb_ops constant to protect it
> from unintended modification.
> Issue found with Coccinelle.
> 
> Signed-off-by: Nishka Dasgupta <redacted>
Patch queued for v5.4, thanks.

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