Skip to content

pci_endpoint_test: Fix module removal/insertion cycle

Kishon Vijay Abraham I linux-omap linux-pci lkml 1 version Applied

Status from this message: Applied to pci/endpoint for v4.15, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3misc: pci_endpoint_test: Fix failure path return values in probedrivers/misc/pci_endpoint_test.c+2 -00 replies
2/3misc: pci_endpoint_test: Fix pci_endpoint_test not releasing resources on removedrivers/misc/pci_endpoint_test.c+10 -20 replies
3/3misc: pci_endpoint_test: Fix BUG_ON error during pci_disable_msidrivers/misc/pci_endpoint_test.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pci_endpoint_test: Fix module removal/insertion cycle

This series fixes module removal/insertion cycle of pci_endpoint_test.

Without this series, when trying to modprobe pci_endpoint_test after rmmod pci_endpoint_test results in the following errors.

pci-endpoint-test 0000:01:00.0: BAR 0: can't reserve [mem 0x20204600-0x202046ff] pci-endpoint-test 0000:01:00.0: Cannot obtain PCI resources
pci-endpoint-test: probe of 0000:01:00.0 failed with error -16

Kishon Vijay Abraham I (3):
misc: pci_endpoint_test: Fix failure path return values in probe
misc: pci_endpoint_test: Fix pci_endpoint_test not releasing resources
on remove
misc: pci_endpoint_test: Fix BUG_ON error during pci_disable_msi

 drivers/misc/pci_endpoint_test.c | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)
Signature · 1 line
2.11.0