Skip to content

usb/host/fotg210: code style and warning fixes

Peter Senna Tschudin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9usb/host/fotg210: Fix coding style issuesdrivers/usb/host/fotg210-hcd.c drivers/usb/host/fotg210.h+769 -9770 replies
2/9usb/host/fotg210: remove KERN_WARNING from pr_warndrivers/usb/host/fotg210-hcd.c+1 -10 replies
3/9usb/host/fotg210: Remove useless else statementdrivers/usb/host/fotg210-hcd.c+2 -32 replies
4/9usb/host/fotg210: Remove NULL checks dma_pool_destroydrivers/usb/host/fotg210-hcd.c+4 -80 replies
5/9usb/host/fotg210: change kmalloc by kmalloc_arraydrivers/usb/host/fotg210-hcd.c+1 -10 replies
6/9usb/host/fotg210: replace msleep by usleep_rangedrivers/usb/host/fotg210-hcd.c+1 -10 replies
7/9usb/host/fotg210: convert macro to inline functiondrivers/usb/host/fotg210-hcd.c+16 -110 replies
8/9usb/host/fotg210: Add function: output_buf_tds_dir()drivers/usb/host/fotg210-hcd.c+31 -310 replies
9/9usb/host/fotg210: Add function scan_frame_queue()drivers/usb/host/fotg210-hcd.c+76 -670 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] usb/host/fotg210: code style and warning fixes

This patch series fix warnings reported by checkpatch on the FOTG210 EHCI-like driver.

Peter Senna Tschudin (9):
usb/host/fotg210: Fix coding style issues usb/host/fotg210: remove KERN_WARNING from pr_warn usb/host/fotg210: Remove useless else statement usb/host/fotg210: Remove NULL checks dma_pool_destroy usb/host/fotg210: change kmalloc by kmalloc_array usb/host/fotg210: replace msleep by usleep_range usb/host/fotg210: convert macro to inline function usb/host/fotg210: Add function: output_buf_tds_dir() usb/host/fotg210: Add function scan_frame_queue()

 drivers/usb/host/fotg210-hcd.c | 1955 ++++++++++++++++++----------------------
 drivers/usb/host/fotg210.h     |   36 +-
 2 files changed, 896 insertions(+), 1095 deletions(-)
Signature · 1 line
2.1.0