diff options
author | Alexandra Winter <wintera@linux.ibm.com> | 2020-02-20 15:54:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 10:30:47 -0800 |
commit | 6f3846f0955308b6d1b219419da42b8de2c08845 (patch) | |
tree | 572685eabc9c6050724aeb1526cfe316f5c8bca6 /samples/kobject | |
parent | 16a556eeb7ed2dc3709fe2c5be76accdfa4901ab (diff) |
s390/qeth: vnicc Fix EOPNOTSUPP precedence
When getting or setting VNICC parameters, the error code EOPNOTSUPP
should have precedence over EBUSY.
EBUSY is used because vnicc feature and bridgeport feature are mutually
exclusive, which is a temporary condition.
Whereas EOPNOTSUPP indicates that the HW does not support all or parts of
the vnicc feature.
This issue causes the vnicc sysfs params to show 'blocked by bridgeport'
for HW that does not support VNICC at all.
Fixes: caa1f0b10d18 ("s390/qeth: add VNICC enable/disable support")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions