linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Czekay <johannes.czekay@fau.de>
To: linux-kernel@vger.kernel.org
Cc: johannes.czekay@fau.de, nicolai.fischer@fau.de,
	gustavo@embeddedor.com, hannes@cmpxchg.org, longman@redhat.com,
	mhocko@suse.com, adawesomeguy222@gmail.com,
	igormtorrente@gmail.com, sylphrenadin@gmail.com,
	izabela.bakollari@gmail.com, colin.king@canonical.com,
	steff.richards.the.third@gmail.com
Subject: [PATCH 1/6] wlan-ng: clean up line ending
Date: Tue, 22 Dec 2020 23:20:12 +0100	[thread overview]
Message-ID: <20201222222015.20558-2-johannes.czekay@fau.de> (raw)
In-Reply-To: <20201222222015.20558-1-johannes.czekay@fau.de>

This patch cleans up all the "Lines should not end with a '('" warnings.

Signed-off-by: Johannes Czekay <johannes.czekay@fau.de>
Co-developed-by: Nicolai Fischer <nicolai.fischer@fau.de>
Signed-off-by: Nicolai Fischer <nicolai.fischer@fau.de>
---
 drivers/staging/wlan-ng/cfg80211.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 759e475e303c..eda5b5a4e089 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -324,8 +324,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_frequency_to_channel(request->channels[i]->center_freq);
 	msg1.channellist.data.len = request->n_channels;
 
 	msg1.maxchanneltime.data = 250;
@@ -478,8 +477,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
 				goto exit;
 
 			/* send key to driver */
-			did = didmib_dot11smt_wepdefaultkeystable_key(
-					sme->key_idx + 1);
+			did = didmib_dot11smt_wepdefaultkeystable_key(sme->key_idx + 1);
 			result = prism2_domibset_pstr32(wlandev,
 							did, sme->key_len,
 							(u8 *)sme->key);
-- 
2.25.1


  reply	other threads:[~2020-12-22 22:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-22 22:20 [PATCH 0/6] wlan-ng: checkpatch.pl cleanup series Johannes Czekay
2020-12-22 22:20 ` Johannes Czekay [this message]
2020-12-22 22:20 ` [PATCH 2/6] wlan-ng: clean up spinlock_t definition Johannes Czekay
2020-12-22 22:20 ` [PATCH 3/6] wlan-ng: rename macros Johannes Czekay
2020-12-22 22:20 ` [PATCH 4/6] wlan-ng: clean up line length Johannes Czekay
2020-12-22 22:20 ` [PATCH 5/6] wlan-ng: clean up alignment Johannes Czekay
2020-12-22 22:20 ` [PATCH 6/6] wlan-ng: clean up reused macros Johannes Czekay
2021-01-18  1:09 [PATCH 0/6] wlan-ng: checkpatch.pl cleanup series Johannes Czekay
2021-01-18  1:09 ` [PATCH 1/6] wlan-ng: clean up line ending Johannes Czekay
2021-01-27 13:58   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201222222015.20558-2-johannes.czekay@fau.de \
    --to=johannes.czekay@fau.de \
    --cc=adawesomeguy222@gmail.com \
    --cc=colin.king@canonical.com \
    --cc=gustavo@embeddedor.com \
    --cc=hannes@cmpxchg.org \
    --cc=igormtorrente@gmail.com \
    --cc=izabela.bakollari@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=mhocko@suse.com \
    --cc=nicolai.fischer@fau.de \
    --cc=steff.richards.the.third@gmail.com \
    --cc=sylphrenadin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).