[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <013fa54eeb505b6a7080c6d4ccc3a445@208suo.com>
Date: Wed, 19 Jul 2023 17:31:51 +0800
From: hanyu001@...suo.com
To: kvalo@...nel.org
Cc: libertas-dev@...ts.infradead.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] libertas: debugfs: Added missing spaces
Fixes the following checkpatch errors:
./drivers/net/wireless/marvell/libertas/debugfs.c:712: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:712: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:723: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:723: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:734: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:734: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:754: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:754: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:754: ERROR: space
required before the open parenthesis '('
./drivers/net/wireless/marvell/libertas/debugfs.c:759: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:759: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:759: ERROR: space
required before the open parenthesis '('
./drivers/net/wireless/marvell/libertas/debugfs.c:766: ERROR: spaces
required around that '=' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:766: ERROR: spaces
required around that '<' (ctx:VxV)
./drivers/net/wireless/marvell/libertas/debugfs.c:766: ERROR: space
required before the open parenthesis '('
Signed-off-by: Yu Han <hanyu001@...suo.com>
---
drivers/net/wireless/marvell/libertas/debugfs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/wireless/marvell/libertas/debugfs.c
b/drivers/net/wireless/marvell/libertas/debugfs.c
index c604613..8939bf4 100644
--- a/drivers/net/wireless/marvell/libertas/debugfs.c
+++ b/drivers/net/wireless/marvell/libertas/debugfs.c
@@ -709,7 +709,7 @@ void lbs_debugfs_init_one(struct lbs_private *priv,
struct net_device *dev)
priv->debugfs_dir = debugfs_create_dir(dev->name, lbs_dir);
- for (i=0; i<ARRAY_SIZE(debugfs_files); i++) {
+ for (i = 0; i < ARRAY_SIZE(debugfs_files); i++) {
files = &debugfs_files[i];
priv->debugfs_files[i] = debugfs_create_file(files->name,
files->perm,
@@ -720,7 +720,7 @@ void lbs_debugfs_init_one(struct lbs_private *priv,
struct net_device *dev)
priv->events_dir = debugfs_create_dir("subscribed_events",
priv->debugfs_dir);
- for (i=0; i<ARRAY_SIZE(debugfs_events_files); i++) {
+ for (i = 0; i < ARRAY_SIZE(debugfs_events_files); i++) {
files = &debugfs_events_files[i];
priv->debugfs_events_files[i] =
debugfs_create_file(files->name,
files->perm,
@@ -731,7 +731,7 @@ void lbs_debugfs_init_one(struct lbs_private *priv,
struct net_device *dev)
priv->regs_dir = debugfs_create_dir("registers",
priv->debugfs_dir);
- for (i=0; i<ARRAY_SIZE(debugfs_regs_files); i++) {
+ for (i = 0; i < ARRAY_SIZE(debugfs_regs_files); i++) {
files = &debugfs_regs_files[i];
priv->debugfs_regs_files[i] = debugfs_create_file(files->name,
files->perm,
@@ -751,19 +751,19 @@ void lbs_debugfs_remove_one(struct lbs_private
*priv)
{
int i;
- for(i=0; i<ARRAY_SIZE(debugfs_regs_files); i++)
+ for (i = 0; i < ARRAY_SIZE(debugfs_regs_files); i++)
debugfs_remove(priv->debugfs_regs_files[i]);
debugfs_remove(priv->regs_dir);
- for(i=0; i<ARRAY_SIZE(debugfs_events_files); i++)
+ for (i = 0; i < ARRAY_SIZE(debugfs_events_files); i++)
debugfs_remove(priv->debugfs_events_files[i]);
debugfs_remove(priv->events_dir);
#ifdef PROC_DEBUG
debugfs_remove(priv->debugfs_debug);
#endif
- for(i=0; i<ARRAY_SIZE(debugfs_files); i++)
+ for (i = 0; i < ARRAY_SIZE(debugfs_files); i++)
debugfs_remove(priv->debugfs_files[i]);
debugfs_remove(priv->debugfs_dir);
}
Powered by blists - more mailing lists