Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: loongson: loongson2_guts: Add check for devm_kstrdup()
Add check for the return value of devm_kstrdup() in loongson2_guts_probe() to catch potential exception. Fixes: b82621a ("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]>
- Loading branch information