Hi Yi, [email protected] wrote on Thu, 19 Oct 2023 01:30:50 +0000:
> devm_kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure. Ensure the allocation was successful by
> checking the pointer validity.
>
> Fixes: acfe63ec1c59 ("mtd: Convert to using %pOFn instead of
> device_node.name")
> Signed-off-by: Yi Yang <[email protected]>
Please re-read my previous answer and address all comments.
Thanks,
Miquèl
