diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-11-10 11:10:51 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-17 09:13:27 +0300 |
| commit | 23ffa0399c693246a7442b98d71265e92e827912 (patch) | |
| tree | 37d9faadddca426b7e67f549ccba4409c9dffb6c /scripts/objdiff | |
| parent | 88c660840c7c78e7a041a88cb33492258b8dae73 (diff) | |
| download | linux-23ffa0399c693246a7442b98d71265e92e827912.tar.xz | |
media: saa7134: improve f->fmt.win.clips NULL check
Fix this smatch error:
saa7134-video.c:1286 saa7134_g_fmt_vid_overlay() error: we previously assumed 'f->fmt.win.clips' could be null (see line 1279)
This is actually a false error since if f->fmt.win.clips is NULL, clipcount
will be set to 0, so the clips array won't be touched, but it doesn't hurt
to make this explicit in the code.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
