linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: wlan-ng: parenthesis at end of line fix
@ 2019-09-07 20:57 Sandro Volery
  2019-09-10 11:43 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Sandro Volery @ 2019-09-07 20:57 UTC (permalink / raw)
  To: gregkh, osdevtc, devel, linux-kernel

Fixed open parenthesis at the end of the line on line 327.

Signed-off-by: Sandro Volery <sandro@volery.com>
---
 drivers/staging/wlan-ng/cfg80211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index eee1998c4b18..0a4c7415f773 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -324,7 +324,8 @@ static int prism2_scan(struct wiphy *wiphy,
 		(i < request->n_channels) && i < ARRAY_SIZE(prism2_channels);
 		i++)
 		msg1.channellist.data.data[i] =
-			ieee80211_frequency_to_channel(
+			ieee80211_frequency_to_channel
+			(
 				request->channels[i]->center_freq);
 	msg1.channellist.data.len = request->n_channels;
 
-- 
2.23.0


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

* Re: [PATCH] Staging: wlan-ng: parenthesis at end of line fix
  2019-09-07 20:57 [PATCH] Staging: wlan-ng: parenthesis at end of line fix Sandro Volery
@ 2019-09-10 11:43 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2019-09-10 11:43 UTC (permalink / raw)
  To: Sandro Volery; +Cc: gregkh, osdevtc, devel, linux-kernel

On Sat, Sep 07, 2019 at 10:57:20PM +0200, Sandro Volery wrote:
> Fixed open parenthesis at the end of the line on line 327.
> 
> Signed-off-by: Sandro Volery <sandro@volery.com>
> ---
>  drivers/staging/wlan-ng/cfg80211.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
> index eee1998c4b18..0a4c7415f773 100644
> --- a/drivers/staging/wlan-ng/cfg80211.c
> +++ b/drivers/staging/wlan-ng/cfg80211.c
> @@ -324,7 +324,8 @@ static int prism2_scan(struct wiphy *wiphy,
>  		(i < request->n_channels) && i < ARRAY_SIZE(prism2_channels);
>  		i++)
>  		msg1.channellist.data.data[i] =
> -			ieee80211_frequency_to_channel(
> +			ieee80211_frequency_to_channel
> +			(
>  				request->channels[i]->center_freq);

No, that looks even worse.

regards,
dan carpenter


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

end of thread, other threads:[~2019-09-10 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-07 20:57 [PATCH] Staging: wlan-ng: parenthesis at end of line fix Sandro Volery
2019-09-10 11:43 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).