projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc8a71
)
crypto: dcp - Use NULL instead of 0
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 29 May 2013 11:39:11 +0000
(17:09 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:08 +0000
(16:43 +0800)
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>
drivers/crypto/dcp.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/dcp.c
b/drivers/crypto/dcp.c
index 9e91c2cf3bf83bc12e7db1633ad295e6aaa8316a..49dd560c01526cc626058da0145fd0ab1b12bbd4 100644
(file)
--- 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);
}