[PATCH 1/7] Staging: rtl8192e: Added blank lines before/after struct

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

 



This addresses an issue raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: Please use a blank line after function/struct/union/enum
     declarations

The additional blank line above the struct/before the headers is
just cleaner.

Signed-off-by: Felix Schlepper <f3sch.git@xxxxxxxxxxx>
---
 drivers/staging/rtl8192e/rtllib_wx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c
index cf9a240924f2..3b81a3395527 100644
--- a/drivers/staging/rtl8192e/rtllib_wx.c
+++ b/drivers/staging/rtl8192e/rtllib_wx.c
@@ -17,10 +17,12 @@
 #include <linux/module.h>
 #include <linux/etherdevice.h>
 #include "rtllib.h"
+
 struct modes_unit {
 	char *mode_string;
 	int mode_size;
 };
+
 static struct modes_unit rtllib_modes[] = {
 	{"a", 1},
 	{"b", 1},
-- 
2.36.1





[Index of Archives]     [Linux Driver Development]     [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