summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2014-10-09 15:30:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-09 22:26:04 -0400
commit61a04e5b306ab9d6a30f78e86f1f140d7c888304 (patch)
tree2e31444c2e31385f5f030d7ae51f9451af29a7c7
parentc185b07fc9f24d52a864376ed22a6d84384b0c53 (diff)
downloadlinux-61a04e5b306ab9d6a30f78e86f1f140d7c888304.tar.bz2
include/linux/blkdev.h: use NULL instead of zero
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>
-rw-r--r--include/linux/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 518b46555b80..87be398166d3 100644
--- 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)
{