lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
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