All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: ks7010: Fix Unnecessary parentheses in ks_hostif.c
@ 2018-02-17  7:28 Yash Omer
  2018-02-17 12:12 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Yash Omer @ 2018-02-17  7:28 UTC (permalink / raw)
  To: gregkh; +Cc: devel, florian.c.schilhabel, driverdev-devel, Larry.Finger

This patch fixes up unnecessary parenthesis issue found by checkpatch.pl

Signed-off-by: Yash Omer <yashomer0007@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 975dbbb3abd0..7bd567e233d7 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -850,7 +850,7 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
 		DPRINTK(4, " scan_ind_count=%d :: aplist.size=%d\n",
 			priv->scan_ind_count, priv->aplist.size);
 		get_ap_information(priv, (struct ap_info_t *)(priv->rxp),
-				   &(priv->aplist.ap[priv->scan_ind_count - 1]));
+				   &(priv->aplist.ap priv->scan_ind_count - 1));
 		priv->aplist.size = priv->scan_ind_count;
 	} else {
 		DPRINTK(4, " count over :: scan_ind_count=%d\n",
-- 
2.14.3

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Staging: ks7010: fix unnecessary parentheses in ks_hostif.c
@ 2018-02-17  9:56 Yash Omer
  2018-02-17 11:53 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Yash Omer @ 2018-02-17  9:56 UTC (permalink / raw)
  To: gregkh; +Cc: devel, florian.c.schilhabel, driverdev-devel, linux-kernel

This patch fixes up unncessary parentheses warning found by checkpatch.pl script

Signed-off-by: Yash Omer<yashomer0007@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 7bd567e233d7..36055652842d 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -36,7 +36,7 @@ inline u8 get_BYTE(struct ks_wlan_private *priv)
 {
 	u8 data;
 
-	data = *(priv->rxp)++;
+	data = *priv->rxp++;
 	/* length check in advance ! */
 	--(priv->rx_size);
 	return data;
-- 
2.14.3

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-18 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17  7:28 [PATCH] Staging: ks7010: Fix Unnecessary parentheses in ks_hostif.c Yash Omer
2018-02-17 12:12 ` Greg KH
2018-02-17 12:13 ` Dan Carpenter
2018-02-18 15:28 ` kbuild test robot
2018-02-18 15:51 ` kbuild test robot
2018-02-17  9:56 [PATCH] Staging: ks7010: fix unnecessary " Yash Omer
2018-02-17 11:53 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.