]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: platform: Do not pass return buffer to ACPI _RST method
authorRafael Mendonca <rafaelmendsr@gmail.com>
Tue, 18 Oct 2022 15:28:25 +0000 (12:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:22 +0000 (11:41 +0100)
commitf8f9dd3557992b92516d50349dc5249513049a4f
treeae5473e3d91a992577933200d314a9f7123e450d
parent756c2fef5b1c207cad4c5bf2ccd89e0b5244454c
vfio: platform: Do not pass return buffer to ACPI _RST method

[ Upstream commit cbb7ddd7a416813bd657ab635800a16f8deb57fb ]

The ACPI _RST method has no return value, there's no need to pass a return
buffer to acpi_evaluate_object().

Fixes: 54e0678b3d85 ("vfio: platform: call _RST method when using ACPI")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20221018152825.891032-1-rafaelmendsr@gmail.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/vfio/platform/vfio_platform_common.c