Messages in this thread | | | Date | Mon, 12 Feb 2018 19:22:42 +0100 | From | David Sterba <> | Subject | Re: [PATCH][btrfs-next] Btrfs: extent map selftest: fix non-ANSI btrfs_test_extent_map declaration |
| |
On Thu, Feb 08, 2018 at 02:13:27PM +0000, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > The function btrfs_test_extent_map requires a void argument to be ANSI C > compliant and so it matches the prototype in fs/btrfs/tests/btrfs-tests.h > > Cleans up sparse warning: > fs/btrfs/tests/extent-map-tests.c:346:27: warning: non-ANSI function > declaration of function 'btrfs_test_extent_map' > > Signed-off-by: Colin Ian King <colin.king@canonical.com>
FYI, the first patch fixing the warning has been added to for-next already.
| |