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>
Sat, 31 Dec 2022 12:14:27 +0000 (13:14 +0100)
commit3f22a273ef7c1589f23e7d1a03b9897e2702007b
tree29d4dfc147e640ddf15acb02e7a68d66d2211d0f
parent417ef049e3fd3b0d2593c1d5ffa3d0d5d0a018a7
vfio: platform: Do not pass return buffer to ACPI _RST method

[ Upstream commit e67e070632a665c932d534b8b800477bb3111449 ]

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

Fixes: d30daa33ec1d ("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