]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: at86rf230: switch from BUG_ON() to WARN_ON() on problem
authorStefan Schmidt <stefan@datenfreihafen.org>
Fri, 22 Sep 2017 12:13:53 +0000 (14:13 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 9 Jul 2018 08:05:46 +0000 (10:05 +0200)
commitad57c9d8fefb28446573bdac5d6fccba0c19a3a3
tree83bf58b8a9d33bcd4e47340a6cdf25214e5b122d
parenta4cdca079700382b6781e8c740ca1f28c61363f4
ieee802154: at86rf230: switch from BUG_ON() to WARN_ON() on problem

The check is valid but it does not warrant to crash the kernel. A
WARN_ON() is good enough here.
Found by checkpatch.

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/at86rf230.c