[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1489822729-7625-1-git-send-email-suniel.spartan@gmail.com>
Date: Sat, 18 Mar 2017 13:08:43 +0530
From: suniel.spartan@...il.com
To: gregkh@...uxfoundation.org, dan.carpenter@...cle.com
Cc: linux-kernel@...r.kernel.org, sunil.m@...hveda.org,
Suniel Mahesh <suniel.spartan@...il.com>
Subject: [PATCH v5 0/6] staging: rtl8192e: Fix coding style, warnings and checks
From: Suniel Mahesh <suniel.spartan@...il.com>
Changed email address from sunil.m@...hveda.org to suniel.spartan@...il.com,
reason being few patches were being dropped and not getting delivered,
couldn't resolve that issue.
Split earlier patches into multiple commits for easy review as
suggested by Dan Carpenter.
Modified subject, description and in few patches both for
better readability as suggested by Greg KH.
Dropped two patches from the earler series, as they were not adding
significant value, suggested by Dan Carpenter.
Fixed the following issues reported by checkpatch.pl:
Block comments should align the * on each line, aligned.
Block comments use * on subsequent lines, other characters
are replaced by * .
Removed unnecessary 'out of memory' message.
Comparison's to NULL could be written '!foo' or 'foo', modified.
Replaced sizeof(struct foo) into sizeof(*ptr).
Spaces preferred around that 'operator', spacing provided.
Logical continuations should be on the previous line, modified accordingly.
Unnecessary parentheses around variables, removed.
Please use a blank line after function/struct/union/enum declarations, used.
Blank lines aren't necessary after an open brace '{' and before a
close brace '}', removed.
No space is necessary after a cast, removed.
Please don't use multiple blank lines, removed.
Rebased on top of next-20170310.
Patches were tested and built on next-20170310 and staging-testing
as suggested by Greg K-H, no errors reported.
Suniel Mahesh (6):
staging: rtl8192e: Fix comments as per kernel coding style
staging: rtl8192e: Remove unnecessary 'out of memory' message
staging: rtl8192e: Rectify pointer comparisions with NULL
staging: rtl8192e: Pass a pointer as an argument to sizeof() instead
of struct
staging: rtl8192e: Fix issues reported by checkpatch.pl
staging: rtl8192e: Fix blank lines and space after a cast
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 141 ++++++++++-----------------
1 file changed, 50 insertions(+), 91 deletions(-)
--
1.9.1
Powered by blists - more mailing lists