]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: amd-pmc: Output error codes in messages
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 17 Mar 2022 14:14:44 +0000 (09:14 -0500)
committerHans de Goede <hdegoede@redhat.com>
Thu, 17 Mar 2022 18:47:24 +0000 (19:47 +0100)
commit8415052cb58cc60a2059e3ea91f418e9f9ee07b9
tree7e11180158734125558af41ea8435332b728a1c8
parent3a4508bfd0157b17d5b8a2b93a88c836a85a7949
platform/x86: amd-pmc: Output error codes in messages

The return type for the s2idle callbacks is 'void', so any errors that
occur will no longer be displayed.

Output these error codes in the messages in case of any failures.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220317141445.6498-3-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c