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

From: Rusty Russell
Date: Fri Mar 13 2015 - 01:37:06 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:
> Hi Rusty,
>
> After merging the virtio tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> net/9p/trans_virtio.c: In function 'p9_virtio_remove':
> net/9p/trans_virtio.c:662:7: warning: unused variable 'inuse' [-Wunused-variable]
> bool inuse;
> ^
>
> Introduced by commit 1991755689ad ("9p/trans_virtio: fix hot-unplug").
>
> Some of the whitespace is mucked up in that commit as well (some
> leading tabs, some leading spaces)

Hmm, I had a fix queued, but I'll just rebase and fix the whitespace
too. And this:

WARNING: quoted string split across lines
#28: FILE: net/9p/trans_virtio.c:676:
+ dev_emerg(&vdev->dev, "p9_virtio_remove: "
+ "waiting for device in use.\n");

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/