There are two remaining printk() statements on which checkpatch warns that the

KERN_ facility level is missing. Algthough these warnings are false positives,
I have developed a patch to suppress these warnings.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-11-26 19:00:23 +00:00
parent 61c0d1167f
commit 9183709081
+6 -2
View File
@@ -114,10 +114,14 @@
#define TRACE_ALL 0xffffffff
/* Flags 0xXXXX0000 are local for users */
/*
* Note: in the next two printk() statements the KERN_CONT macro is only
* present to suppress a checkpatch warning (KERN_CONT is defined as "").
*/
#define PRINT(log_flag, format, args...) \
printk("%s" format "\n", log_flag, ## args)
printk(KERN_CONT "%s" format "\n", log_flag, ## args)
#define PRINTN(log_flag, format, args...) \
printk("%s" format, log_flag, ## args)
printk(KERN_CONT "%s" format, log_flag, ## args)
#ifdef LOG_PREFIX
#define __LOG_PREFIX LOG_PREFIX