aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-div.c
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2022-07-29 17:36:55 +0300
committerMarc Kleine-Budde <[email protected]>2022-08-09 09:05:06 +0200
commit8ef49f7f8244424adcf4a546dba4cbbeb0b09c09 (patch)
tree3dd62149c949b849d06b817847331e927ded6da7 /lib/mpi/mpi-div.c
parentb8c3bf0ed2edf2deaedba5f0bf0bb54c76dee71d (diff)
can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
We should warn user-space that it is doing something wrong when trying to activate sessions with identical parameters but WARN_ON_ONCE macro can not be used here as it serves a different purpose. So it would be good to replace it with netdev_warn_once() message. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Fedor Pchelkin <[email protected]> Signed-off-by: Alexey Khoroshilov <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Link: https://lore.kernel.org/all/[email protected] [mkl: fix indention] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions