Skip to content

Fix more coding style issues in staging/kpc2000

Simon Sandström lkml 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v18 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9staging: kpc2000: add blank line after declarationsdrivers/staging/kpc2000/kpc2000/cell_probe.c+4 -00 replies
2/9staging: kpc2000: use __func__ in debug messagesdrivers/staging/kpc2000/kpc2000/cell_probe.c+12 -70 replies
3/9staging: kpc2000: add missing asterisk in commentdrivers/staging/kpc2000/kpc2000/cell_probe.c+1 -10 replies
4/9staging: kpc2000: fix alignment issues in cell_probe.cdrivers/staging/kpc2000/kpc2000/cell_probe.c+15 -190 replies
5/9staging: kpc2000: remove extra blank lines in cell_probe.cdrivers/staging/kpc2000/kpc2000/cell_probe.c+0 -40 replies
6/9staging: kpc2000: use kzalloc(sizeof(var)...) in cell_probe.cdrivers/staging/kpc2000/kpc2000/cell_probe.c+1 -10 replies
7/9staging: kpc2000: remove unnecessary braces in cell_probe.cdrivers/staging/kpc2000/kpc2000/cell_probe.c+4 -70 replies
8/9staging: kpc2000: remove unnecessary include in cell_probe.cdrivers/staging/kpc2000/kpc2000/cell_probe.c+0 -10 replies
9/9staging: kpc2000: remove unnecessary oom messagedrivers/staging/kpc2000/kpc2000/cell_probe.c+1 -30 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/9] Fix more coding style issues in staging/kpc2000

Hi,

These patches fixes a few more minor coding style issues found in staging/kpc2000/cell_probe.c. There are only two more types of checkpatch.pl warnings left in this file with these patches applied:
"line over 80 characters" and "Macro argument reuse".

Changed in v2: don't bother fixing the __func__ usage in the out of
memory debug message, instead add a patch that removes it completely.

- Simon

Simon Sandström (9):
staging: kpc2000: add blank line after declarations
staging: kpc2000: use __func__ in debug messages
staging: kpc2000: add missing asterisk in comment
staging: kpc2000: fix alignment issues in cell_probe.c
staging: kpc2000: remove extra blank lines in cell_probe.c
staging: kpc2000: use kzalloc(sizeof(var)...) in cell_probe.c
staging: kpc2000: remove unnecessary braces in cell_probe.c
staging: kpc2000: remove unnecessary include in cell_probe.c
staging: kpc2000: remove unnecessary oom message

 drivers/staging/kpc2000/kpc2000/cell_probe.c | 81 +++++++++-----------
 1 file changed, 38 insertions(+), 43 deletions(-)
Signature · 1 line
2.20.1