linux/drivers/media
Hans Verkuil b925fb423d media: i2c: adp1653: don't reuse the same node pointer
The child device_node pointer was used for two different children.
This confused smatch, causing this warning:

drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?

Use two different pointers, one for each child node, and add separate
goto labels for each node as well. This also improves error logging
since it will now state for which node the property was missing.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[hverkuil: fix typo: childs -> children]
2023-10-12 10:12:54 +02:00
..
cec media: platform: cros-ec: Add Taranza to the match table 2023-10-07 10:55:46 +02:00
common media: use struct_size() helper 2023-09-27 09:40:01 +02:00
dvb-core lib/math: Move dvb_math.c into lib/math/int_log.c 2023-07-09 22:47:48 +01:00
dvb-frontends media: dvb-frontends: drop check because i2c_unregister_device() is NULL safe 2023-10-07 10:55:46 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: adp1653: don't reuse the same node pointer 2023-10-12 10:12:54 +02:00
mc media: mc: Check pad flag validity 2023-10-07 10:55:48 +02:00
mmc
pci media: cobalt: Use FIELD_GET() to extract Link Width 2023-10-07 10:55:45 +02:00
platform media: rkisp1: resizer: Fix resizer disable check when starting stream 2023-10-12 09:46:38 +02:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc media: lirc: drop trailing space from scancode transmit 2023-10-11 16:26:16 +02:00
spi
test-drivers media: vidtv: mux: Add check and kfree for kstrdup 2023-10-07 10:55:45 +02:00
tuners media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
usb media: cx231xx: Add EP5_BUF_SIZE and EP5_TIMEOUT_MS macros 2023-09-27 09:39:55 +02:00
v4l2-core media: v4l: subdev: Print debug information on frame descriptor 2023-10-07 10:55:48 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile