Re: [PATCH] pinctrl: single: fix potential NULL dereference

From: Tony Lindgren
Date: Fri Nov 18 2022 - 07:52:58 EST


* Maxim Korotkov <korotkov.maxim.s@xxxxxxxxx> [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@xxxxxxxxxxx>