summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-29 17:09:11 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2013-06-05 16:43:08 +0800
commitc2415471702e29a1a39a2e8b46996ecc0f95788c (patch)
treee0ea5eb17dbcc3f714587f3ef644adced9345644
parent0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631 (diff)
downloadkernel-common-c2415471702e29a1a39a2e8b46996ecc0f95788c.tar.gz
kernel-common-c2415471702e29a1a39a2e8b46996ecc0f95788c.tar.bz2
kernel-common-c2415471702e29a1a39a2e8b46996ecc0f95788c.zip
crypto: dcp - Use NULL instead of 0
Use NULL instead of 0 for pointer variables. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Tested-by: Tobias Rauter <tobiasrauter@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c
index 9e91c2cf3bf8..49dd560c0152 100644
--- a/drivers/crypto/dcp.c
+++ b/drivers/crypto/dcp.c
@@ -408,7 +408,7 @@ static void dcp_done_task(unsigned long data)
ablkcipher_walk_complete(&dev->ctx->walk);
dev->ctx->req->base.complete(&dev->ctx->req->base,
dev->ctx->stat);
- dev->ctx->req = 0;
+ dev->ctx->req = NULL;
/* in case there are other requests in the queue */
tasklet_schedule(&dev->queue_task);
}