]> git.baikalelectronics.ru Git - kernel.git/commit
audit: Fix decimal constant description
authorMichal Simek <michal.simek@xilinx.com>
Mon, 8 Jul 2013 22:59:39 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:19 +0000 (10:33 -0700)
commit0c83d96f5f3fc0672a0c8630c155f208202c49c7
treeb40506231e2a17214e8b2daebdd9a61311ec0932
parent999e1a0754e1467cfe45e892d2031d8122606371
audit: Fix decimal constant description

Use proper decimal type for comparison with u32.

Compilation warning was introduced by aa59e878 ("audit: Make testing for
a valid loginuid explicit.")

  kernel/auditfilter.c: In function 'audit_data_to_entry':
  kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
     if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295)) {

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditfilter.c