lkml.org 
[lkml]   [2010]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 21/39] drivers/staging: Update WARN uses
On Sat, Oct 30, 2010 at 02:08:38PM -0700, Joe Perches wrote:
> Add missing newlines.
>
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> 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


\
 
 \ /
  Last update: 2010-11-10 00:59    [W:0.221 / U:10.960 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site