2020-07-02 01:24:27

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the block tree

Hi all,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/md/dm.c: In function '__map_bio':
drivers/md/dm.c:1296:24: warning: unused variable 'md' [-Wunused-variable]
1296 | struct mapped_device *md = io->md;
| ^~

Introduced by commit

5a6c35f9af41 ("block: remove direct_make_request")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-07-02 04:08:41

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the block tree

On 7/1/20 7:21 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/md/dm.c: In function '__map_bio':
> drivers/md/dm.c:1296:24: warning: unused variable 'md' [-Wunused-variable]
> 1296 | struct mapped_device *md = io->md;
> | ^~
>
> Introduced by commit
>
> 5a6c35f9af41 ("block: remove direct_make_request")

Thanks, I did fix this one up, just haven't pushed out the updated tree
yet.

--
Jens Axboe