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

Simon Sandström simon at nikanor.nu
Thu May 23 12:51:34 UTC 2019


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(-)

-- 
2.20.1



More information about the devel mailing list