linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/15] checkpatch clean-up of rtl8723au's rtw_security.c
@ 2015-03-19  4:39 M. Vefa Bicakci
  2015-03-19  4:39 ` [PATCH v3 01/15] staging: rtl8723au: Reformat whitespace to increase readability M. Vefa Bicakci
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: M. Vefa Bicakci @ 2015-03-19  4:39 UTC (permalink / raw)
  To: linux-kernel, linux-wireless
  Cc: Jes.Sorensen, joe, Larry.Finger, gregkh, mail, m.v.b

These commits address a number of checkpatch.pl warnings and errors
in rtl8723au's rtw_security.c.

Prior to this set of commits, checkpatch.pl reported the following:
	total: 77 errors, 138 warnings, 1621 lines checked

After applying this set of commits, checkpatch.pl reports the following:
	total: 0 errors, 26 warnings, 1624 lines checked
where the only remaining warnings relate to lines longer than 80
characters and quoted strings split across multiple lines.

There are also a number of commits which improve the code in other ways.
For example, the commit titled "Reorganize a few functions to remove
indentation" reworks two functions to make them more readable, whereas
the commit titled "Rework two byte array comparisons" reworks two CRC
verifications for the same reason, and "Use __func__ in trace logs"
avoids hardcoding function names in trace logs to increase
maintainability.

All of the commits have been verified to compile successfully via the
use of the interactive rebase feature of git.

v3: Rebased onto Greg Kroah-Hartman's staging-next tree, on top of
    the following commit
      5ec293650827122df300581c17ca1d5de03bac3d.
      Staging: dgnc: release the lock before testing for nullity

    Please see the individual commit messages for the changes
    since v2. In summary, the following commits have been updated:
    - that open brace should be on the previous line
    - suspect code indent for conditional statements

    The following commit is new:
    - Use __func__ in trace logs

    Finally, the following commit has been removed:
    - Do not initialize a static to 0

v2: Please see the individual commit messages for the changes
    since v1. In summary, the following commits have been updated:
    - Reformat whitespace to increase readability
    - Fix "before/around/after" whitespace issues
    - Rework two byte array comparisons

M. Vefa Bicakci (15):
  staging: rtl8723au: Reformat whitespace to increase readability
  staging: rtl8723au: Fix "before/around/after" whitespace issues
  staging: rtl8723au: else should follow close brace
  staging: rtl8723au: Fix the indentation of two lines
  staging: rtl8723au: Reorganize a few functions to remove indentation
  staging: rtl8723au: else is not generally useful after a return
  staging: rtl8723au: Remove unneeded curly braces
  staging: rtl8723au: trailing statements should be on next line
  staging: rtl8723au: that open brace should be on the previous line
  staging: rtl8723au: No spaces at the start of a line
  staging: rtl8723au: Adjust whitespace in and around comments
  staging: rtl8723au: suspect code indent for conditional statements
  staging: rtl8723au: Rework two byte array comparisons
  staging: rtl8723au: Use __func__ in trace logs
  staging: rtl8723au: Remove unneeded comments

 drivers/staging/rtl8723au/core/rtw_security.c | 799 +++++++++++++-------------
 1 file changed, 401 insertions(+), 398 deletions(-)

-- 
2.1.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-03-28 12:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19  4:39 [PATCH v3 00/15] checkpatch clean-up of rtl8723au's rtw_security.c M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 01/15] staging: rtl8723au: Reformat whitespace to increase readability M. Vefa Bicakci
2015-03-26 12:18   ` Greg KH
2015-03-28 12:39     ` M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 02/15] staging: rtl8723au: Fix "before/around/after" whitespace issues M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 03/15] staging: rtl8723au: else should follow close brace M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 04/15] staging: rtl8723au: Fix the indentation of two lines M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 05/15] staging: rtl8723au: Reorganize a few functions to remove indentation M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 06/15] staging: rtl8723au: else is not generally useful after a return M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 07/15] staging: rtl8723au: Remove unneeded curly braces M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 08/15] staging: rtl8723au: trailing statements should be on next line M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 09/15] staging: rtl8723au: that open brace should be on the previous line M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 10/15] staging: rtl8723au: No spaces at the start of a line M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 11/15] staging: rtl8723au: Adjust whitespace in and around comments M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 12/15] staging: rtl8723au: suspect code indent for conditional statements M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 13/15] staging: rtl8723au: Rework two byte array comparisons M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 14/15] staging: rtl8723au: Use __func__ in trace logs M. Vefa Bicakci
2015-03-19  4:39 ` [PATCH v3 15/15] staging: rtl8723au: Remove unneeded comments M. Vefa Bicakci

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).