Unverified Commit c6ec1e1b authored by Clément Léger's avatar Clément Léger Committed by Palmer Dabbelt
Browse files

riscv: cpufeature: use bitmap_equal() instead of memcmp()



Comparison of bitmaps should be done using bitmap_equal(), not memcmp(),
use the former one to compare isa bitmaps.

Signed-off-by: default avatarClément Léger <cleger@rivosinc.com>
Fixes: 625034ab ("riscv: add ISA extensions validation callback")
Reviewed-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250210155615.1545738-1-cleger@rivosinc.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent fb8179ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment