[PATCH 0/6] staging: comedi: tests: Fix a few more issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix a few more issues with the "drivers/staging/comedi/drivers/test/"
code, including reducing stack usage, declaring more stuff as 'static'
and adding Kconfig code to allow the unit-test modules to be selected to
be built individually.

1) staging: comedi: tests: ni_routes_test: Reduce stack usage
2) staging: comedi: tests: ni_route_tests: Declare functions static
3) staging: comedi: tests: example_test: Reduce stack usage
4) staging: comedi: tests: example_test: Declare functions static
5) staging: comedi: tests: example_test: Rename to 'comedi_example_test'
6) staging: comedi: Add Kconfig options to build unit test modules

 drivers/staging/comedi/Kconfig                     | 33 ++++++++++++++++++++
 drivers/staging/comedi/drivers/tests/Makefile      |  3 +-
 .../{example_test.c => comedi_example_test.c}      |  8 ++---
 .../staging/comedi/drivers/tests/ni_routes_test.c  | 36 +++++++++++-----------
 4 files changed, 57 insertions(+), 23 deletions(-)





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux