summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2025-09-02 13:40:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-09 19:02:39 +0200
commit17c1e414bdf8a2ad124fc1818367a96ef682d4e3 (patch)
treea495bcac71d2347e07ba53121a60642b33d7b2f1 /include/net/aligned_data.h
parente4de48e66af17547727bb2e4b1867952817edff7 (diff)
drm/amd/amdgpu: Fix missing error return on kzalloc failure
[ Upstream commit 467e00b30dfe75c4cfc2197ceef1fddca06adc25 ] Currently the kzalloc failure check just sets reports the failure and sets the variable ret to -ENOMEM, which is not checked later for this specific error. Fix this by just returning -ENOMEM rather than setting ret. Fixes: 4fb930715468 ("drm/amd/amdgpu: remove redundant host to psp cmd buf allocations") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 1ee9d1a0962c13ba5ab7e47d33a80e3b8dc4b52e) Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions