aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2024-04-11 09:45:57 +0000
committerChuck Lever <[email protected]>2024-04-11 13:21:06 +0000
commitf488138b526715c6d2568d7329c4477911be4210 (patch)
tree3fb9512b1140887e0ffd5af2d40c5451fb64da88 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentSUNRPC: Fix rpcgss_context trace event acceptor field (diff)
downloadkernel-f488138b526715c6d2568d7329c4477911be4210.tar.gz
kernel-f488138b526715c6d2568d7329c4477911be4210.zip
NFSD: fix endianness issue in nfsd4_encode_fattr4
The nfs4 mount fails with EIO on 64-bit big endian architectures since v6.7. The issue arises from employing a union in the nfsd4_encode_fattr4() function to overlay a 32-bit array with a 64-bit values based bitmap, which does not function as intended. Address the endianness issue by utilizing bitmap_from_arr32() to copy 32-bit attribute masks into a bitmap in an endianness-agnostic manner. Cc: [email protected] Fixes: fce7913b13d0 ("NFSD: Use a bitmask loop to encode FATTR4 results") Link: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2060217 Signed-off-by: Vasily Gorbik <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions