On Wed, 29 Nov 2023 17:55:33 +0100, Geert Uytterhoeven wrote: > When obtaining one or more optional resets, non-existent resets are > stored as NULL pointers, and all related error and cleanup paths need to > take this into account. > > Currently only reset_control_put() and reset_control_bulk_put() > get this right. All of __reset_control_bulk_get(), > of_reset_control_array_get(), and reset_control_array_put() lack the > proper checking, causing NULL pointer dereferences on failure or > release. > > [...] Applied to reset/fixes, thanks! [1/1] reset: Fix crash when freeing non-existent optional resets https://git.pengutronix.de/cgit/pza/linux/commit/?id=4a6756f56bcf regards Philipp