integrity: Fix sparse warnings in keyring_handler
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 21 Apr 2022 17:52:05 +0000 (13:52 -0400)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 16 May 2022 21:06:16 +0000 (17:06 -0400)
commit048ae41bb0806cde340f4e5d5030398037ab0be8
treec0b680bff91dbc42e3776c28ec31b98efcbbef3b
parent4c41186ff394680cbde32a6a29e539f1e6036a47
integrity: Fix sparse warnings in keyring_handler

Fix the following sparse warnings:

  CHECK   security/integrity/platform_certs/keyring_handler.c
security/integrity/platform_certs/keyring_handler.c:76:16: warning: Using plain integer as NULL pointer
security/integrity/platform_certs/keyring_handler.c:91:16: warning: Using plain integer as NULL pointer
security/integrity/platform_certs/keyring_handler.c:106:16: warning: Using plain integer as NULL pointer

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/platform_certs/keyring_handler.c