blkdev: use NULL instead of zero
Signed-off-by: Michele Curti <[email protected]>
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 3a7449d..66c8298 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1533,7 +1533,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)
{
--
2.1.0
Quite useless but it shuts up some warnings.
Regards,
Michele
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/