[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061202213339.GB2714@martell.zuzino.mipt.ru>
Date: Sun, 3 Dec 2006 00:33:39 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: netdev@...r.kernel.org
Cc: Ralf Baechle <ralf@...ux-mips.org>
Subject: [PATCH] rose_add_loopback_node: propagate -E
David Binderman's icc logs:
net/rose/rose_route.c(399): remark #593: variable "err" was set but never used
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
net/rose/rose_route.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/net/rose/rose_route.c
+++ b/net/rose/rose_route.c
@@ -396,7 +396,7 @@ int rose_add_loopback_neigh(void)
int rose_add_loopback_node(rose_address *address)
{
struct rose_node *rose_node;
- unsigned int err = 0;
+ int err = 0;
spin_lock_bh(&rose_node_list_lock);
@@ -432,7 +432,7 @@ int rose_add_loopback_node(rose_address
out:
spin_unlock_bh(&rose_node_list_lock);
- return 0;
+ return err;
}
/*
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists