]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: fix error code in igb_add_ethtool_nfc_entry()
authorGangfeng Huang <gangfeng.huang@ni.com>
Wed, 6 Jul 2016 05:22:57 +0000 (13:22 +0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:31 +0000 (14:28 -0700)
commitaf5c2feb928a9059448a5dfee8608601c588fecf
tree5b43795e55c41d0b73285aaf9ee4db0bcae09bc4
parent11bbb7718e9f85a58ed31363768bad479f3de4fa
igb: fix error code in igb_add_ethtool_nfc_entry()

Use error "rmgr: Cannot insert RX class rule: Operation not supported" is
more meaningful than "rmgr: Cannot insert RX class rule: Unknown error 524"

Signed-off-by: Gangfeng Huang <gangfeng.huang@ni.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 54be81328c07324a88cd5dd86b2e7422db3e768e)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c