Re: [PATCH] kernel:audit Fixed some coding style errors and warnings.

2014-08-12 Thread Alexey Dobriyan
> - audit_default = !!simple_strtol(str, NULL, 0); > + int rc = kstrtol(str, 0, (long *)&audit_default); obviously broken -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

Re: [PATCH] kernel:audit Fixed some coding style errors and warnings.

2014-08-12 Thread Richard Weinberger
On Tue, Aug 12, 2014 at 12:59 PM, Ionut Alexa wrote: > Fixed coding style errors and warning. Changed 'printk_ratelimit' to > pr__ratelimited. Changed 'simple_strtol' to 'kstrtol'. Please one logical change per patch. Also note that pure whitespaces cleanups are note very helpful. In fact they p

[PATCH] kernel:audit Fixed some coding style errors and warnings.

2014-08-12 Thread Ionut Alexa
Fixed coding style errors and warning. Changed 'printk_ratelimit' to pr__ratelimited. Changed 'simple_strtol' to 'kstrtol'. Signed-off-by: Ionut Alexa --- kernel/audit.c | 63 ++-- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git