Skip to content

staging: kpc2000: various minor checkpatch fixes

Simon Sandström lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7staging: kpc2000: simplify comparisons to NULL in core.cdrivers/staging/kpc2000/kpc2000/core.c+6 -60 replies
2/7staging: kpc2000: remove unnecessary parentheses in core.cdrivers/staging/kpc2000/kpc2000/core.c+3 -30 replies
3/7staging: kpc2000: remove unnecessary oom message in core.cdrivers/staging/kpc2000/kpc2000/core.c+1 -40 replies
4/7staging: kpc2000: use __func__ in debug messages in core.cdrivers/staging/kpc2000/kpc2000/core.c+5 -53 replies
5/7staging: kpc2000: remove unnecessary include in core.cdrivers/staging/kpc2000/kpc2000/core.c+0 -10 replies
6/7staging: kpc2000: use sizeof(var) in kzalloc calldrivers/staging/kpc2000/kpc2000/core.c+1 -10 replies
7/7staging: kpc2000: fix incorrect code comment in core.cdrivers/staging/kpc2000/kpc2000/core.c+1 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] staging: kpc2000: various minor checkpatch fixes

Here is a bunch of checkpatch fixes for core.c in staging/kpc2000.

Some of these were sent earlier but not applied. Now rebased on top of staging-testing (incl. Jeremy's kpc2000 misc device removal commits).

- Simon

Simon Sandström (7):
staging: kpc2000: simplify comparisons to NULL in core.c
staging: kpc2000: remove unnecessary parentheses in core.c
staging: kpc2000: remove unnecessary oom message in core.c
staging: kpc2000: use __func__ in debug messages in core.c
staging: kpc2000: remove unnecessary include in core.c
staging: kpc2000: use sizeof(var) in kzalloc call
staging: kpc2000: fix incorrect code comment in core.c

 drivers/staging/kpc2000/kpc2000/core.c | 36 ++++++++++++--------------
 1 file changed, 16 insertions(+), 20 deletions(-)
Signature · 1 line
2.20.1