summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-09 02:06:32 +0300
committerDavid Sterba <dsterba@suse.com>2018-03-26 16:09:29 +0300
commit97dc231e8990d484874e75e9f30a2f11fcf035c2 (patch)
tree762ae2017691ede798e2fe88e483284eaab88ee7 /fs/btrfs/tests
parent7a61f8808833115bc32dd44a9d0ce10039b9399d (diff)
downloadlinux-97dc231e8990d484874e75e9f30a2f11fcf035c2.tar.xz
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 <colin.king@canonical.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests')
-rw-r--r--fs/btrfs/tests/extent-map-tests.c2
1 files changed, 1 insertions, 1 deletions
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;