mbox series

[v2,0/2] PCI: endpoint: pci-epf-test: Cleanup the usage of 'pci_epf_test::epc_features'

Message ID 20240418-pci-epf-test-fix-v2-0-eacd54831444@linaro.org (mailing list archive)
Headers show
Series PCI: endpoint: pci-epf-test: Cleanup the usage of 'pci_epf_test::epc_features' | expand

Message

Manivannan Sadhasivam April 18, 2024, 7:59 a.m. UTC
Hello,

This series cleans up the usage of PCI EPC features in the pci-epf-test driver.
First patch fixes a smatch warning reported by Dan Carpenter and second one is a
cleanup suggested by Niklas.

- Mani

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
Changes in v2:
- Modified the patch 1/1 as per comments and added Fixes tag
- Added a new patch 2/2 to cleanup one more instance of 'epc_features'
- Link to v1: https://lore.kernel.org/r/20240417-pci-epf-test-fix-v1-1-653c911d1faa@linaro.org

---
Manivannan Sadhasivam (2):
      PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init()
      PCI: endpoint: pci-epf-test: Use 'msix_capable' flag directly in pci_epf_test_alloc_space()

 drivers/pci/endpoint/functions/pci-epf-test.c | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)
---
base-commit: 6e47dcb2ca223211c43c37497836cd9666c70674
change-id: 20240417-pci-epf-test-fix-2209ae22be80

Best regards,