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:25:45 +0300 |
commit | a3c5eb88f0babe559425e919a18ebb4f28f45ab1 (patch) | |
tree | 18cce2345854cfc1a05b1c5fb3dd74a708ff42cc /net/lapb/lapb_timer.c | |
parent | 45233962ea51aed6cfb540277e80bfd9c13dc0e6 (diff) | |
download | linux-a3c5eb88f0babe559425e919a18ebb4f28f45ab1.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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions