Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 13, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw
Quoted 7 lines · Stephen Rothwell

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]

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.