Messages in this thread Patch in this message | | | Date | Mon, 13 Sep 2021 19:04:04 +0100 | From | Tawah Peggy <> | Subject | [PATCH v2] Staging:wlan-ng:cfg80211: A better fix for: Lines should end with a '(' |
| |
<greg@kroah.com> Cc: linux-kernel@vger.kernel.org Bcc: Subject: [PATCH v2] Staging: wlan-ng: cfg80211: A better fix for: Lines should not end with a '('. Reply-To:
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
| |