]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ieee802154: cc2520: switch from BUG_ON() to WARN_ON() on problem
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 22 Sep 2017 12:14:04 +0000 (14:14 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Nov 2017 15:27:55 +0000 (16:27 +0100)
commitcd3a21b5bd27b9b92df7025e72cb4275c5ea6e58
tree2f0272c99fd2d6159b9e6ac8ff6dadd1b9962c85
parenta8ab042c8099a4fe4d81cccec09f67556697dedd
ieee802154: cc2520: 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>
Acked-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/cc2520.c