Colin Ian King 23db673d7e ACPI: scan: initialize local variable to avoid garbage being returned
In the unlikely event that there are no callback calls made in
acpi_walk_dep_device_list(), local variable ret will be returned as
an uninitialized value.

Clean up static analysis warnings by ensuring ret is initialized.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: a9e10e587304 ("ACPI: scan: Extend acpi_walk_dep_device_list()")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Daniel Scally <djrscally@gmail.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-06-10 15:13:26 +02:00
..
2021-04-26 17:04:41 +02:00
2020-11-10 18:52:51 +01:00
2021-04-27 10:16:46 -07:00
2021-04-08 16:17:32 +02:00
2019-06-23 09:23:33 +02:00
2021-04-26 17:04:41 +02:00
2021-04-26 17:04:41 +02:00
2021-01-22 16:17:19 +01:00
2021-02-20 21:50:59 -08:00
2021-04-26 17:04:41 +02:00
2021-05-13 20:39:58 +02:00
2021-04-26 17:04:41 +02:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:25:20 +01:00
2021-05-13 20:39:58 +02:00
2021-02-25 18:57:40 +01:00
2021-02-25 18:57:40 +01:00
2019-11-13 11:12:08 +01:00
2021-02-10 19:09:43 +01:00
2021-05-13 20:39:58 +02:00
2021-04-26 17:04:41 +02:00
2021-03-19 17:45:49 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2020-07-09 14:09:28 +02:00
2020-11-09 19:08:06 +01:00