net: ena: change return value for unsupported features unsupported return value
authorNetanel Belgazal <netanel@amazon.com>
Fri, 23 Jun 2017 08:21:50 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 18:15:08 +0000 (14:15 -0400)
commitd1497638b6fedccaef875a5d9f09b3fe4ffbd22d
tree11bf96b9b5504896f965a3e8abb503aef7faf152
parent926f38e9744b2ee6d92085c28ebb50744e9e1182
net: ena: change return value for unsupported features unsupported return value

return -EOPNOTSUPP instead of -EPERM.

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_ethtool.c
drivers/net/ethernet/amazon/ena/ena_netdev.c