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 05/11] staging:rtl8192u: Add spaces around + operator - Style
Date: Sun, 7 Oct 2018 22:40:19 +0100 [thread overview]
Message-ID: <20181007214025.25469-6-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20181007214025.25469-1-johnfwhitmore@gmail.com>
Add spaces around '+' operator to clear the checkpatch issue.
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index c52eac0bf6f6..0fe65dd8c407 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -109,7 +109,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
}
ieee = netdev_priv(dev);
- memset(ieee, 0, sizeof(struct ieee80211_device)+sizeof_priv);
+ memset(ieee, 0, sizeof(struct ieee80211_device) + sizeof_priv);
ieee->dev = dev;
err = ieee80211_networks_allocate(ieee);
--
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 ` [PATCH 03/11] staging:rtl8192u: Clear error with line ending ( " John Whitmore
2018-10-07 21:40 ` [PATCH 04/11] staging:rtl8192u: Remove extra blank lines " John Whitmore
2018-10-07 21:40 ` John Whitmore [this message]
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-6-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