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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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");
 
 	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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux