Re: [PATCH 21/39] drivers/staging: Update WARN uses

From: Greg KH
Date: Tue Nov 09 2010 - 18:56:47 EST


On Sat, Oct 30, 2010 at 02:08:38PM -0700, Joe Perches wrote:
> Add missing newlines.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> drivers/staging/memrar/memrar_allocator.c | 2 +-
> drivers/staging/solo6x10/solo6010-v4l2-enc.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/memrar/memrar_allocator.c b/drivers/staging/memrar/memrar_allocator.c
> index a4f8c58..705bde8 100644
> --- a/drivers/staging/memrar/memrar_allocator.c
> +++ b/drivers/staging/memrar/memrar_allocator.c
> @@ -74,7 +74,7 @@ struct memrar_allocator *memrar_create_allocator(unsigned long base,
> * and issue a diagnostic.
> */
> WARN(capacity < block_size * 2,
> - "memrar: Only one block available to allocator.\n");
> + "memrar: Only one block available to allocator\n");

There already is a new line here. So I'll remove this part of the
patch.

thanks,

greg k-h
--
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/