bnxt_en: Use a common function to print the same ethtool -f error message.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 30 Aug 2019 03:54:44 +0000 (23:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:02:18 +0000 (14:02 -0700)
commitb3b0ddd07e63d564a3d5500938913805d06a1682
tree2faa2ced10ba1dad6823cc4643f8993350736b27
parent19828bd3d1a05ea23fc93d1add606173055e118e
bnxt_en: Use a common function to print the same ethtool -f error message.

The same message is printed 3 times in the code, so use a common function
to do that.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c