diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-06-21 12:41:21 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 16:23:56 +0300 |
commit | 2bbc46e811f0d40ed92ff9c104fce6618049f726 (patch) | |
tree | 3160d1950bda146e8af3e81ea2b787d05f347834 /block/blk-timeout.c | |
parent | 41cb1c739dcddf9905a5a3e3da9429b89cd5c616 (diff) | |
download | linux-2bbc46e811f0d40ed92ff9c104fce6618049f726.tar.xz |
media: v4l-common: Make v4l2_find_nearest_size more sparse-friendly
This sparse warning is emitted by using v4l2_find_nearest_size in some
cases. Fix it in the framework.
>> drivers/media/i2c/ov5640.c:1394:14: sparse: incorrect type in assignment
+(different base types) @@ expected struct ov5640_mode_info const *mode @@
+got ststruct ov5640_mode_info const *mode @@
drivers/media/i2c/ov5640.c:1394:14: expected struct ov5640_mode_info const
+*mode
drivers/media/i2c/ov5640.c:1394:14: got struct ov5640_mode_info const ( *<
+noident> )[9]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions