crypto: ccp: Fix sparse, use plain integer as NULL pointer
authorBrijesh Singh <brijesh.singh@amd.com>
Mon, 15 Jan 2018 13:32:02 +0000 (07:32 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 01:24:10 +0000 (02:24 +0100)
commite5699f56bc91a286f006b0728085e0b4e8f5749b
treeddc5efe2c65f5f8b777fd725ae5cd8e6a908785a
parent4f2f61fc507176edd65826fbedc8987dea29b9d5
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.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
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>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
drivers/crypto/ccp/psp-dev.c