Message ID | 20210119122649.187778-7-nborisov@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Make btrfs W=1 clean | expand |
On Tue, Jan 19, 2021 at 02:26:42PM +0200, Nikolay Borisov wrote: > Fixes fs/btrfs/discard.c:203: warning: Function parameter or member 'now' not described in 'peek_discard_list' > > Signed-off-by: Nikolay Borisov <nborisov@suse.com> > --- > fs/btrfs/discard.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c > index 2b8383d41144..bfe53eb4c1f3 100644 > --- a/fs/btrfs/discard.c > +++ b/fs/btrfs/discard.c > @@ -189,6 +189,7 @@ static struct btrfs_block_group *find_next_block_group( > * @discard_ctl: discard control > * @discard_state: the discard_state of the block_group after state management > * @discard_index: the discard_index of the block_group after state management > + * @now: Time when discard was invoked, in ns Please follow the formatting, no uppercase letter in 'Time' > * > * This wraps find_next_block_group() and sets the block_group to be in use. > * discard_state's control flow is managed here. Variables related to > -- > 2.25.1
diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c index 2b8383d41144..bfe53eb4c1f3 100644 --- a/fs/btrfs/discard.c +++ b/fs/btrfs/discard.c @@ -189,6 +189,7 @@ static struct btrfs_block_group *find_next_block_group( * @discard_ctl: discard control * @discard_state: the discard_state of the block_group after state management * @discard_index: the discard_index of the block_group after state management + * @now: Time when discard was invoked, in ns * * This wraps find_next_block_group() and sets the block_group to be in use. * discard_state's control flow is managed here. Variables related to
Fixes fs/btrfs/discard.c:203: warning: Function parameter or member 'now' not described in 'peek_discard_list' Signed-off-by: Nikolay Borisov <nborisov@suse.com> --- fs/btrfs/discard.c | 1 + 1 file changed, 1 insertion(+)