diff options
| author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-19 13:22:36 +0530 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2019-08-19 15:52:29 +0200 |
| commit | df5eff6d2a44c8f01b0dcd61b0ed5715116e10b4 (patch) | |
| tree | 84b0f45c7f0a902af52e0e8bc7f92f503c611352 /tools/perf/scripts/python/bin | |
| parent | video: fbdev/mmp/core: Use struct_size() in kzalloc() (diff) | |
| download | linux-df5eff6d2a44c8f01b0dcd61b0ed5715116e10b4.tar.gz linux-df5eff6d2a44c8f01b0dcd61b0ed5715116e10b4.zip | |
udlfb: Make dlfb_ops constant
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 <nishkadg.linux@gmail.com>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819075236.1051-1-nishkadg.linux@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
