]> www.infradead.org Git - nvme.git/commit
RISC-V: hwprobe: sort EXT_KEY()s in hwprobe_isa_ext0() alphabetically
authorConor Dooley <conor.dooley@microchip.com>
Wed, 17 Jul 2024 08:54:38 +0000 (09:54 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 22 Jul 2024 17:57:41 +0000 (10:57 -0700)
commit3d8d459c8ba282a67df3b518c5f80bcb217a5b38
tree99553483fe7d63ad4ef307228342baf2d111a649
parent6a4aa4c94ba161bc0ffa73169ef5f33d0ae673d6
RISC-V: hwprobe: sort EXT_KEY()s in hwprobe_isa_ext0() alphabetically

Currently the entries appear to be in a random order (although according
to Palmer he has tried to sort them by key value) which makes it harder
to find entries in a growing list, and more likely to have conflicts as
all patches are adding to the end of the list. Sort them alphabetically
instead.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20240717-dedicate-squeamish-7e4ab54df58f@spud
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/sys_hwprobe.c