]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
lib: raid6: fix awk build warnings
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Dec 2019 15:26:00 +0000 (16:26 +0100)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:39 +0000 (14:22 -0300)
commitfcb89c9fc854f16da9d4e3a9932989816ec1585e
tree9a576dd503d06011852077a2a259b63e681ebddd
parent4b3dd6182543bf7a61a5bfe69a2c8792b440fb8f
lib: raid6: fix awk build warnings

BugLink: https://bugs.launchpad.net/bugs/1857158
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
lib/raid6/unroll.awk