diff options
author | Stefan Agner <[email protected]> | 2018-06-17 10:48:22 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-06-17 12:25:27 +0200 |
commit | 9fcf2b3c1c0276650fea537c71b513d27d929b05 (patch) | |
tree | 29234af5d76156e2a872279368aedee36b71ff99 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c7d6d511eb56495f065600c90336da0f0fe1b174 (diff) |
drm/atmel-hlcdc: check stride values in the first plane
The statement always evaluates to true since the struct fields
are arrays. This has shown up as a warning when compiling with
clang:
warning: address of array 'desc->layout.xstride' will always
evaluate to 'true' [-Wpointer-bool-conversion]
Check for values in the first plane instead.
Fixes: 1a396789f65a ("drm: add Atmel HLCDC Display Controller support")
Cc: <[email protected]>
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions