diff options
author | Hildo Guillardi Júnior <hildogjr@gmail.com> | 2019-04-02 17:48:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 11:08:02 +0200 |
commit | dc88057f36eee13cfc0c7a4a45f91e85a83e6ea0 (patch) | |
tree | 3a521e771c99f3f09f886a1d908ebe44c4a33c65 /drivers/staging/rtl8192e/rtllib_module.c | |
parent | 2d2d5b861abbdae2cdb9dfc299f89e292893a3f4 (diff) |
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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_module.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |