diff options
| author | Tao Cui <[email protected]> | 2025-09-18 11:44:04 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-09-18 11:44:04 +0000 |
| commit | 51adb03e6b865c0c6790f29659ff52d56742de2e (patch) | |
| tree | 43b8695034fbcf4e4dded8b762e703832c48c766 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled (diff) | |
| download | kernel-51adb03e6b865c0c6790f29659ff52d56742de2e.tar.gz kernel-51adb03e6b865c0c6790f29659ff52d56742de2e.zip | |
LoongArch: Check the return value when creating kobj
Add a check for the return value of kobject_create_and_add(), to ensure
that the kobj allocation succeeds for later use.
Cc: [email protected]
Signed-off-by: Tao Cui <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
