[PATCH] VLAN: Add two missing checks to vlan_ioctl_handler()

2005-12-21 Thread Mika Kukkonen
In vlan_ioctl_handler() the code misses couple checks for error return values. Signed-of-by: Mika Kukkonen <[EMAIL PROTECTED]> --- net/8021q/vlan.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 91e412b..67465b6

[PATCH] NETROM: Fix three if-statements in nr_state1_machine()

2005-12-21 Thread Mika Kukkonen
I found these while compiling with extra gcc warnings; considering the indenting surely they are not intentional? Signed-of-by: Mika Kukkonen <[EMAIL PROTECTED]> --- net/netrom/nr_in.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/netrom/nr_in.c b/net/