diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-07 08:07:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-17 14:43:10 -0500 |
commit | daad52c8aa4fcf27d2e8b69daf851d82c141fd2f (patch) | |
tree | bc77bab0bab3f74e3a6efed0823e8cd61973238f /drivers/media/pci/ddbridge | |
parent | e7121ab4056ff3419f981bbf03c1e7db39223149 (diff) | |
download | lwn-daad52c8aa4fcf27d2e8b69daf851d82c141fd2f.tar.gz lwn-daad52c8aa4fcf27d2e8b69daf851d82c141fd2f.zip |
media: drxk_hard: check if parameter is not NULL
There is a smatch warning:
drivers/media/dvb-frontends/drxk_hard.c: drivers/media/dvb-frontends/drxk_hard.c:1478 scu_command() error: we previously assumed 'parameter' could be null (see line 1467)
Telling that parameter might be NULL. Well, it can't, due to the
way the driver works, but it doesn't hurt to add a check, in order
to shut up smatch.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci/ddbridge')
0 files changed, 0 insertions, 0 deletions