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>
This commit is contained in:
parent
2d2d5b861a
commit
dc88057f36
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user