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

From: Maxim Korotkov
Date: Wed Jan 25 2023 - 04:03:29 EST


Dear Linus,
Will this patch be applied or rejected?
best regards, Max

On 18.11.2022 15:52, Tony Lindgren wrote:
* 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>