Skip to content

selftests: gpio: fix minor build issues

Kent Gibson linux-gpio linux-kselftest lkml 1 version Applied

Status from this message: Queued for fixes, 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/3selftests: gpio: fix gpio compiling errortools/testing/selftests/gpio/Makefile+1 -00 replies
2/3selftests: gpio: fix uninitialised variable warningtools/testing/selftests/gpio/gpio-mockup-cdev.c+1 -10 replies
3/3selftests: gpio: restore CFLAGS optionstools/testing/selftests/gpio/Makefile+1 -10 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] selftests: gpio: fix minor build issues

This is a series of fixes for minor problems in the building of the GPIO selftests introduced by my rework of those tests.

The first patch is from Li Zhijian and fixes a compiler error when building the selftests in environments with stale system includes. I have reworded the commit comment to make it more to the point in describing the root cause of the problem and the fix, as suggested by Shuah in his initial review of that patch.

The second patch fixes a warning when the tests are compiled with -Wall, and the final patch restores the CFLAGS that should not have been removed in the rework, including the -Wall.

Kent Gibson (2):
selftests: gpio: fix uninitialised variable warning
selftests: gpio: restore CFLAGS options

Li Zhijian (1):
selftests: gpio: fix gpio compiling error

 tools/testing/selftests/gpio/Makefile           | 1 +
 tools/testing/selftests/gpio/gpio-mockup-cdev.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.33.1