When build xfstests in some platform it will return
no-return-in-nonvoid-function error in dio-buf-fault.c:83 and
fake-dump-rootino.c:224, add return value to solve the issue.
Signed-off-by: Yong Sun <yosun@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
c = ((char *)buf)[0];
printf("%u\n", c);
- do_dio(argv[2], buf, sz);
+ return do_dio(argv[2], buf, sz);
}
munmap(header, GLOBAL_HDR_SZ);
close(fd);
+ return 0;
}