projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c185b07
)
include/linux/blkdev.h: use NULL instead of zero
author
Michele Curti
<michele.curti@gmail.com>
Thu, 9 Oct 2014 22:30:17 +0000
(15:30 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:26:04 +0000
(22:26 -0400)
Quite useless but it shuts up some warnings.
Signed-off-by: Michele Curti <michele.curti@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/blkdev.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index 518b46555b80968c3d29df956f677763fe292c51..87be398166d3ed99f2b6fc5cfdbc33c18da8701c 100644
(file)
--- a/
include/linux/blkdev.h
+++ b/
include/linux/blkdev.h
@@
-1564,7
+1564,7
@@
static inline int blk_rq_map_integrity_sg(struct request_queue *q,
}
static inline struct blk_integrity *bdev_get_integrity(struct block_device *b)
{
- return
0
;
+ return
NULL
;
}
static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk)
{