Re: linux-next: build warning after merge of the mmc tree

From: Ulf Hansson
Date: Tue Oct 22 2019 - 03:31:51 EST


On Tue, 22 Oct 2019 at 02:47, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the mmc tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/mmc/core/block.c: In function '__mmc_blk_ioctl_cmd':
> drivers/mmc/core/block.c:500:6: warning: unused variable 'status' [-Wunused-variable]
> 500 | u32 status = 0;
> | ^~~~~~
>
> Introduced by commit
>
> 05224f7e4975 ("mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response")
>
> --
> Cheers,
> Stephen Rothwell

Thanks for the report. I have amended the patch to address the warning.

Kind regards
Uffe