projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: detect corruption when non-root leaf has zero item
[cascardo/linux.git]
/
scripts
/
adjust_autoksyms.sh
diff --git
a/scripts/adjust_autoksyms.sh
b/scripts/adjust_autoksyms.sh
index
5bf538f
..
8dc1918
100755
(executable)
--- a/
scripts/adjust_autoksyms.sh
+++ b/
scripts/adjust_autoksyms.sh
@@
-59,7
+59,7
@@
cat > "$new_ksyms_file" << EOT
*/
EOT
-sed -ns -e '3
s/ /\n/gp
' "$MODVERDIR"/*.mod | sort -u |
+sed -ns -e '3
{s/ /\n/g;/^$/!p;}
' "$MODVERDIR"/*.mod | sort -u |
while read sym; do
if [ -n "$CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX" ]; then
sym="${sym#_}"