]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Sort select statements alphanumerically
authorPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 4 Jun 2020 20:55:14 +0000 (13:55 -0700)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 10 Jun 2020 02:11:18 +0000 (19:11 -0700)
commit8a03787741bf4f1a14eeda5b142cd4cb73ed6578
tree06148d4f3a51ada25e974bda2889cbc677bb539d
parent5ca286502259801b74358c2f54a106f7741b0ce3
RISC-V: Sort select statements alphanumerically

Like patch 9512ba3 ("ARM: config: sort select statements alphanumerically")
, we sort all our select statements alphanumerically by using the perl
script in patch 9512ba3 as above.

As suggested by Andrew Morton:

  This is a pet peeve of mine.  Any time there's a long list of items
  (header file inclusions, kconfig entries, array initalisers, etc) and
  someone wants to add a new item, they *always* go and stick it at the
  end of the list.

  Guys, don't do this.  Either put the new item into a randomly-chosen
  position or, probably better, alphanumerically sort the list.

Suggested-by: Zong Li <zong.li@sifive.com>
[Palmer: Re-ran the script, as there were predictably a bunch of conflicts]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig