summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2023-04-26 17:13:33 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-04-26 18:58:34 +0300
commitb09313dd2e726fe5e1fa574cd73f5e326c6030a4 (patch)
treee693bc28d2c000ca1e07d6c91444c6b19cabb4e2 /drivers/of
parent08dc107594681040587c23a097cfa678e51f5af2 (diff)
downloadlinux-b09313dd2e726fe5e1fa574cd73f5e326c6030a4.tar.xz
RISC-V: hwprobe: Explicity check for -1 in vdso init
id_bitsmash is unsigned. We need to explicitly check for -1, rather than use > 0. Fixes: aa5af0aa90ba ("RISC-V: Add hwprobe vDSO function and data") Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Evan Green <evan@rivosinc.com> Link: https://lore.kernel.org/r/20230426141333.10063-3-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions