aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorOndrej Jirman <[email protected]>2023-10-10 09:07:44 +0200
committerHans Verkuil <[email protected]>2023-10-11 15:26:16 +0200
commitc46f16f156ac58afcf4addc850bb5dfbca77b9fc (patch)
treee75e918f14ba6178020259be2d3c500da64109c7 /lib/test_fortify/write_overflow-strncpy-src.c
parent1d4c25854aac872e6d3d1dad5dc5eb580d18ac6c (diff)
media: i2c: ov8858: Don't set fwnode in the driver
This makes the driver work with the new check in v4l2_async_register_subdev() that was introduced recently in 6.6-rc1. Without this change, probe fails with: ov8858 1-0036: Detected OV8858 sensor, revision 0xb2 ov8858 1-0036: sub-device fwnode is an endpoint! ov8858 1-0036: v4l2 async register subdev failed ov8858: probe of 1-0036 failed with error -22 This also simplifies the driver a bit. Signed-off-by: Ondrej Jirman <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions