All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] staging: ks7010: Checkpatch fixes
@ 2017-02-20  4:23 Tobin C. Harding
  2017-02-20  4:23 ` [PATCH 1/9] staging: ks7010: Fix checkpatch warnings Tobin C. Harding
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Tobin C. Harding @ 2017-02-20  4:23 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Greg Kroah-Hartman, driverdev-devel

Checkpatch emits numerous warnings and checks. Line over 80 warnings
are not touched. Each patch addresses an individual checkpatch warning
(or check). Code is refactored over a series of patches in an effort
to modularize the changes. When a patch reduces the indentation no
other changes are made in the same patch. Decision to bundle
refactoring along with checkpatch fixes was made because the
motivating force is checkpatch.

Refactoring is limited to the functions surrounding checkpatch
warnings, if these changes are deemed satisfactory the rest of the
file could be refactored in a similar manner, perhaps that should be
done in this series also? 9 patches for the series seemed like it was
enough.

After application of this series 3 types of checkpatch message remain
(line over 80, macro argument reuse, and code compiled out with
ifdef).

Tobin C. Harding (9):
  staging: ks7010: Fix checkpatch warnings
  staging: ks7010: Remove dead code
  staging: ks7010: Fix checkpatch warning
  staging: ks7010: Fix checkpatch warning
  staging: ks7010: refactor, change retval to ret
  staging: ks7010: Refactor code
  staging: ks7010: Remove level of indentation
  staging: ks7010: Refactor code
  staging: ks7010: Fix checkpatch whitespace checks

 drivers/staging/ks7010/ks7010_sdio.c | 274 ++++++++++++++++-------------------
 1 file changed, 123 insertions(+), 151 deletions(-)

-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, other threads:[~2017-02-24 17:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-20  4:23 [PATCH 0/9] staging: ks7010: Checkpatch fixes Tobin C. Harding
2017-02-20  4:23 ` [PATCH 1/9] staging: ks7010: Fix checkpatch warnings Tobin C. Harding
2017-02-20  4:23 ` [PATCH 2/9] staging: ks7010: Remove dead code Tobin C. Harding
2017-02-20  4:23 ` [PATCH 3/9] staging: ks7010: Fix checkpatch warning Tobin C. Harding
2017-02-20  4:23 ` [PATCH 4/9] " Tobin C. Harding
2017-02-20  4:23 ` [PATCH 5/9] staging: ks7010: refactor, change retval to ret Tobin C. Harding
2017-02-20  4:23 ` [PATCH 6/9] staging: ks7010: Refactor code Tobin C. Harding
2017-02-24 17:10   ` Greg Kroah-Hartman
2017-02-20  4:23 ` [PATCH 7/9] staging: ks7010: Remove level of indentation Tobin C. Harding
2017-02-20  4:23 ` [PATCH 8/9] staging: ks7010: Refactor code Tobin C. Harding
2017-02-20  4:23 ` [PATCH 9/9] staging: ks7010: Fix checkpatch whitespace checks Tobin C. Harding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.