]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit039b6b3ed84e45a6f8316358dd2bfdc83d59fc45
tree7d64edaeb2a67808742988dea3cccacecc1b17b8
parentb2bbe383ef7e792e92a5f53be955e71bd253ab32
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