Skip to content

Commit 702600e

Browse files
committed
lib: raid6: fix awk build warnings
Newer versions of awk spit out these fun warnings: awk: ../lib/raid6/unroll.awk:16: warning: regexp escape sequence `\#' is not a known regexp operator As commit 700c101 ("x86/insn: Fix awk regexp warnings") showed, it turns out that there are a number of awk strings that do not need to be escaped and newer versions of awk now warn about this. Fix the string up so that no warning is produced. The exact same kernel module gets created before and after this patch, showing that it wasn't needed. Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9455d25 commit 702600e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/raid6/unroll.awk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BEGIN {
1313
for (i = 0; i < rep; ++i) {
1414
tmp = $0
1515
gsub(/\$\$/, i, tmp)
16-
gsub(/\$\#/, n, tmp)
16+
gsub(/\$#/, n, tmp)
1717
gsub(/\$\*/, "$", tmp)
1818
print tmp
1919
}

0 commit comments

Comments
 (0)