Re: [PATCH] audit: Remove condition which always evaluates to false

2015-03-13 Thread Paul Moore
On Wed, Mar 11, 2015 at 2:08 PM, Pranith Kumar wrote: > After commit 3e1d0bb6224f019893d1c498cc3327559d183674 ("audit: Convert int > limit > uses to u32"), by converting an int to u32, few conditions will always > evaluate > to false. > > These warnings were emitted during compilation: > > kerne

[PATCH] audit: Remove condition which always evaluates to false

2015-03-11 Thread Pranith Kumar
After commit 3e1d0bb6224f019893d1c498cc3327559d183674 ("audit: Convert int limit uses to u32"), by converting an int to u32, few conditions will always evaluate to false. These warnings were emitted during compilation: kernel/audit.c: In function ‘audit_set_enabled’: kernel/audit.c:347:2: warning