]> Gentwo Git Trees - linux/.git/commit
misc: pci_endpoint_test: Fix pci_endpoint_test_bars_read_bar() error handling
authorNiklas Cassel <cassel@kernel.org>
Tue, 4 Feb 2025 11:06:41 +0000 (12:06 +0100)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 20 Feb 2025 10:43:04 +0000 (10:43 +0000)
commit5ab50560ce05bcda08514dca5a33c2275f036fc1
treea9d0d02caebc4c7ac05817114005a722e30b6097
parent2014c95afecee3e76ca4a56956a936e23283f05b
misc: pci_endpoint_test: Fix pci_endpoint_test_bars_read_bar() error handling

Commit f26d37ee9bda ("misc: pci_endpoint_test: Fix IOCTL return value")
changed the return value of pci_endpoint_test_bars_read_bar() from false
to -EINVAL on error, however, it failed to update the error handling.

Fixes: f26d37ee9bda ("misc: pci_endpoint_test: Fix IOCTL return value")
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250204110640.570823-2-cassel@kernel.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/misc/pci_endpoint_test.c