]> git.baikalelectronics.ru Git - kernel.git/commit
[8021Q]: vlan_ioctl_handler: fix return value
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 24 Jul 2007 22:37:11 +0000 (15:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2007 22:37:11 +0000 (15:37 -0700)
commit68c1b657a6568096b1858f3edd86f1774a75d4e7
treeaddc6e4344ba3e54b31fd0a6fc867b938ba3c6f0
parent4c7f6e30475296633b5d4a866871feba41eb5a1d
[8021Q]: vlan_ioctl_handler: fix return value

net/8021q/vlan.c: In function 'vlan_ioctl_handler':
net/8021q/vlan.c:700: warning: 'err' may be used uninitialized in this function

The warning is incorrect, but from my reading this ioctl will return -EINVAL
on success.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c