projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2789bd
)
block: do not initialise globals to 0 or NULL
author
Wei Tang
<tangwei@cmss.chinamobile.com>
Tue, 24 Nov 2015 01:58:45 +0000
(09:58 +0800)
committer
Jens Axboe
<axboe@fb.com>
Tue, 24 Nov 2015 22:24:25 +0000
(15:24 -0700)
This patch fixes the checkpatch.pl error to blk-exec.c:
ERROR: do not initialise globals to 0 or NULL
Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index c0c884efa40f72a6cec41ecc00f56431cfbcda50..c88a946eca497f86734fed4f10c33b05cd14d2f7 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-51,7
+51,7
@@
DEFINE_IDA(blk_queue_ida);
/*
* For the allocated request tables
*/
-struct kmem_cache *request_cachep
= NULL
;
+struct kmem_cache *request_cachep;
/*
* For queue allocation