From: Colin Ian King Date: Mon, 8 Jan 2018 23:06:32 +0000 (+0000) Subject: Btrfs: extent map selftest: add missing void parameter to btrfs_test_extent_map X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=97dc231e8990d484874e75e9f30a2f11fcf035c2;p=openwrt%2Fstaging%2Fblogic.git Btrfs: extent map selftest: add missing void parameter to btrfs_test_extent_map Add a missing void parameter to function btrfs_test_extent_map, fixes sparse warning: warning: non-ANSI function declaration of function 'btrfs_test_extent_map' Signed-off-by: Colin Ian King Signed-off-by: David Sterba --- diff --git a/fs/btrfs/tests/extent-map-tests.c b/fs/btrfs/tests/extent-map-tests.c index 70c993f01670..c23bd00bdd92 100644 --- a/fs/btrfs/tests/extent-map-tests.c +++ b/fs/btrfs/tests/extent-map-tests.c @@ -343,7 +343,7 @@ static void test_case_4(struct extent_map_tree *em_tree) __test_case_4(em_tree, SZ_4K); } -int btrfs_test_extent_map() +int btrfs_test_extent_map(void) { struct extent_map_tree *em_tree;