summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2024-04-09 17:38:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:35:34 +0300
commitf50519b094ba3df44d8f00678ddde0cab8cde4a7 (patch)
tree532851ad0e75cd9ba601985b7781eb2c287f07f8 /COPYING
parent06f27e6d7bf0abf54488259ef36bbf0e1fccb35c (diff)
downloadlinux-f50519b094ba3df44d8f00678ddde0cab8cde4a7.tar.xz
riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
[ Upstream commit 5ea6764d9095e234b024054f75ebbccc4f0eb146 ] The current definition yields a negative 32bits signed value which result in a mask with is obviously incorrect. Replace it by using a 1ULL bit shift value to obtain a single set bit mask. Fixes: 5dadda5e6a59 ("riscv: hwprobe: export Zvfh[min] ISA extensions") Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20240409143839.558784-1-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions