summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2018-01-16 19:30:14 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-03-03 15:52:26 +0000
commit75b437804e43949e4840bf7e3c90c22c2b051d5a (patch)
tree3e2ca8e98239a6edd1340d72f229b6fc131d303c /include/linux/platform_data
parent0d8fccb299997baac2122da82f3fae799fe50e91 (diff)
can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once
commit d4689846881d160a4d12a514e991a740bcb5d65a upstream. If an invalid CANFD frame is received, from a driver or from a tun interface, a Kernel warning is generated. This patch replaces the WARN_ONCE by a simple pr_warn_once, so that a kernel, bootet with panic_on_warn, does not panic. A printk seems to be more appropriate here. Reported-by: syzbot+e3b775f40babeff6e68b@syzkaller.appspotmail.com Suggested-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> [bwh: Backported to 3.16: - Keep using the 'drop' label, as it has another user - Adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions