Re: [PATCH] Staging: anrdroid: sync.c: fixed all checkpatch warnings

From: Dan Carpenter
Date: Thu Jun 06 2013 - 02:06:48 EST


On Wed, Jun 05, 2013 at 11:45:59PM +0300, Aldo Iljazi wrote:
> Specifically fixed:
> sync.c:128: WARNING: braces {} are not necessary for single statement blocks
> sync.c:879: WARNING: Prefer seq_puts to seq_printf
> sync.c:883: WARNING: Prefer seq_puts to seq_printf
> sync.c:898: WARNING: Prefer seq_puts to seq_printf
> sync.c:902: WARNING: Prefer seq_puts to seq_printf
> sync.c:943: WARNING: Prefer seq_puts to seq_printf
> sync.c:952: WARNING: Prefer seq_puts to seq_printf
> sync.c:956: WARNING: Prefer seq_puts to seq_printf
> sync.c:964: WARNING: Prefer seq_puts to seq_printf
> total: 9 warnings,
>

This breaks the build and it doesn't apply to linux-next. Please
be more careful in the future.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/