Tag: b30bb89f0fb29502f573d01419391a1e2a4cc4f1

fujitsu-laptop: fix error return code

Author: Julia Lawall <Julia.Lawall@lip6.fr> These functions mix the use of result and error. In acpi_fujitsu_add, result does not seem useful; it would seem reasonable to propagate the return value of acpi_bus_update_power in an error case. On the other hand, in the case of acpi_fujitsu_hotkey_add, there is an initialization of result that can lead to what …

Continue reading