]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
Use NULL instead of 0 where a pointer is expected
authorBart Van Assche <bvanassche@acm.org>
Tue, 18 Jun 2019 18:12:19 +0000 (11:12 -0700)
committerBart Van Assche <bvanassche@acm.org>
Wed, 19 Jun 2019 16:17:14 +0000 (09:17 -0700)
commitb4fd0946acfd43e5ca4b0d5acf8dd322eeafc570
tree4ba04748f8f94c199c7977904edb38224f382ae4
parente68409e447b205bcc586ec69faa59d373d4ee283
Use NULL instead of 0 where a pointer is expected

This patch avoids that sparse reports the following:

warning: Using plain integer as NULL pointer

Cc: Muhammad Ahmad <muhammad.ahmad@seagate.com>
Cc: Quyen Truong <quyen.truong@virtium.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
plugins/seagate/seagate-nvme.c
plugins/virtium/virtium-nvme.c