checks: clean up string parsing
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | checks: tigthen up nr-gpios prop exceptionchecks.c | +1 | 0 replies | |
| 2/4 | dtc.h: add strends for suffix matchingdtc.h | +10 | 0 replies | |
| 3/4 | checks: replace strstr and strrchr with strendschecks.c | +7 | 0 replies | |
| 4/4 | tests: add a positive gpio test casetests/ tests/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] checks: clean up string parsing
Add a new function, strends(), as suggested in [0]. Replace existing suffix logic with calls to strends().
Make nr-gpios exception stricter by aligning with the devicetree spec and the logic in the Linux kernel.
Add a test case to cover correct non-deprecated GPIO properties.
[0]: https://www.spinics.net/lists/devicetree-compiler/msg03634.html
Ilya Lipnitskiy (4):
checks: tigthen up nr-gpios prop exception
dtc.h: add strends for suffix matching
checks: replace strstr and strrchr with strends
tests: add a positive gpio test case
checks.c | 25 +++++++------------------ dtc.h | 10 ++++++++++ tests/good-gpio.dts | 12 ++++++++++++ tests/run_tests.sh | 2 ++ 4 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 tests/good-gpio.dts
Signature · 1 line
2.31.1