diff options
| author | James Hogan <[email protected]> | 2016-03-08 16:47:53 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-03-13 09:54:42 +0000 |
| commit | 4b7b1ef2c2f83d702272555e8adb839a50ba0f8e (patch) | |
| tree | 5c45bc4e64ec0d38db6e4e08f0a657e4fb0fb1a8 /net/switchdev/switchdev.c | |
| parent | MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4780 (diff) | |
| download | kernel-4b7b1ef2c2f83d702272555e8adb839a50ba0f8e.tar.gz kernel-4b7b1ef2c2f83d702272555e8adb839a50ba0f8e.zip | |
ld-version: Fix awk regex compile failure
The ld-version.sh script fails on some versions of awk with the
following error, resulting in build failures for MIPS:
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
This is due to the regular expression ".*)", meant to strip off the
beginning of the ld version string up to the close bracket, however
brackets have a meaning in regular expressions, so lets escape it so
that awk doesn't expect a corresponding open bracket.
Fixes: ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion ...")
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: James Hogan <[email protected]>
Tested-by: Michael S. Tsirkin <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Tested-by: Sudip Mukherjee <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected] # 4.4.x-
Patchwork: https://patchwork.linux-mips.org/patch/12838/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
