X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=block%2Fblk-integrity.c;h=feb30570eaf561c90dd1b442d6cb785bb4a61a55;hb=19964541c23156cc8f814a2137df6b833ccdbf12;hp=0f891a9aff4d67b67f005af2b43d9860891f206a;hpb=fbd78afe34d9cc3a86aff7cc214d9f06e815e63e;p=linux.git diff --git a/block/blk-integrity.c b/block/blk-integrity.c index 0f891a9aff4d..feb30570eaf5 100644 --- a/block/blk-integrity.c +++ b/block/blk-integrity.c @@ -384,9 +384,9 @@ static struct kobj_type integrity_ktype = { .sysfs_ops = &integrity_ops, }; -static int blk_integrity_nop_fn(struct blk_integrity_iter *iter) +static blk_status_t blk_integrity_nop_fn(struct blk_integrity_iter *iter) { - return 0; + return BLK_STS_OK; } static const struct blk_integrity_profile nop_profile = {