aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-12-12 11:57:24 +0200
committerLaurent Pinchart <[email protected]>2016-12-19 11:25:05 +0200
commitd501b12999eb9cdfc488127fabaf794171dd9bbf (patch)
tree4b97a912c76f6ac6d2cf6c62fc82540d8be47f58 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent84e1d4578fe9de486b367cc22a405f4a299ab17c (diff)
drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures
By linking the sizeof to a variable type the code will be less prone to bugs due to future type changes of variables. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions