]> git.baikalelectronics.ru Git - kernel.git/commit
audit: add spaces on either side of case "..." operator.
authorRobert P. J. Day <rpjday@mindspring.com>
Tue, 8 May 2007 07:29:20 +0000 (00:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:09 +0000 (11:15 -0700)
commiteb222b4361eb75a557ca91b862c8e7dcc8891a3b
tree7d64edaeb2a67808742988dea3cccacecc1b17b8
parent4ee89e8eca57d098ce79a4efcce90079be0522a1
audit: add spaces on either side of case "..." operator.

Following the programming advice laid down in the gcc manual, make
sure the case "..." operator has spaces on either side.

According to:

http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Case-Ranges.html#Case-Ranges:

  "Be careful: Write spaces around the ..., for otherwise it may be
parsed wrong when you use it with integer values."

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/audit.c