1. 02 10月, 2019 16 次提交
  2. 01 10月, 2019 1 次提交
  3. 27 8月, 2019 1 次提交
    • M
      media: ov9650: add a sanity check · 093347ab
      Mauro Carvalho Chehab 提交于
      As pointed by cppcheck:
      
      	[drivers/media/i2c/ov9650.c:706]: (error) Shifting by a negative value is undefined behaviour
      	[drivers/media/i2c/ov9650.c:707]: (error) Shifting by a negative value is undefined behaviour
      	[drivers/media/i2c/ov9650.c:721]: (error) Shifting by a negative value is undefined behaviour
      
      Prevent mangling with gains with invalid values.
      
      As pointed by Sylvester, this should never happen in practice,
      as min value of V4L2_CID_GAIN control is 16 (gain is always >= 16
      and m is always >= 0), but it is too hard for a static analyzer
      to get this, as the logic with validates control min/max is
      elsewhere inside V4L2 core.
      Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      093347ab
  4. 26 8月, 2019 2 次提交
  5. 19 8月, 2019 1 次提交
  6. 15 8月, 2019 4 次提交
  7. 14 8月, 2019 2 次提交
  8. 13 8月, 2019 11 次提交
  9. 08 8月, 2019 1 次提交
  10. 04 8月, 2019 1 次提交