[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190403004853.10194-1-hildogjr@gmail.com>
Date: Tue, 2 Apr 2019 17:48:53 -0700
From: Hildo Guillardi Júnior <hildogjr@...il.com>
To: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, hildogjr@...il.com,
lkcamp@...ts.libreplanetbr.org
Subject: [PATCH] Staging: rtl8192e: Fix spaces around "+"
Fix checkpatch error:
CHECK: spaces preferred around that '+' (ctx:VxV)
99: FILE: drivers/staging/rtl8192e/rtllib_module.c:99:
+ memset(ieee, 0, sizeof(struct rtllib_device)+sizeof_priv);
Signed-off-by: Hildo Guillardi Júnior <hildogjr@...il.com>
---
drivers/staging/rtl8192e/rtllib_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c
index cdf4c9060c51..a19b56320f2e 100644
--- a/drivers/staging/rtl8192e/rtllib_module.c
+++ b/drivers/staging/rtl8192e/rtllib_module.c
@@ -96,7 +96,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
return NULL;
}
ieee = (struct rtllib_device *)netdev_priv_rsl(dev);
- memset(ieee, 0, sizeof(struct rtllib_device)+sizeof_priv);
+ memset(ieee, 0, sizeof(struct rtllib_device) + sizeof_priv);
ieee->dev = dev;
err = rtllib_networks_allocate(ieee);
--
2.17.1
Powered by blists - more mailing lists