Skip to contentSkip to conversation

Staging: lustre: Fix line over 80 characters.

PATCH In review Dilek Uzulmez 2 participants 2 messages Mar 1, 2015 – Mar 2, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: Fix line over 80 characters.

Fix checkpatch.pl issues with line over 80 characters in libcfs_kernelcomm.h

---
 drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +2 -1
index a989d26..e680399 100644
@@ -44,7 +44,8 @@
 #define __LIBCFS_KERNELCOMM_H__
 
 #ifndef __LIBCFS_LIBCFS_H__
-#error Do not #include this file directly. #include <linux/libcfs/libcfs.h> instead
+#error Do not #include this file directly.
+#include <linux/libcfs/libcfs.h> instead
 #endif
 
 /* KUC message header.
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 12 lines · Dilek Uzulmez

Fix checkpatch.pl issues with line over 80 characters in libcfs_kernelcomm.h

---
 drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +0 -0
index a989d26..e680399 100644

drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h line 48

Quoted 6 lines
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +2 -1
@@ -44,7 +44,8 @@
 #define __LIBCFS_KERNELCOMM_H__
 
 #ifndef __LIBCFS_LIBCFS_H__
-#error Do not #include this file directly. #include <linux/libcfs/libcfs.h> instead
+#error Do not #include this file directly.
+#include <linux/libcfs/libcfs.h> instead

Hm, that doesn't do what you think it does...