]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Use NL_SET_ERR_MSG_MOD for TC
authorSubbaraya Sundeep <sbhatta@marvell.com>
Tue, 15 Jun 2021 11:34:30 +0000 (17:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2021 18:11:05 +0000 (11:11 -0700)
commita40c67f1cd9a4a3caef8f768933407db8494a494
tree126a02bcdb372933ad431293a924154aa1d2cf6e
parent1c360ca2529027cf31351dae1d47b2c768ef3d8c
octeontx2-pf: Use NL_SET_ERR_MSG_MOD for TC

This patch modifies all netdev_err messages in
tc code to NL_SET_ERR_MSG_MOD. NL_SET_ERR_MSG_MOD
does not support format specifiers yet hence
netdev_err messages with only strings are modified.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c