diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-22 11:41:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-26 14:02:22 -0300 |
commit | cb8045072a34d113e51fcd19cec74359b4e8daa9 (patch) | |
tree | b4a6d1f30da2171e76f1cf385a163fe0e1bfd602 /drivers/media/platform/aspeed-video.c | |
parent | media: remove include stdarg.h from some drivers (diff) | |
download | linux-dev-cb8045072a34d113e51fcd19cec74359b4e8daa9.tar.xz linux-dev-cb8045072a34d113e51fcd19cec74359b4e8daa9.zip |
media: vicodec: make life easier for static analyzers
cppcheck incorrectly produces an error here:
[drivers/media/platform/vicodec/vicodec-core.c:1677]: (error) Pointer addition with NULL pointer.
While this is actually a false positive, it doesn't hurt to
reorder the checks to make the code simpler, handling first
the error patch, where no color or alpha components are there.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/aspeed-video.c')
0 files changed, 0 insertions, 0 deletions