All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: wilc1000: No space is necessary after a cast
@ 2017-09-23 17:07 Keerthi Reddy
  2017-09-23 17:27 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Keerthi Reddy @ 2017-09-23 17:07 UTC (permalink / raw)
  To: outreachy-kernel, johnny.kim

A space after type casting is not needed. All the other typecasts
in this file don't put space after typecast. so remove space
after typecast at this line.

checked with checkpatch.pl script

Signed-off-by: Keerthi Reddy <keerthigd4990@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 ac5aaaf..36dc2a0 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1617,7 +1617,7 @@ static int mgmt_tx(struct wiphy *wiphy,
 
 	*cookie = (unsigned long)buf;
 	priv->u64tx_cookie = *cookie;
-	mgmt = (const struct ieee80211_mgmt *) buf;
+	mgmt = (const struct ieee80211_mgmt *)buf;
 
 	if (ieee80211_is_mgmt(mgmt->frame_control)) {
 		mgmt_tx = kmalloc(sizeof(struct p2p_mgmt_data), GFP_KERNEL);
-- 
2.7.4



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

* Re: [Outreachy kernel] [PATCH] staging: wilc1000: No space is necessary after a cast
  2017-09-23 17:07 [PATCH] staging: wilc1000: No space is necessary after a cast Keerthi Reddy
@ 2017-09-23 17:27 ` Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2017-09-23 17:27 UTC (permalink / raw)
  To: Keerthi Reddy; +Cc: outreachy-kernel, johnny.kim



On Sat, 23 Sep 2017, Keerthi Reddy wrote:

> A space after type casting is not needed. All the other typecasts
> in this file don't put space after typecast. so remove space
> after typecast at this line.
>
> checked with checkpatch.pl script
>
> Signed-off-by: Keerthi Reddy <keerthigd4990@gmail.com>

Acked-by: Julia Lawall <julia.lawall@lip6.fr>

> ---
>  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 ac5aaaf..36dc2a0 100644
> --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> @@ -1617,7 +1617,7 @@ static int mgmt_tx(struct wiphy *wiphy,
>
>  	*cookie = (unsigned long)buf;
>  	priv->u64tx_cookie = *cookie;
> -	mgmt = (const struct ieee80211_mgmt *) buf;
> +	mgmt = (const struct ieee80211_mgmt *)buf;
>
>  	if (ieee80211_is_mgmt(mgmt->frame_control)) {
>  		mgmt_tx = kmalloc(sizeof(struct p2p_mgmt_data), GFP_KERNEL);
> --
> 2.7.4
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170923170715.GA8329%40manoharreddy.
> For more options, visit https://groups.google.com/d/optout.
>


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

end of thread, other threads:[~2017-09-23 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-23 17:07 [PATCH] staging: wilc1000: No space is necessary after a cast Keerthi Reddy
2017-09-23 17:27 ` [Outreachy kernel] " Julia Lawall

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.