diff options
author | Taehee Yoo <ap420073@gmail.com> | 2020-02-28 18:01:46 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 09:44:10 +0200 |
commit | 119858caf4004bc189fd5c7a336d5ba426832f7b (patch) | |
tree | 8b87c98c0d3c013a6d2302349b90da5d2fe81992 /net/bluetooth/hci_request.c | |
parent | 3a826ffa80d5c73ad7338fd98ace9c5b53844968 (diff) |
hsr: use netdev_err() instead of WARN_ONCE()
commit 4b793acdca0050739b99ace6a8b9e7f717f57c6b upstream.
When HSR interface is sending a frame, it finds a node with
the destination ethernet address from the list.
If there is no node, it calls WARN_ONCE().
But, using WARN_ONCE() for this situation is a little bit overdoing.
So, in this patch, the netdev_err() is used instead.
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: George Kennedy <george.kennedy@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions