net: atlantic: Replace ENOTSUPP usage to EOPNOTSUPP
This patch replaces ENOTSUPP (where it was used by mistake) with EOPNOTSUPP. Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e39b8ffeb9
commit
e35df21865
|
@ -1188,7 +1188,7 @@ int aq_nic_set_loopback(struct aq_nic_s *self)
|
|||
|
||||
if (!self->aq_hw_ops->hw_set_loopback ||
|
||||
!self->aq_fw_ops->set_phyloopback)
|
||||
return -ENOTSUPP;
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
mutex_lock(&self->fwreq_mutex);
|
||||
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)
|
|||
|
||||
if (rbl_status == 0xF1A7) {
|
||||
aq_pr_err("No FW detected. Dynamic FW load not implemented\n");
|
||||
return -ENOTSUPP;
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
for (k = 0; k < 1000; k++) {
|
||||
|
|
Loading…
Reference in New Issue