[PATCH 2/2] Staging: as102_drv.h: prinkt() should include facility level

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

 



As noted by the checkpatch script, printk() should include facility level.

Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxxxxxxx>
---
 drivers/staging/media/as102/as102_drv.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/media/as102/as102_drv.h b/drivers/staging/media/as102/as102_drv.h
index ec63d97..bbe54b4 100644
--- a/drivers/staging/media/as102/as102_drv.h
+++ b/drivers/staging/media/as102/as102_drv.h
@@ -47,8 +47,8 @@ extern int as102_debug;
 	} } while (0)
 
 #ifdef TRACE
-#define ENTER()                 printk(">> enter %s\n", __func__)
-#define LEAVE()                 printk("<< leave %s\n", __func__)
+#define ENTER()                 printk(KERN_INFO ">> enter %s\n", __func__)
+#define LEAVE()                 printk(KERN_INFO "<< leave %s\n", __func__)
 #else
 #define ENTER()
 #define LEAVE()
-- 
1.7.5.4

_______________________________________________
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