Return-Path: Received: from mail-we0-f172.google.com ([74.125.82.172]:40889 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755911AbaHHGtA (ORCPT ); Fri, 8 Aug 2014 02:49:00 -0400 Received: by mail-we0-f172.google.com with SMTP id x48so5195613wes.31 for ; Thu, 07 Aug 2014 23:48:59 -0700 (PDT) Date: Fri, 8 Aug 2014 08:48:56 +0200 From: Alexander Aring Message-ID: <20140808064854.GB20055@omega> References: <1407479079-5114-1-git-send-email-alex.aring@gmail.com> <20140808062814.GA20055@omega> <53E4700E.5020506@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <53E4700E.5020506@gmail.com> Sender: linux-wpan-owner@vger.kernel.org List-ID: Subject: Re: [PATCH wpan-next] 6lowpan_rtnl: fix correct return of errno value To: Varka Bhadram Cc: linux-wpan@vger.kernel.org On Fri, Aug 08, 2014 at 12:07:02PM +0530, Varka Bhadram wrote: > On 08/08/2014 11:58 AM, Alexander Aring wrote: > >On Fri, Aug 08, 2014 at 08:24:39AM +0200, Alexander Aring wrote: > >>Signed-off-by: Alexander Aring > >>--- > >> 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 > >> > >Sorry, I will also add a "ieee802154: " to beginning of this commit msg. > > > Also some description about patch..? > No, that's enough it's only one line. What should I say about that? I could say this was introduce by commit blabla... but it doesn't matter. I talked to you about you should write something in your commit msg, but this was a whole driver and there stands "Add support for cc2520..." and nothing more, nothing about hw aack support (address filter), I mean what's the driver supports for these guys which wants to use this driver. Okay, maybe they could check the hardware flags for this. I detected it by doing some experimental things to check how we can do things better. - Alex