lkml.org 
[lkml]   [2010]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 21/39] drivers/staging: Update WARN uses
Date
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");

allocator = kmalloc(sizeof(*allocator), GFP_KERNEL);

diff --git a/drivers/staging/solo6x10/solo6010-v4l2-enc.c b/drivers/staging/solo6x10/solo6010-v4l2-enc.c
index bbf3d9c..f73567d 100644
--- a/drivers/staging/solo6x10/solo6010-v4l2-enc.c
+++ b/drivers/staging/solo6x10/solo6010-v4l2-enc.c
@@ -184,7 +184,7 @@ static void solo_update_mode(struct solo_enc_dev *solo_enc)
solo_enc->bw_weight <<= 2;
break;
default:
- WARN(1, "mode is unknown");
+ WARN(1, "mode is unknown\n");
}
}

--
1.7.3.1.g432b3.dirty


\
 
 \ /
  Last update: 2010-10-30 23:17    [W:0.196 / U:5.480 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site