[PATCH] pinctrl: single: fix potential NULL dereference

Tony Lindgren tony at atomide.com
Fri Nov 18 04:52:49 PST 2022


* Maxim Korotkov <korotkov.maxim.s at gmail.com> [221118 10:33]:
> Added checking of pointer "function" in pcs_set_mux().
> pinmux_generic_get_function() can return NULL and the pointer
> "function" was dereferenced without checking against NULL.

Reviewed-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list