]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit: Fix decimal constant description
authorMichal Simek <michal.simek@xilinx.com>
Thu, 27 Jun 2013 23:50:50 +0000 (09:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:09 +0000 (16:37 +1000)
commite792cc1c9776725a418fbe838defe74916454c25
tree00d641a08acdebdd96f3c098fd60c7fd71867c51
parent363a2f01ebbb619b1fd29ce6acd8df1810c080a5
audit: Fix decimal constant description

Use proper decimal type for comparison with u32.

Compilation warning was introduced by 780a7654 ("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>
kernel/auditfilter.c