]> 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>
Sat, 31 Dec 2022 12:32:38 +0000 (13:32 +0100)
commitd0487663d008f4a88e616e40abb638ec43dc8fb5
tree78ae616960ebc1d87eb8c8a32332c8f176d8bc06
parent12b5e43da946ff7b15de919fca562fb297e0cb13
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