]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: pci_endpoint: Add GET_IRQTYPE checks to each interrupt test
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 25 Feb 2025 11:02:47 +0000 (20:02 +0900)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sat, 8 Mar 2025 14:36:00 +0000 (14:36 +0000)
commita28d2f2398060a27ca3ad89d33c9761c7afd5b8a
tree1318f243d85ef7731a194ce48d068016d128f6c0
parentaf1451b6738ec7cf91f2914f53845424959ec4ee
selftests: pci_endpoint: Add GET_IRQTYPE checks to each interrupt test

Add GET_IRQTYPE API checks to each interrupt test.

While at it, change pci_ep_ioctl() to get the appropriate return
value from ioctl().

Suggested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20250225110252.28866-2-hayashi.kunihiko@socionext.com
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
tools/testing/selftests/pci_endpoint/pci_endpoint_test.c