All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] Staging: wlan-ng: cfg80211: A better fix for: Lines should not end with a '('.
@ 2021-09-13 22:08 Tawah Peggy
  2021-09-14  4:27 ` Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Tawah Peggy @ 2021-09-13 22:08 UTC (permalink / raw)
  To: Kroah-Hartman; +Cc: linux-kernel

This patch fixes the checkpatch error : lines should not end with a '('
by reducing length of function name to enable the arguments be passed on a single line.

Signed-off-by: Tawah Peggy <tawahpeggy98@gmail.com>
---
 drivers/staging/wlan-ng/cfg80211.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 7951bd63816f..711c88c59e78 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -328,8 +328,7 @@ 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(
-				request->channels[i]->center_freq);
+			ieee80211_freq_to_channel(request->channels[i]->center_freq);
 	msg1.channellist.data.len = request->n_channels;
 
 	msg1.maxchanneltime.data = 250;
-- 
2.25.1


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

* Re: [PATCH v3] Staging: wlan-ng: cfg80211: A better fix for: Lines should not end with a '('.
  2021-09-13 22:08 [PATCH v3] Staging: wlan-ng: cfg80211: A better fix for: Lines should not end with a '(' Tawah Peggy
@ 2021-09-14  4:27 ` Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Kroah-Hartman @ 2021-09-14  4:27 UTC (permalink / raw)
  To: Tawah Peggy; +Cc: linux-kernel

On Mon, Sep 13, 2021 at 11:08:36PM +0100, Tawah Peggy wrote:
> This patch fixes the checkpatch error : lines should not end with a '('
> by reducing length of function name to enable the arguments be passed on a single line.
> 
> Signed-off-by: Tawah Peggy <tawahpeggy98@gmail.com>
> ---
>  drivers/staging/wlan-ng/cfg80211.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
> index 7951bd63816f..711c88c59e78 100644
> --- a/drivers/staging/wlan-ng/cfg80211.c
> +++ b/drivers/staging/wlan-ng/cfg80211.c
> @@ -328,8 +328,7 @@ 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(
> -				request->channels[i]->center_freq);
> +			ieee80211_freq_to_channel(request->channels[i]->center_freq);
>  	msg1.channellist.data.len = request->n_channels;
>  
>  	msg1.maxchanneltime.data = 250;
> -- 
> 2.25.1
> 

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- This looks like a new version of a previously submitted patch, but you
  did not list below the --- line any changes from the previous version.
  Please read the section entitled "The canonical patch format" in the
  kernel file, Documentation/SubmittingPatches for what needs to be done
  here to properly describe this.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

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

end of thread, other threads:[~2021-09-14  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 22:08 [PATCH v3] Staging: wlan-ng: cfg80211: A better fix for: Lines should not end with a '(' Tawah Peggy
2021-09-14  4:27 ` Kroah-Hartman

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.