aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLv Ruyi <[email protected]>2022-03-29 10:40:04 +0000
committerSteven Rostedt (Google) <[email protected]>2022-04-02 12:40:09 +0000
commitbed5b60bf67ccd8957b8c0558fead30c4a3f5d3f (patch)
treec446bf231deeaa6a80c29fe4fe3dbfbe0ab37090 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenttracing: Rename the staging files for trace_events (diff)
downloadkernel-bed5b60bf67ccd8957b8c0558fead30c4a3f5d3f.tar.gz
kernel-bed5b60bf67ccd8957b8c0558fead30c4a3f5d3f.zip
proc: bootconfig: Add null pointer check
kzalloc is a memory allocation function which can return NULL when some internal memory errors happen. It is safer to add null pointer check. Link: https://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: c1a3c36017d4 ("proc: bootconfig: Add /proc/bootconfig to show boot config list") Acked-by: Masami Hiramatsu <[email protected]> Reported-by: Zeal Robot <[email protected]> Signed-off-by: Lv Ruyi <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions