Skip to content

Commit

Permalink
include/linux/blkdev.h: use NULL instead of zero
Browse files Browse the repository at this point in the history
Quite useless but it shuts up some warnings.

Signed-off-by: Michele Curti <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
michelecurti authored and torvalds committed Oct 10, 2014
1 parent c185b07 commit 61a04e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 61a04e5

Please sign in to comment.