All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Alexander Aring <aar@pengutronix.de>
Cc: linux-wpan@vger.kernel.org,
	Linux Bluetooth <linux-bluetooth@vger.kernel.org>,
	kernel@pengutronix.de, dan.carpenter@oracle.com
Subject: Re: [PATCH bluetooth-next] 6lowpan: iphc: fix invalid case handling
Date: Fri, 26 Feb 2016 00:12:14 -0800	[thread overview]
Message-ID: <1838E9E0-1AC3-42D9-B553-68BBAD85E1C1@holtmann.org> (raw)
In-Reply-To: <1456473967-26721-1-git-send-email-aar@pengutronix.de>

Hi Alex,

> This patch fixes the return value in a case which should never occur.
> Instead returning "-EINVAL" we return LOWPAN_IPHC_DAM_00 which is
> invalid on context based addresses. Also change the WARN_ON_ONCE to
> WARN_ONCE which was suggested by Dan Carpenter.
> 
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Alexander Aring <aar@pengutronix.de>
> ---
> net/6lowpan/iphc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel


      reply	other threads:[~2016-02-26  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26  8:06 [PATCH bluetooth-next] 6lowpan: iphc: fix invalid case handling Alexander Aring
2016-02-26  8:12 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1838E9E0-1AC3-42D9-B553-68BBAD85E1C1@holtmann.org \
    --to=marcel@holtmann.org \
    --cc=aar@pengutronix.de \
    --cc=dan.carpenter@oracle.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.