From: John Whitmore <johnfwhitmore@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
John Whitmore <johnfwhitmore@gmail.com>
Subject: [PATCH 03/11] staging:rtl8192u: Clear error with line ending ( - Style
Date: Sun, 7 Oct 2018 22:40:17 +0100 [thread overview]
Message-ID: <20181007214025.25469-4-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20181007214025.25469-1-johnfwhitmore@gmail.com>
Rewrite function call to clear the checkpatch issue with lines ending
with a '(' character.
This is a coding style change which should have no impact on runtime
code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
---
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index bd64d126ba2b..20348a1f2d32 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -64,9 +64,9 @@ static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee)
if (ieee->networks)
return 0;
- ieee->networks = kcalloc(
- MAX_NETWORK_COUNT, sizeof(struct ieee80211_network),
- GFP_KERNEL);
+ ieee->networks = kcalloc(MAX_NETWORK_COUNT,
+ sizeof(struct ieee80211_network),
+ GFP_KERNEL);
if (!ieee->networks) {
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
ieee->dev->name);
--
2.19.0
next prev parent reply other threads:[~2018-10-07 21:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-07 21:40 [PATCH 00/11] staging:rtl8192u: Coding Style changes John Whitmore
2018-10-07 21:40 ` [PATCH 01/11] staging:rtl8192u: Add missing SPDX-License-Identifier - Style John Whitmore
2018-10-07 21:40 ` [PATCH 02/11] staging:rtl8192u: Removed commented out include " John Whitmore
2018-10-09 13:25 ` Greg KH
2018-10-07 21:40 ` John Whitmore [this message]
2018-10-07 21:40 ` [PATCH 04/11] staging:rtl8192u: Remove extra blank lines " John Whitmore
2018-10-07 21:40 ` [PATCH 05/11] staging:rtl8192u: Add spaces around + operator " John Whitmore
2018-10-07 21:40 ` [PATCH 06/11] staging:rtl8192u: Rewrite test for null " John Whitmore
2018-10-09 13:26 ` Greg KH
2018-10-07 21:40 ` [PATCH 07/11] staging:rtl8192u: Correct code indentation " John Whitmore
2018-10-07 21:40 ` [PATCH 08/11] staging:rtl8192u: Add missing blank lines " John Whitmore
2018-10-07 21:40 ` [PATCH 09/11] staging:rtl8192u: Remove unnecessary line continuation " John Whitmore
2018-10-07 21:40 ` [PATCH 10/11] staging:rtl8192u: Correct code alignment " John Whitmore
2018-10-07 21:40 ` [PATCH 11/11] staging:rtl8192u: Correct comparison with NULL " John Whitmore
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=20181007214025.25469-4-johnfwhitmore@gmail.com \
--to=johnfwhitmore@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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