aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-11-01 17:05:40 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 13:17:22 -0500
commit09db1a462a03a1177a768406451405e4e0dcaf9a (patch)
tree97d400e2ce6212ca717ad3e7cd9bf820cfec8b21 /include/rdma
parentmedia: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code (diff)
downloadlinux-dev-09db1a462a03a1177a768406451405e4e0dcaf9a.tar.xz
linux-dev-09db1a462a03a1177a768406451405e4e0dcaf9a.zip
media: led-class-flash: better handle NULL flash struct
The logic at V4L2 led core assumes that the flash struct can be null. However, it doesn't check for null while trying to set, causing some smatch to warn: drivers/media/v4l2-core/v4l2-flash-led-class.c:210 v4l2_flash_s_ctrl() error: we previously assumed 'fled_cdev' could be null (see line 200) Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions