lkml.org 
[lkml]   [2018]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2018-02-12 19:25    [W:0.039 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site