Commit e35df218 authored by Mark Starovoytov's avatar Mark Starovoytov Committed by David S. Miller

net: atlantic: Replace ENOTSUPP usage to EOPNOTSUPP

This patch replaces ENOTSUPP (where it was used by mistake) with
EOPNOTSUPP.
Signed-off-by: default avatarMark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e39b8ffe
...@@ -1188,7 +1188,7 @@ int aq_nic_set_loopback(struct aq_nic_s *self) ...@@ -1188,7 +1188,7 @@ int aq_nic_set_loopback(struct aq_nic_s *self)
if (!self->aq_hw_ops->hw_set_loopback || if (!self->aq_hw_ops->hw_set_loopback ||
!self->aq_fw_ops->set_phyloopback) !self->aq_fw_ops->set_phyloopback)
return -ENOTSUPP; return -EOPNOTSUPP;
mutex_lock(&self->fwreq_mutex); mutex_lock(&self->fwreq_mutex);
self->aq_hw_ops->hw_set_loopback(self->aq_hw, self->aq_hw_ops->hw_set_loopback(self->aq_hw,
......
...@@ -217,7 +217,7 @@ static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self) ...@@ -217,7 +217,7 @@ static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self)
if (rbl_status == 0xF1A7) { if (rbl_status == 0xF1A7) {
aq_pr_err("No FW detected. Dynamic FW load not implemented\n"); aq_pr_err("No FW detected. Dynamic FW load not implemented\n");
return -ENOTSUPP; return -EOPNOTSUPP;
} }
for (k = 0; k < 1000; k++) { for (k = 0; k < 1000; k++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment