[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140915150619.GA11016@powerline.azcom-win.it>
Date: Mon, 15 Sep 2014 17:06:19 +0200
From: Michele Curti <michele.curti@...il.com>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org, viro@...iv.linux.org.uk
Subject: [PATCH] blkdev: use NULL instead of zero
blkdev: use NULL instead of zero
Signed-off-by: Michele Curti <michele.curti@...il.com>
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists