lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/7] Staging: rtl8192e: Added blank lines before/after struct
Date
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@outlook.com>
---
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
\
 
 \ /
  Last update: 2022-06-28 10:31    [W:0.145 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site