Skip to content
Commit f752ee5b authored by Chenyuan Yang's avatar Chenyuan Yang Committed by Geert Uytterhoeven
Browse files

pinctrl: renesas: rza2: Fix potential NULL pointer dereference



`chip.label` in rza2_gpio_register() could be NULL.
Add the missing check.

Signed-off-by: default avatarChenyuan Yang <chenyuan0y@gmail.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/20250210232552.1545887-1-chenyuan0y@gmail.com


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent b2bd65fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment