History

Merge tag 'drm-misc-next-fixes-2021-06-24' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

Short summary of fixes pull: * amdgpu: Fix test for allocation failures Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie committed 5 years ago

Commit 4bac1592 parents b322a50 eed75ce1 file · +1 −1Browse files

Unified · Split

drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c+1−1
@@ -71,7 +71,7 @@ static int amdgpu_preempt_mgr_new(struct ttm_resource_manager *man, · 70 unmodified lines
7171 struct amdgpu_preempt_mgr *mgr = to_preempt_mgr(man);
7272
7373 *res = kzalloc(sizeof(**res), GFP_KERNEL);
74− if (*res)
74+ if (!*res)
7575 return -ENOMEM;
7676
7777 ttm_resource_init(tbo, place, *res);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t