All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH wpan-next] 6lowpan_rtnl: fix correct return of errno value
@ 2014-08-08  6:24 Alexander Aring
  2014-08-08  6:28 ` Alexander Aring
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Aring @ 2014-08-08  6:24 UTC (permalink / raw)
  To: linux-wpan; +Cc: Alexander Aring

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 net/ieee802154/6lowpan_rtnl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index 0acd273..b6ec3b1 100644
--- a/net/ieee802154/6lowpan_rtnl.c
+++ b/net/ieee802154/6lowpan_rtnl.c
@@ -238,7 +238,7 @@ lowpan_alloc_frag(struct sk_buff *skb, int size,
 			return ERR_PTR(-rc);
 		}
 	} else {
-		frag = ERR_PTR(ENOMEM);
+		frag = ERR_PTR(-ENOMEM);
 	}
 
 	return frag;
-- 
2.0.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-08  6:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08  6:24 [PATCH wpan-next] 6lowpan_rtnl: fix correct return of errno value Alexander Aring
2014-08-08  6:28 ` Alexander Aring
2014-08-08  6:37   ` Varka Bhadram
2014-08-08  6:48     ` Alexander Aring
2014-08-08  6:50       ` Varka Bhadram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.