diff options
| author | Kohei Enju <enjuk@amazon.com> | 2025-10-06 15:35:21 +0300 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-10-28 22:49:59 +0300 |
| commit | bc73c5885c606f5e48dd4222eba0361fa0f146ca (patch) | |
| tree | cfe6ad85053d7cb50d6ce246b506c52c71dc93d8 /tools/lib/python | |
| parent | 81fb1fe75c672db905b54f4ab744552121099a24 (diff) | |
| download | linux-bc73c5885c606f5e48dd4222eba0361fa0f146ca.tar.xz | |
igb: use EOPNOTSUPP instead of ENOTSUPP in igb_get_sset_count()
igb_get_sset_count() returns -ENOTSUPP when a given stringset is not
supported, causing userland programs to get "Unknown error 524".
Since EOPNOTSUPP should be used when error is propagated to userland,
return -EOPNOTSUPP instead of -ENOTSUPP.
Fixes: 9d5c824399de ("igb: PCI-Express 82575 Gigabit Ethernet driver")
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
