Files
linux-stable-mirror/drivers
Dan Carpenter ca8c08db64 wifi: iwlwifi: Fix some error codes
[ Upstream commit c6ebb5b676 ]

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: 2a8084147b ("iwlwifi: acpi: support reading and storing WRDS revision 1 and 2")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://msgid.link/9620bb77-2d7c-4d76-b255-ad824ebf8e35@moroto.mountain
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:55:02 +01:00
..
2023-09-19 12:22:47 +02:00
2023-11-20 11:08:27 +01:00
2024-02-23 08:55:02 +01:00
2023-11-20 11:08:22 +01:00
2024-02-23 08:54:38 +01:00
2024-01-25 14:52:31 -08:00
2023-12-13 18:36:31 +01:00