diff options
| author | Stefan Agner <[email protected]> | 2018-06-17 08:48:22 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2018-06-17 10:25:27 +0000 |
| commit | 9fcf2b3c1c0276650fea537c71b513d27d929b05 (patch) | |
| tree | 29234af5d76156e2a872279368aedee36b71ff99 /tools/perf/scripts/python/syscall-counts.py | |
| parent | drm/bridge/sii8620: fix HDMI cable connection to dongle (diff) | |
| download | kernel-9fcf2b3c1c0276650fea537c71b513d27d929b05.tar.gz kernel-9fcf2b3c1c0276650fea537c71b513d27d929b05.zip | |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
