[PATCH 7/9] staging: csr: Reformat pointer type casts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reformatted pointer type casts to resolve errors generated
by checkpatch.pl and meet kernel coding standards in
sme_userspace.c

Signed-off-by: Lisa Nguyen <lisa@xxxxxxxxxxxxxxx>
---
 drivers/staging/csr/sme_userspace.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/csr/sme_userspace.c b/drivers/staging/csr/sme_userspace.c
index 8106779..b4f6d67 100644
--- a/drivers/staging/csr/sme_userspace.c
+++ b/drivers/staging/csr/sme_userspace.c
@@ -215,7 +215,7 @@ unifi_ta_indicate_protocol(void *ospriv,
 		CsrWifiRouterCtrlProtocolDirection direction,
 		const CsrWifiMacAddress *src_addr)
 {
-    unifi_priv_t *priv = (unifi_priv_t*)ospriv;
+    unifi_priv_t *priv = (unifi_priv_t *)ospriv;
 
     if (priv->ta_ind_work.in_use) {
 	    unifi_warning(priv,
@@ -261,7 +261,7 @@ unifi_ta_indicate_protocol(void *ospriv,
 void
 unifi_ta_indicate_sampling(void *ospriv, CsrWifiRouterCtrlTrafficStats *stats)
 {
-    unifi_priv_t *priv = (unifi_priv_t*)ospriv;
+    unifi_priv_t *priv = (unifi_priv_t *)ospriv;
 
     if (!priv) {
 	    return;
@@ -304,7 +304,7 @@ unifi_ta_indicate_l4stats(void *ospriv,
 		u32 rxUdpThroughput,
 		u32 txUdpThroughput)
 {
-    unifi_priv_t *priv = (unifi_priv_t*)ospriv;
+    unifi_priv_t *priv = (unifi_priv_t *)ospriv;
 
     if (!priv) {
 	    return;
-- 
1.8.1.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux