aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorBen Zong-You Xie <[email protected]>2024-03-05 12:05:01 +0000
committerPalmer Dabbelt <[email protected]>2024-04-26 17:21:55 +0000
commit9c49085d69ec8ca4eea254d0f426676232549f84 (patch)
tree9a78ca1aa515af4bb99fab669bc5492eb031cb58 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentselftests: sud_test: return correct emulated syscall value on RISC-V (diff)
downloadkernel-9c49085d69ec8ca4eea254d0f426676232549f84.tar.gz
kernel-9c49085d69ec8ca4eea254d0f426676232549f84.zip
perf riscv: Fix the warning due to the incompatible type
In the 32-bit platform, the second argument of getline is expectd to be 'size_t *'(aka 'unsigned int *'), but line_sz is of type 'unsigned long *'. Therefore, declare line_sz as size_t. Signed-off-by: Ben Zong-You Xie <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions