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

Petr Vorel pvorel@suse.cz
Wed Jan 26 13:35:40 CET 2022


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
linux-parisc@vger.kernel.org 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

-- 
2.34.1



More information about the ltp mailing list