diff options
| author | Kunwu Chan <[email protected]> | 2024-01-11 15:20:18 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-01-16 17:48:27 -0800 |
| commit | 776dac5a662774f07a876b650ba578d0a62d20db (patch) | |
| tree | 1ac93523fc5246c1ecda77a33c870e1ff5af39c2 /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | 03fb8565c880d57952d9b4ba0b36468bae52b554 (diff) | |
net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Fixes: 05bd97fc559d ("net: dsa: Add Vitesse VSC73xx DSA router driver")
Signed-off-by: Kunwu Chan <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions