]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit20f330452ad8814f2289a589baf65e21270879a7
tree83bf58b8a9d33bcd4e47340a6cdf25214e5b122d
parentb30c122c0bbb0a1dc413085e177ea09467e65fdb
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