aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <[email protected]>2025-05-19 14:56:57 +0000
committerAndrew Morton <[email protected]>2025-06-06 05:02:22 +0000
commit15ac613f124e51a6623975efad9657b1f3ee47e7 (patch)
treeb2a8dcc0547fb561852e4677d65fe31302041f4a /drivers/gpu/drm/amd/amdgpu/atom.c
parentMerge tag 'bootconfig-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-15ac613f124e51a6623975efad9657b1f3ee47e7.tar.gz
kernel-15ac613f124e51a6623975efad9657b1f3ee47e7.zip
KVM: s390: rename PROT_NONE to PROT_TYPE_DUMMY
The enum type prot_type declared in arch/s390/kvm/gaccess.c declares an unfortunate identifier within it - PROT_NONE. This clashes with the protection bit define from the uapi for mmap() declared in include/uapi/asm-generic/mman-common.h, which is indeed what those casually reading this code would assume this to refer to. This means that any changes which subsequently alter headers in any way which results in the uapi header being imported here will cause build errors. Resolve the issue by renaming PROT_NONE to PROT_TYPE_DUMMY. Link: https://lkml.kernel.org/r/[email protected] Fixes: b3cefd6bf16e ("KVM: s390: Pass initialized arg even if unused") Signed-off-by: Lorenzo Stoakes <[email protected]> Suggested-by: Ignacio Moreno Gonzalez <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Acked-by: Christian Borntraeger <[email protected]> Acked-by: Ignacio Moreno Gonzalez <[email protected]> Acked-by: Yang Shi <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Liam R. Howlett <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Cc: <[email protected]> Cc: Alexander Gordeev <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: James Houghton <[email protected]> Cc: Janosch Frank <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Vasily Gorbik <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions