Skip to content

Commit e35df21

Browse files
mstarovodavem330
authored andcommitted
net: atlantic: Replace ENOTSUPP usage to EOPNOTSUPP
This patch replaces ENOTSUPP (where it was used by mistake) with EOPNOTSUPP. Signed-off-by: Mark Starovoytov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e39b8ff commit e35df21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_nic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ int aq_nic_set_loopback(struct aq_nic_s *self)
11881188

11891189
if (!self->aq_hw_ops->hw_set_loopback ||
11901190
!self->aq_fw_ops->set_phyloopback)
1191-
return -ENOTSUPP;
1191+
return -EOPNOTSUPP;
11921192

11931193
mutex_lock(&self->fwreq_mutex);
11941194
self->aq_hw_ops->hw_set_loopback(self->aq_hw,

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self)
217217

218218
if (rbl_status == 0xF1A7) {
219219
aq_pr_err("No FW detected. Dynamic FW load not implemented\n");
220-
return -ENOTSUPP;
220+
return -EOPNOTSUPP;
221221
}
222222

223223
for (k = 0; k < 1000; k++) {

0 commit comments

Comments
 (0)