linux-next: build warning after merge of the virtio tree
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)
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 7 lines · Stephen Rothwell
Hi Rusty,
After merging the virtio tree, today's linux-next build (
x86_64allmodconfig) 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]
Quoted 7 lines
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.