projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a61f88
)
Btrfs: extent map selftest: add missing void parameter to btrfs_test_extent_map
author
Colin Ian King
<colin.king@canonical.com>
Mon, 8 Jan 2018 23:06:32 +0000
(23:06 +0000)
committer
David Sterba
<dsterba@suse.com>
Mon, 26 Mar 2018 13:09:29 +0000
(15:09 +0200)
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>
fs/btrfs/tests/extent-map-tests.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/tests/extent-map-tests.c
b/fs/btrfs/tests/extent-map-tests.c
index 70c993f01670d865332c0d33a6f40e7e9bc46f07..c23bd00bdd92f8e78dfb5048bc01a254ad1ab6bc 100644
(file)
--- 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;