mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Simplify NULL comparisons in staging/kpc2000
@ 2019-07-04  6:08 Simon Sandström
  2019-07-04  6:08 ` [PATCH 1/3] staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c Simon Sandström
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Simon Sandström @ 2019-07-04  6:08 UTC (permalink / raw)
  To: gregkh; +Cc: gneukum1, devel, linux-kernel, Simon Sandström

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

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-04  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04  6:08 [PATCH 0/3] Simplify NULL comparisons in staging/kpc2000 Simon Sandström
2019-07-04  6:08 ` [PATCH 1/3] staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c Simon Sandström
2019-07-04  6:08 ` [PATCH 2/3] staging: kpc2000: simplify comparison to NULL in dma.c Simon Sandström
2019-07-04  6:08 ` [PATCH 3/3] staging: kpc2000: simplify comparison to NULL in fileops.c Simon Sandström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®