]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: atusb: switch from BUG_ON() to WARN_ON() on problem
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 22 Sep 2017 12:13:58 +0000 (14:13 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Nov 2017 15:16:26 +0000 (16:16 +0100)
commit000aa0428b4edb61cae0b86f231924f9b08687f2
tree5a4df9fcbfd7660c4aff6b93b52b0293dcbc1546
parent44a1c6d42d42d5852b1aee50c9f8691226549e26
ieee802154: atusb: 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@osg.samsung.com>
drivers/net/ieee802154/atusb.c