include/linux/blkdev.h: use NULL instead of zero
authorMichele Curti <michele.curti@gmail.com>
Thu, 9 Oct 2014 22:30:17 +0000 (15:30 -0700)
committerLinus 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

index 518b46555b80968c3d29df956f677763fe292c51..87be398166d3ed99f2b6fc5cfdbc33c18da8701c 100644 (file)
@@ -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)
 {