All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] staging: wilc1000: fix whitespace checkpatch errors
@ 2016-02-16  8:24 Eva Rachel Retuya
  2016-02-16  8:24 ` [PATCH v3 1/2] staging: wilc1000: remove trailing whitespace Eva Rachel Retuya
  2016-02-16  8:24 ` [PATCH v3 2/2] staging: wilc1000: remove spaces around '->' Eva Rachel Retuya
  0 siblings, 2 replies; 3+ messages in thread
From: Eva Rachel Retuya @ 2016-02-16  8:24 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Eva Rachel Retuya

Address the following checkpatch errors:
* ERROR: trailing whitespace
* ERROR: spaces prohibited around that '->' (ctx:WxV)

Change in v3:
* Further split the whitespace patch per distinct change
Change in v2:
* Split single patch into two separate patches of distinct change

Eva Rachel Retuya (2):
  staging: wilc1000: remove trailing whitespace
  staging: wilc1000: remove spaces around '->'

 drivers/staging/wilc1000/host_interface.c         | 2 +-
 drivers/staging/wilc1000/linux_mon.c              | 2 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1



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

* [PATCH v3 1/2] staging: wilc1000: remove trailing whitespace
  2016-02-16  8:24 [PATCH v3 0/2] staging: wilc1000: fix whitespace checkpatch errors Eva Rachel Retuya
@ 2016-02-16  8:24 ` Eva Rachel Retuya
  2016-02-16  8:24 ` [PATCH v3 2/2] staging: wilc1000: remove spaces around '->' Eva Rachel Retuya
  1 sibling, 0 replies; 3+ messages in thread
From: Eva Rachel Retuya @ 2016-02-16  8:24 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Eva Rachel Retuya

Remove unnecessary whitespaces as pointed out by checkpatch:

ERROR: trailing whitespace

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 2 +-
 drivers/staging/wilc1000/linux_mon.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index d1eedfb..04337c7 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3352,7 +3352,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
 		PRINT_ER("Failed to send association response config packet\n");
 		return -EINVAL;
 	}
-	
+
 	*pu32RcvdAssocRespInfoLen = wid.size;
 	return result;
 }
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index 21f35d7..9fcb497 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -302,7 +302,7 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
 	struct WILC_WFI_mon_priv *priv;
 
 	/*If monitor interface is already initialized, return it*/
-	if (wilc_wfi_mon) 
+	if (wilc_wfi_mon)
 		return wilc_wfi_mon;
 
 	wilc_wfi_mon = alloc_etherdev(sizeof(struct WILC_WFI_mon_priv));
-- 
1.9.1



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

* [PATCH v3 2/2] staging: wilc1000: remove spaces around '->'
  2016-02-16  8:24 [PATCH v3 0/2] staging: wilc1000: fix whitespace checkpatch errors Eva Rachel Retuya
  2016-02-16  8:24 ` [PATCH v3 1/2] staging: wilc1000: remove trailing whitespace Eva Rachel Retuya
@ 2016-02-16  8:24 ` Eva Rachel Retuya
  1 sibling, 0 replies; 3+ messages in thread
From: Eva Rachel Retuya @ 2016-02-16  8:24 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Eva Rachel Retuya

Delete the space around '->' as it is prohibited and breaks the code.
Checkpatch found this issue.

ERROR: spaces prohibited around that '->'

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index d4705b7..5649476 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2126,7 +2126,7 @@ static int start_ap(struct wiphy *wiphy, struct net_device *dev,
 
 	priv = wiphy_priv(wiphy);
 	vif = netdev_priv(dev);
-	wl = vif ->wilc;
+	wl = vif->wilc;
 	PRINT_D(HOSTAPD_DBG, "Starting ap\n");
 
 	PRINT_D(HOSTAPD_DBG, "Interval = %d\n DTIM period = %d\n Head length = %zu Tail length = %zu\n",
-- 
1.9.1



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

end of thread, other threads:[~2016-02-16  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16  8:24 [PATCH v3 0/2] staging: wilc1000: fix whitespace checkpatch errors Eva Rachel Retuya
2016-02-16  8:24 ` [PATCH v3 1/2] staging: wilc1000: remove trailing whitespace Eva Rachel Retuya
2016-02-16  8:24 ` [PATCH v3 2/2] staging: wilc1000: remove spaces around '->' Eva Rachel Retuya

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.