diff options
| author | Tom Rix <trix@redhat.com> | 2022-03-03 12:19:43 -0800 |
|---|---|---|
| committer | Robert Foss <robert.foss@linaro.org> | 2022-03-09 14:45:58 +0100 |
| commit | d583e752732421b26fef0d65020565f3bef12248 (patch) | |
| tree | a6f4004b6e9a1c6c56b19dfcd54b26c0913e1ab0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4404cdb59b336279b7dcb40c5ef01dbcdbebc941 (diff) | |
| download | linux-d583e752732421b26fef0d65020565f3bef12248.tar.gz linux-d583e752732421b26fef0d65020565f3bef12248.zip | |
drm/bridge: anx7625: check the return on anx7625_aux_trans
Clang static analysis reports this issue
anx7625.c:876:13: warning: The left operand of '&' is
a garbage value
if (!(bcap & 0xOA01)) {
~~~~ ^
bcap is only set by a successful call to
anx7625_aux_trans(). So check.
Fixes: cd1637c7e480 ("drm/bridge: anx7625: add HDCP support")
Signed-off-by: Tom Rix <trix@redhat.com>
Fixes: adca62ec370c ("drm/bridge: anx7625: Support reading edid through aux channel")
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303201943.501746-1-trix@redhat.com
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
