Skip to content

usb: host: ehci-dbg: cleanup and refactoring

Geyslan G. Bem lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17usb: host: ehci-dbg: remove space before open parenthesisdrivers/usb/host/ehci-dbg.c+99 -1000 replies
2/17usb: host: ehci-dbg: remove space before open square bracketdrivers/usb/host/ehci-dbg.c+16 -170 replies
3/17usb: host: ehci-dbg: use C89-style commentsdrivers/usb/host/ehci-dbg.c+11 -100 replies
4/17usb: host: ehci-dbg: move trailing statements to next linedrivers/usb/host/ehci-dbg.c+38 -160 replies
5/17usb: host: ehci-dbg: fix up closing parenthesisdrivers/usb/host/ehci-dbg.c+4 -80 replies
6/17usb: host: ehci-dbg: put spaces around operatorsdrivers/usb/host/ehci-dbg.c+8 -80 replies
7/17usb: host: ehci-dbg: fix unsigned comparisondrivers/usb/host/ehci-dbg.c+1 -13 replies
8/17usb: host: ehci-dbg: remove unnecessary space after castdrivers/usb/host/ehci-dbg.c+2 -28 replies
9/17usb: host: ehci-dbg: fix up function definitionsdrivers/usb/host/ehci-dbg.c+29 -1511 replies
10/17usb: host: ehci-dbg: use a blank line after struct declarationsdrivers/usb/host/ehci-dbg.c+3 -00 replies
11/17usb: host: ehci-dbg: convert macro to inline functiondrivers/usb/host/ehci-dbg.c+34 -200 replies
12/17usb: host: ehci-dbg: add blank line after declarationsdrivers/usb/host/ehci-dbg.c+1 -00 replies
13/17usb: host: ehci-dbg: remove blank line before close bracedrivers/usb/host/ehci-dbg.c+0 -10 replies
14/17usb: host: ehci-dbg: replace sizeof operanddrivers/usb/host/ehci-dbg.c+1 -10 replies
15/17usb: host: ehci-dbg: enclose conditional blocks with bracesdrivers/usb/host/ehci-dbg.c+5 -40 replies
16/17usb: host: ehci-dbg: prefer kmalloc_array over kmalloc times sizedrivers/usb/host/ehci-dbg.c+1 -10 replies
17/17usb: host: ehci-dbg: refactor fill_periodic_buffer functiondrivers/usb/host/ehci-dbg.c+88 -924 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] usb: host: ehci-dbg: cleanup and refactoring

This patchset removes all errors reported by checkpatch in addition to some refactoring.

Geyslan G. Bem (17):
usb: host: ehci-dbg: remove space before open parenthesis
usb: host: ehci-dbg: remove space before open square bracket
usb: host: ehci-dbg: use C89-style comments
usb: host: ehci-dbg: move trailing statements to next line
usb: host: ehci-dbg: fix up closing parenthesis
usb: host: ehci-dbg: put spaces around operators
usb: host: ehci-dbg: fix unsigned comparison
usb: host: ehci-dbg: remove unnecessary space after cast
usb: host: ehci-dbg: fix up function definitions
usb: host: ehci-dbg: use a blank line after struct declarations
usb: host: ehci-dbg: convert macro to inline function
usb: host: ehci-dbg: add blank line after declarations
usb: host: ehci-dbg: remove blank line before close brace
usb: host: ehci-dbg: replace sizeof operand
usb: host: ehci-dbg: enclose conditional blocks with braces
usb: host: ehci-dbg: prefer kmalloc_array over kmalloc times size
usb: host: ehci-dbg: refactor fill_periodic_buffer function

 drivers/usb/host/ehci-dbg.c | 585 ++++++++++++++++++++++++--------------------
 1 file changed, 315 insertions(+), 270 deletions(-)
Signature · 1 line
2.6.4