aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorYi Yang <[email protected]>2023-10-19 06:55:37 +0000
committerMiquel Raynal <[email protected]>2023-10-27 17:43:18 +0000
commit74ac5b5e2375f1e8ef797ac7770887e9969f2516 (patch)
tree2935a3bf973fac7ff8d4ba5882e23d6ba306222c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentmtd: rawnand: sh_flctl: Convert to module_platform_driver() (diff)
downloadkernel-74ac5b5e2375f1e8ef797ac7770887e9969f2516.tar.gz
kernel-74ac5b5e2375f1e8ef797ac7770887e9969f2516.zip
mtd: rawnand: intel: check return value of devm_kasprintf()
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: 0b1039f016e8 ("mtd: rawnand: Add NAND controller support on Intel LGM SoC") Signed-off-by: Yi Yang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions