* [PATCH] staging: rtl8712: Cleanup codestyle
@ 2017-12-06 10:31 Neil Singh
2017-12-06 11:15 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Neil Singh @ 2017-12-06 10:31 UTC (permalink / raw)
To: Larry Finger, Florian Schilhabel, Greg Kroah-Hartman
Cc: devel, linux-kernel, driverdev-devel
Fix following checkpatch.pl messages:
WARNING: line over 80 characters
1000: FILE: rtl871x_security.c:1000:
ERROR: code indent should use tabs where possible
1408: FILE: rtl871x_security.c:1408:
WARNING: please, no spaces at the start of a line
1408: FILE: rtl871x_security.c:1408:
Signed-off-by: Neil Singh <neil2468@gmail.com>
---
drivers/staging/rtl8712/rtl871x_security.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c
index 56d36f6..ed3a00f 100644
--- a/drivers/staging/rtl8712/rtl871x_security.c
+++ b/drivers/staging/rtl8712/rtl871x_security.c
@@ -997,8 +997,9 @@ static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, sint a4_exists,
/* Builds the last MIC header block from */
/* header fields. */
/************************************************/
-static void construct_ctr_preload(u8 *ctr_preload, sint a4_exists, sint qc_exists,
- u8 *mpdu, u8 *pn_vector, sint c)
+static void construct_ctr_preload(u8 *ctr_preload,
+ sint a4_exists, sint qc_exists,
+ u8 *mpdu, u8 *pn_vector, sint c)
{
sint i;
@@ -1405,7 +1406,7 @@ u32 r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe)
void r8712_use_tkipkey_handler(struct timer_list *t)
{
struct _adapter *padapter =
- from_timer(padapter, t, securitypriv.tkip_timer);
+ from_timer(padapter, t, securitypriv.tkip_timer);
padapter->securitypriv.busetkipkey = true;
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: rtl8712: Cleanup codestyle
2017-12-06 10:31 [PATCH] staging: rtl8712: Cleanup codestyle Neil Singh
@ 2017-12-06 11:15 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2017-12-06 11:15 UTC (permalink / raw)
To: Neil Singh
Cc: Larry Finger, Florian Schilhabel, devel, linux-kernel,
driverdev-devel
On Wed, Dec 06, 2017 at 05:31:38PM +0700, Neil Singh wrote:
> Fix following checkpatch.pl messages:
>
> WARNING: line over 80 characters
> 1000: FILE: rtl871x_security.c:1000:
>
> ERROR: code indent should use tabs where possible
> 1408: FILE: rtl871x_security.c:1408:
>
> WARNING: please, no spaces at the start of a line
> 1408: FILE: rtl871x_security.c:1408:
That's multiple things, so this should be multiple patches...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-06 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 10:31 [PATCH] staging: rtl8712: Cleanup codestyle Neil Singh
2017-12-06 11:15 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox