checkpatch: fix perl version 5.12 and earlier incompatibility
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:24:04 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:49 +0000 (15:58 -0700)
commit58cb3cf66cc6330910316abb1dc7a7aa78917a27
tree2be791e7173ebf0b2a629acaaee8009d6c5f7c23
parent1b5539b1ffbdcf7113eebea7f37141d4468d9070
checkpatch: fix perl version 5.12 and earlier incompatibility

A previous patch ("checkpatch: add --types option to report only
specific message types") uses a perl syntax introduced in perl version
5.14.

Use the backward compatible perl syntax instead.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl