]> git.baikalelectronics.ru Git - kernel.git/commit
UAPI: Strip _UAPI prefix on header install no matter the whitespace
authorDavid Howells <dhowells@redhat.com>
Wed, 2 Jan 2013 15:13:02 +0000 (15:13 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Jan 2013 01:36:10 +0000 (17:36 -0800)
commitdd73a408f52dfc9b53b156174d6a95233a0ee07c
tree42ba4b4248c3907d0876097488a5c2b7de53fe92
parent32c792f75375f417aed051ab766c87881b68fe1c
UAPI: Strip _UAPI prefix on header install no matter the whitespace

Commit 1803f64fd935 ("UAPI: strip the _UAPI prefix from header guards
during header installation") strips the _UAPI prefix from header guards,
but only if there's a single space between the cpp directive and the
label.

Make it more flexible and able to handle tabs and multiple white space
characters.

Signed-off-by: David Howells <dhowell@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/headers_install.pl