Skip to content

staging: Use !x in place of NULL comparison

Payal Kshirsagar outreachy 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5staging: comedi: use !x in place of NULL comparisondrivers/staging/comedi/drivers/tests/ni_routes_test.c+1 -10 replies
2/5staging: rtlwifi: use !x in place of NULL comparisondrivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c+1 -10 replies
3/5staging: erofs: super.c: use !x in place of NULL comparisondrivers/staging/erofs/super.c+7 -71 reply
4/5staging: erofs: xattr.c: use !x in place of NULL comparisondrivers/staging/erofs/xattr.c+5 -50 replies
5/5staging: erofs: inode.c: use !x in place of NULL comparisondrivers/staging/erofs/inode.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Outreachy kernel] [PATCH 0/5] staging: Use !x in place of NULL comparison

Challenge suggested by coccinelle.
This patchset:
-Uses !x in place of NULL comparison.

Payal Kshirsagar (5):
staging: comedi: use !x in place of NULL comparison
staging: rtlwifi: use !x in place of NULL comparison
staging: erofs: super.c: use !x in place of NULL comparison
staging: erofs: xattr.c: use !x in place of NULL comparison
staging: erofs: inode.c: use !x in place of NULL comparison

 drivers/staging/comedi/drivers/tests/ni_routes_test.c |  2 +-
 drivers/staging/erofs/inode.c                         |  4 ++--
 drivers/staging/erofs/super.c                         | 14 +++++++-------
 drivers/staging/erofs/xattr.c                         | 10 +++++-----
 drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c      |  2 +-
 5 files changed, 16 insertions(+), 16 deletions(-)
Signature · 1 line
2.7.4