Files
u-boot/drivers
Patrick Delaunay cb08e84d68 gpio: stm32: check result of ofnode_phandle_args
Add test on the size of ofnode_phandle_args result to avoid access
to uninitialized elements in args[] field.

This patch avoids the issue when gpio-ranges cell size is not 3 as
expected, for example:
	gpio-ranges = <&pinctrl 0>;
instead of
	gpio-ranges = <&pinctrl 0 112 16>;

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-10-02 15:05:14 +02:00
..
2020-08-03 22:19:54 -04:00
2020-09-30 11:55:23 -04:00
2020-07-27 14:16:29 +05:30
2020-09-01 14:47:43 +02:00
2020-05-18 21:19:18 -04:00
2020-09-30 08:54:38 +08:00
2020-09-25 11:27:21 +08:00
2020-08-03 22:19:54 -04:00
2020-08-24 14:11:31 -04:00