Skip to content

m4: Fix warnings, remove old checks

Petr Vorel ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 11 repliesIn review

Changes in v2 from the cover letter

* new commits to remove ltp-scanner and various checks.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7pan: Remove ltp-scanner.gitignore INSTALL configure.ac +11 more+0 -22352 replies
2/7m4: Remove check for io_set_eventfdm4/ltp-eventfd.m4 testcases/kernel/syscalls/eventfd/eventfd01.c+2 -271 reply
3/7m4: Remove check for struct perf_event_attrconfigure.ac m4/ltp-perf_event_open.m4 testcases/cve/cve-2015-3290.c +3 more+8 -471 reply
4/7realtime/m4: Simplify exp10 checktestcases/realtime/configure.ac testcases/realtime/m4/ltp-exp10.m4+2 -392 replies
5/7m4: Remove check for MREMAP_FIXEDconfigure.ac m4/ltp-mremap_fixed.m4 testcases/kernel/mem/thp/thp02.c +1 more+0 -291 reply
6/7m4: Remove check for clone() supports 7 argsconfigure.ac lib/cloner.c m4/ltp-clone7args.m4+0 -281 reply
7/7m4: Fix warningsconfigure.ac m4/ltp-kernel_devel.m4 testcases/realtime/m4/check.m4+18 -181 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchCyril HrubisJan Stancek
1/7R-b A-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7Reviwed-by
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/7] m4: Fix warnings, remove old checks

Hi,

changes v1->v2:
* new commits to remove ltp-scanner and various checks.

There are still some AC_LINK_IFELSE left and some check could be for sure fixed (e.g. LIBNUMA_API_VERSION 2 is old enough to remove the check), but let§s postpone it to later.

I also wanted to further clean lib/cloner.c - I wanted to remove ltp_clone_ and __clone2 for ia64 [1]. ia64 is EOL [2], but hppa is still supported [3]. Maybe I should ask James Bottomley and [email protected] whether they even use LTP for testing.

Tested:
https://github.com/pevik/ltp/actions/runs/1750787899
(opensuse/leap has installation problem, not related to this issue)

Kind regards,
Petr

[1] https://github.com/pevik/ltp/commit/e7da898e16ad592f6bc311c3bad6e0c82977fec4
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=228345bf98cd78f91d007478a51f9a471489e44a
[3] https://parisc.wiki.kernel.org/index.php/Main_Page#PA-RISC_NEWS

Petr Vorel (7):
pan: Remove ltp-scanner
m4: Remove check for io_set_eventfd
m4: Remove check for struct perf_event_attr
realtime/m4: Simplify exp10 check
m4: Remove check for MREMAP_FIXED
m4: Remove check for clone() supports 7 args
m4: Fix warnings

 .gitignore                                    |   1 -
 INSTALL                                       |   2 -
 configure.ac                                  |  28 +-
 lib/cloner.c                                  |  10 -
 m4/ltp-clone7args.m4                          |  17 -
 m4/ltp-eventfd.m4                             |  11 +-
 m4/ltp-kernel_devel.m4                        |   6 +-
 m4/ltp-mremap_fixed.m4                        |  12 -
 m4/ltp-perf_event_open.m4                     |  16 -
 pan/Makefile                                  |   8 -
 pan/debug.c                                   |  84 ---
 pan/debug.h                                   |  67 ---
 pan/ltp-scanner.c                             | 175 -------
 pan/reporter.c                                | 270 ----------
 pan/reporter.h                                |  80 ---
 pan/scan.h                                    |  42 --
 pan/scan.l                                    | 456 -----------------
 pan/symbol.c                                  | 467 -----------------
 pan/symbol.h                                  | 104 ----
 pan/tag_report.c                              | 478 ------------------
 testcases/cve/cve-2015-3290.c                 |   7 +-
 testcases/kernel/mem/thp/thp02.c              |   5 -
 testcases/kernel/syscalls/eventfd/eventfd01.c |  18 +-
 testcases/kernel/syscalls/mremap/mremap05.c   |  11 -
 .../perf_event_open/perf_event_open01.c       |  16 +-
 .../perf_event_open/perf_event_open02.c       |   8 +-
 .../perf_event_open/perf_event_open03.c       |   7 +-
 testcases/realtime/configure.ac               |   4 +-
 testcases/realtime/m4/check.m4                |   6 +-
 testcases/realtime/m4/ltp-exp10.m4            |  37 --
 30 files changed, 30 insertions(+), 2423 deletions(-)
 delete mode 100644 m4/ltp-clone7args.m4
 delete mode 100644 m4/ltp-mremap_fixed.m4
 delete mode 100644 m4/ltp-perf_event_open.m4
 delete mode 100644 pan/debug.c
 delete mode 100644 pan/debug.h
 delete mode 100644 pan/ltp-scanner.c
 delete mode 100644 pan/reporter.c
 delete mode 100644 pan/reporter.h
 delete mode 100644 pan/scan.h
 delete mode 100644 pan/scan.l
 delete mode 100644 pan/symbol.c
 delete mode 100644 pan/symbol.h
 delete mode 100644 pan/tag_report.c
 delete mode 100644 testcases/realtime/m4/ltp-exp10.m4
Signature · 5 lines
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp