diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-04-26 13:24:19 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-04-26 13:24:19 +0300 |
commit | 85d108dee574c038423f573b6ae93d43d12e971e (patch) | |
tree | 40035424a905328bd04c06a274cab57551dce715 /samples | |
parent | 65a4df9f37d7282151f61c7a840ce91fdfe97420 (diff) | |
download | linux-85d108dee574c038423f573b6ae93d43d12e971e.tar.xz |
video: omap: Improve a size determination in omapfb_do_probe()
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>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions