diff options
author | Clément Léger <cleger@rivosinc.com> | 2025-02-10 18:56:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 20:27:14 +0300 |
commit | 80aca44bf5aef32dbec6a3a36b2eb3cf5569ab4c (patch) | |
tree | 4fc4c22b20622074fa6d0d77f3fcdea6370cb35c /scripts/generate_rust_analyzer.py | |
parent | 87ba35b7a35382438c591249e9e824e5a1336075 (diff) | |
download | linux-80aca44bf5aef32dbec6a3a36b2eb3cf5569ab4c.tar.xz |
riscv: cpufeature: use bitmap_equal() instead of memcmp()
commit c6ec1e1b078d8e2ecd075e46db6197a14930a3fc upstream.
Comparison of bitmaps should be done using bitmap_equal(), not memcmp(),
use the former one to compare isa bitmaps.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Fixes: 625034abd52a8c ("riscv: add ISA extensions validation callback")
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250210155615.1545738-1-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions