All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] refine the MIN/MAX macros
@ 2022-03-11  5:46 Li Wang
  2022-03-11  5:46 ` [LTP] [PATCH 1/3] include: replace min/max macro by the new definition Li Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Li Wang @ 2022-03-11  5:46 UTC (permalink / raw)
  To: ltp

Add type checking to MIN/MAX and make use of them for both
new and old testcases.

Li Wang (3):
  include: replace min/max macro by the new definition
  lib: adding unnecessary pointer comparison
  minmax: ensure the comparison numbers have compatible type

 include/ipcmsg.h                                      | 2 --
 include/libnewipc.h                                   | 1 -
 include/tst_minmax.h                                  | 2 ++
 lib/tst_cgroup.c                                      | 2 +-
 lib/tst_memutils.c                                    | 4 ++--
 lib/tst_timer_test.c                                  | 4 ++--
 testcases/kernel/mem/mmapstress/mmapstress01.c        | 3 +--
 testcases/kernel/mem/mmapstress/mmapstress09.c        | 1 -
 testcases/kernel/mem/mmapstress/mmapstress10.c        | 3 +--
 testcases/kernel/security/cap_bound/cap_bounds_r.c    | 3 +--
 testcases/kernel/security/cap_bound/cap_bounds_rw.c   | 7 +++----
 testcases/kernel/syscalls/fallocate/fallocate06.c     | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress01.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress02.c | 2 +-
 14 files changed, 16 insertions(+), 22 deletions(-)

-- 
2.31.1


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-24  2:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11  5:46 [LTP] [PATCH 0/3] refine the MIN/MAX macros Li Wang
2022-03-11  5:46 ` [LTP] [PATCH 1/3] include: replace min/max macro by the new definition Li Wang
2022-03-23 10:19   ` Petr Vorel
2022-03-24  2:52     ` Li Wang
2022-03-11  5:46 ` [LTP] [PATCH 2/3] lib: adding unnecessary pointer comparison Li Wang
2022-03-23 10:22   ` Petr Vorel
2022-03-11  5:46 ` [LTP] [PATCH 3/3] minmax: ensure the comparison numbers have compatible type Li Wang
2022-03-11  8:52   ` Li Wang
2022-03-23 13:33     ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.