Re: [PATCH] udlfb: Make dlfb_ops constant

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2019-08-19 14:10:39
Also in
dri-devel
Reply to
Nishka Dasgupta, 2019-08-19
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
Thread (2 messages) 2 messages, 2 authors, last reply 2019-08-19
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