diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-04-26 12:24:18 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-04-26 12:24:18 +0200 |
commit | 965bef6483e2bab20cd959d014f83b48da70e71c (patch) | |
tree | 493a72607af98a1931e3cf9b4a8afde0c8a4c239 /drivers/video/fbdev/sm501fb.c | |
parent | e0e894f5941871a08cddeda0ad6996c82613d0a7 (diff) |
video: fbdev-MMP: Improve a size determination in path_init()
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/sm501fb.c')
0 files changed, 0 insertions, 0 deletions