Skip to content

Simplify NULL comparisons in staging/kpc2000

Simon Sandström lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: kpc2000: simplify comparison to NULL in kpc2000_spi.cdrivers/staging/kpc2000/kpc2000_spi.c+2 -20 replies
2/3staging: kpc2000: simplify comparison to NULL in dma.cdrivers/staging/kpc2000/kpc_dma/dma.c+2 -20 replies
3/3staging: kpc2000: simplify comparison to NULL in fileops.cdrivers/staging/kpc2000/kpc_dma/fileops.c+1 -10 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/3] Simplify NULL comparisons in staging/kpc2000

Hi,

These patches simplifies a few comparisons to NULL ("foo == NULL" => "!foo") in staging/kpc2000, as reported by checkpatch.pl.

- Simon

Simon Sandström (3):
staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c
staging: kpc2000: simplify comparison to NULL in dma.c
staging: kpc2000: simplify comparison to NULL in fileops.c

 drivers/staging/kpc2000/kpc2000_spi.c     | 4 ++--
 drivers/staging/kpc2000/kpc_dma/dma.c     | 4 ++--
 drivers/staging/kpc2000/kpc_dma/fileops.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.20.1