aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2025-02-17 08:45:12 +0000
committerAnup Patel <[email protected]>2025-02-17 10:58:28 +0000
commit351e02b1733b057e33fe13fc03ca93ec799e4f78 (patch)
tree201b281b465f90e0373dd5305a6af9af85baa462 /net/unix/sysctl_net_unix.c
parentriscv: KVM: Fix SBI TIME error generation (diff)
downloadkernel-351e02b1733b057e33fe13fc03ca93ec799e4f78.tar.gz
kernel-351e02b1733b057e33fe13fc03ca93ec799e4f78.zip
riscv: KVM: Fix SBI sleep_type use
The spec says sleep_type is 32 bits wide and "In case the data is defined as 32bit wide, higher privilege software must ensure that it only uses 32 bit data." Mask off upper bits of sleep_type before using it. Fixes: 023c15151fbb ("RISC-V: KVM: Add SBI system suspend support") Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions