projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb9090
)
scripts: get_feat.pl: change the group by order
author
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Fri, 4 Dec 2020 15:32:29 +0000
(16:32 +0100)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 4 Dec 2020 21:34:26 +0000
(14:34 -0700)
Right now, arch compatibility is grouped by status at the
alphabetical order from A to Z, and then from a to z, e. g:.
---
TODO
ok
Revert the order, in order to print first the OK results,
then TODO, and, finally, the not compatible ones.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link:
https://lore.kernel.org/r/46d53d138eab8e4a55124323ceb5b212c6eedd08.1607095090.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/get_feat.pl
patch
|
blob
|
history
diff --git
a/scripts/get_feat.pl
b/scripts/get_feat.pl
index 10bf23fbc9c5e06e3b417b31171b689db7d43c59..3f73c8534059c8d9e60e48c03d6b5eec97962bfe 100755
(executable)
--- a/
scripts/get_feat.pl
+++ b/
scripts/get_feat.pl
@@
-397,7
+397,7
@@
sub output_matrix {
my @lines;
my $line = "";
foreach my $arch (sort {
- ($arch_table{$
a} cmp $arch_table{$b
}) or
+ ($arch_table{$
b} cmp $arch_table{$a
}) or
("\L$a" cmp "\L$b")
} keys %arch_table) {