Searched hist:b6c55b162bcee62c43c18e59f38a4590be543032 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/acpi/ |
H A D | internal.h | diff b6c55b162bcee62c43c18e59f38a4590be543032 Tue Jan 11 10:50:22 CST 2022 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: scan: Change acpi_scan_init() return value type to void
The only caller of acpi_scan_init(), acpi_init(), doesn't check its return value, so turn it into a void function.
This avoids complaints from the Smatch static checker that the function should return a negative error code when it fails, which is not really a problem in this particular case.
No intentional functional impact.
Link: https://lore.kernel.org/linux-acpi/20220106082317.GA9123@kili/ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
|
H A D | scan.c | diff b6c55b162bcee62c43c18e59f38a4590be543032 Tue Jan 11 10:50:22 CST 2022 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: scan: Change acpi_scan_init() return value type to void
The only caller of acpi_scan_init(), acpi_init(), doesn't check its return value, so turn it into a void function.
This avoids complaints from the Smatch static checker that the function should return a negative error code when it fails, which is not really a problem in this particular case.
No intentional functional impact.
Link: https://lore.kernel.org/linux-acpi/20220106082317.GA9123@kili/ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
|