diff options
| author | Jakob Koschel <jakobkoschel@gmail.com> | 2022-02-28 15:26:26 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-03-07 17:21:53 +0100 |
| commit | 9f1f4b642451d35667a4dc6a9c0a89d954b530a3 (patch) | |
| tree | d3b55f316a0abf915711d440843e88ca8f7d5099 /tools/perf/scripts/python | |
| parent | media: MAINTAINERS: update rksip1 maintainers info (diff) | |
| download | linux-9f1f4b642451d35667a4dc6a9c0a89d954b530a3.tar.gz linux-9f1f4b642451d35667a4dc6a9c0a89d954b530a3.zip | |
media: saa7134: fix incorrect use to determine if list is empty
'dev' will *always* be set by list_for_each_entry().
It is incorrect to assume that the iterator value will be NULL if the
list is empty.
Instead of checking the pointer it should be checked if
the list is empty.
Fixes: 79dd0c69f05f ("V4L: 925: saa7134 alsa is now a standalone module")
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
