diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-06 16:26:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 20:34:51 +0100 |
commit | 458f77a499b6a9a9d511520888d4cfabc53c25d1 (patch) | |
tree | 927a02b9a66a2b57953b79ba4b57347b702c3a01 /lib/raid6 | |
parent | 4ee6af20c2e11232bbd0a586c0130e944b3b3d26 (diff) | |
download | linux-stable-458f77a499b6a9a9d511520888d4cfabc53c25d1.tar.gz linux-stable-458f77a499b6a9a9d511520888d4cfabc53c25d1.tar.bz2 linux-stable-458f77a499b6a9a9d511520888d4cfabc53c25d1.zip |
lib: raid6: fix awk build warnings
commit 702600eef73033ddd4eafcefcbb6560f3e3a90f7 upstream.
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 700c1018b86d ("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.
Link: https://lore.kernel.org/r/20191206152600.GA75093@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/raid6')
-rw-r--r-- | lib/raid6/unroll.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/unroll.awk b/lib/raid6/unroll.awk index c6aa03631df8..0809805a7e23 100644 --- a/lib/raid6/unroll.awk +++ b/lib/raid6/unroll.awk @@ -13,7 +13,7 @@ BEGIN { for (i = 0; i < rep; ++i) { tmp = $0 gsub(/\$\$/, i, tmp) - gsub(/\$\#/, n, tmp) + gsub(/\$#/, n, tmp) gsub(/\$\*/, "$", tmp) print tmp } |