crypto: ccp - Fix sparse, use plain integer as NULL pointer
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 15 Feb 2018 19:34:44 +0000 (13:34 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:37:11 +0000 (00:37 +0800)
commite385b5b787c86ed16fb414139e7068395327a254
treeb38a03a23d5b43e612498a4f5a0ea888ed5a7cb0
parent0a9eb80e643064266868bd2fb2cd608e669309b0
crypto: ccp - Fix sparse, use plain integer as NULL pointer

Fix sparse warning: Using plain integer as NULL pointer. Replaces
assignment of 0 to pointer with NULL assignment.

Fixes: 200664d5237f (Add Secure Encrypted Virtualization ...)
Cc: Borislav Petkov <bp@suse.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Gary Hook <gary.hook@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c