Skip to content

fpga: add platform drivers to the FPGA KUnit test suites

Marco Pagani linux-fpga lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Renamed include guard symbol in fpga-test-helpers.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fpga: add helpers for the FPGA KUnit test suites.drivers/fpga/tests/fpga-test-helpers.h+29 -00 replies
2/4fpga: add a platform driver to the FPGA Manager test suitedrivers/fpga/tests/fpga-mgr-test.c+17 -10 replies
3/4fpga: add a platform driver to the FPGA Bridge test suitedrivers/fpga/tests/fpga-bridge-test.c+17 -10 replies
4/4fpga: add a platform driver to the FPGA Region test suitedrivers/fpga/tests/fpga-region-test.c+21 -50 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] fpga: add platform drivers to the FPGA KUnit test suites

Add and register minimal platform drivers associated with parent platform devices used for testing to prevent a null-ptr-deref when try_module_get() is called.

v2:
- Renamed include guard symbol in fpga-test-helpers.h

Marco Pagani (4):
fpga: add helpers for the FPGA KUnit test suites.
fpga: add a platform driver to the FPGA Manager test suite
fpga: add a platform driver to the FPGA Bridge test suite
fpga: add a platform driver to the FPGA Region test suite

 drivers/fpga/tests/fpga-bridge-test.c  | 18 +++++++++++++++-
 drivers/fpga/tests/fpga-mgr-test.c     | 18 +++++++++++++++-
 drivers/fpga/tests/fpga-region-test.c  | 26 ++++++++++++++++++-----
 drivers/fpga/tests/fpga-test-helpers.h | 29 ++++++++++++++++++++++++++
 4 files changed, 84 insertions(+), 7 deletions(-)
 create mode 100644 drivers/fpga/tests/fpga-test-helpers.h

base-commit: 6465e260f48790807eef06b583b38ca9789b6072

Signature · 1 line
2.41.0