mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
Add check for the return value of devm_kstrdup() in
loongson2_guts_probe() to catch potential exception.
Fixes: b82621ac84 ("soc: loongson: add GUTS driver for loongson-2 platforms")
Cc: [email protected]
Signed-off-by: Haoxiang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>