diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-02-26 09:06:07 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-02-26 09:08:15 +0100 |
commit | 2306f65637079c8922aec15b4ced75ea457e757b (patch) | |
tree | 059f638c4e1e1a3b38a5748e137cd0e47ce4d900 /drivers/scsi/a2091.h | |
parent | Bluetooth: hci_uart: Add Intel/AG6xx support (diff) | |
download | linux-2306f65637079c8922aec15b4ced75ea457e757b.tar.xz linux-2306f65637079c8922aec15b4ced75ea457e757b.zip |
6lowpan: iphc: fix invalid case handling
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>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/scsi/a2091.h')
0 files changed, 0 insertions, 0 deletions