diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-09 12:54:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-09 14:12:30 -0700 |
commit | 711d1dee1c86294b43e33202fb1eabd7e524ed9a (patch) | |
tree | e08311198ea40b896096fe877ae695cf14535a20 /drivers | |
parent | 3d0167f2a627528032821cdeb78b4eab0510460f (diff) | |
download | linux-711d1dee1c86294b43e33202fb1eabd7e524ed9a.tar.bz2 |
devlink: Fix error message in devlink_rate_set_ops_supported()
The WARN_ON() macro takes a condition, it doesn't take a message. Use
WARN() instead.
Fixes: 1897db2ec310 ("devlink: Allow setting tx rate for devlink rate leaf objects")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions