projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c675dea
)
amdkfd: let profile_lock_device return an int other than uint32
author
Zhu Lingshan
<lingshan.zhu@amd.com>
Fri, 14 Aug 2026 06:51:32 +0000
(14:51 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 19 Aug 2026 14:12:01 +0000
(10:12 -0400)
profile_lock_device() may return negive error code,
so the type of the return value should be int,
not uint32
Signed-off-by: Zhu Lingshan <lingshan.zhu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index
309510e
..
6fd1848
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@
-3329,7
+3329,7
@@
static int kfd_ioctl_create_process(struct file *filep, struct kfd_process *p, v
return 0;
}
-static inline
uint32_
t profile_lock_device(struct kfd_process *p,
+static inline
in
t profile_lock_device(struct kfd_process *p,
uint32_t gpu_id, uint32_t op)
{
struct kfd_process_device *pdd;