diff options
author | Dan Carpenter <[email protected]> | 2024-02-08 13:17:06 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-02-08 13:49:37 +0100 |
commit | c6ebb5b67641994de8bc486b33457fe0b681d6fe (patch) | |
tree | aab99019b7361ab9c83de63b7e0480778ea74b36 /scripts/generate_rust_analyzer.py | |
parent | 3012477cd510044d346c5e0465ead4732aef8349 (diff) |
wifi: iwlwifi: Fix some error codes
This saves the error as PTR_ERR(wifi_pkg). The problem is that
"wifi_pkg" is a valid pointer, not an error pointer. Set the error code
to -EINVAL instead.
Fixes: 2a8084147bff ("iwlwifi: acpi: support reading and storing WRDS revision 1 and 2")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions