Skip to content

Fix a bunch of warnings (mainly old-style-definition)

Michael Moese ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19fix warning on old style function definitiontestcases/misc/f00f/f00f.c+2 -20 replies
2/19fix default int in function definitiontestcases/network/stress/ns-tools/ns-udpserver.c+1 -10 replies
3/19fix old style definition in nfs_lock.ctestcases/network/nfs/nfslock01/nfs_flock.c+1 -30 replies
4/19fix old style definition in mc_gethost.ctestcases/network/multicast/mc_gethost/mc_gethost.c+1 -30 replies
5/19remove duplicate const in mremap05.ctestcases/kernel/syscalls/mremap/mremap05.c+1 -10 replies
6/19fix old style definition in pidns06.ctestcases/kernel/containers/pidns/pidns06.c+1 -10 replies
7/19fix old style function definition in memcg_process_stress.ctestcases/kernel/controllers/memcg/stress/memcg_process_stress.c+1 -10 replies
8/19fix two old style function definitions in mem_process.ctestcases/kernel/controllers/memcg/control/mem_process.c+2 -20 replies
9/19fix old-style-definition in vfork.ctestcases/kernel/controllers/freezer/vfork.c+2 -20 replies
10/19fix old style function definitions in libcpuset.ctestcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c+17 -170 replies
11/19fix old style definition in cpuctl_test04.ctestcases/kernel/controllers/cpuctl/cpuctl_test04.c+1 -10 replies
12/19fix old style definition in cpuctl_test01.ctestcases/kernel/controllers/cpuctl/cpuctl_test01.c+1 -10 replies
13/19fix old style definition and unuses argc/argv in main() in cpuctl_test02.ctestcases/kernel/controllers/cpuctl/cpuctl_test02.c+3 -30 replies
14/19fix unused parameter in tpci.ctestcases/kernel/device-drivers/pci/tpci_user/tpci.c+3 -30 replies
15/19fix old style definitions in memctl_test01.ctestcases/kernel/controllers/memctl/memctl_test01.c+5 -30 replies
16/19fix old style definitions in cpuctl_def_task04.ctestcases/kernel/controllers/cpuctl/cpuctl_def_task04.c+1 -10 replies
17/19fix old style definitions in fsx-linux.ctestcases/kernel/fs/fsx-linux/fsx-linux.c+3 -70 replies
18/19fix old style definition in inode02.ctestcases/kernel/fs/inode/inode02.c+30 -370 replies
19/19fix old style definition in inode01.ctestcases/kernel/fs/inode/inode01.c+27 -310 replies

Reviews trailers per patch

None of the 19 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Vorel
SeriesA-b
1/19
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

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

Read the v1 thread

Cover letter [LTP] [PATCH 00/19] Fix a bunch of warnings (mainly old-style-definition)

Hi,
I was able to find the time to fix a bunch of the warnings when building LTP. With a fex exceptions, this was fixig function definitions, like changing int foo() to int foo(void) or changing old K&R-style to what you would expect. None of the changes was bigger than that. I did one patch per file, and each of them was individually build-tested.

Michael

Michael Moese (19):
fix warning on old style function definition
fix default int in function definition
fix old style definition in nfs_lock.c
fix old style definition in mc_gethost.c
remove duplicate const in mremap05.c
fix old style definition in pidns06.c
fix old style function definition in memcg_process_stress.c fix two old style function definitions in mem_process.c fix old-style-definition in vfork.c
fix old style function definitions in libcpuset.c fix old style definition in cpuctl_test04.c
fix old style definition in cpuctl_test01.c
fix old style definition and unuses argc/argv in main() in

    cpuctl_test02.c

fix unused parameter in tpci.c
fix old style definitions in memctl_test01.c fix old style definitions in cpuctl_def_task04.c fix old style definitions in fsx-linux.c fix old style definition in inode02.c fix old style definition in inode01.c

 testcases/kernel/containers/pidns/pidns06.c        |  2 +-
 .../kernel/controllers/cpuctl/cpuctl_def_task04.c  |  2 +-
 .../kernel/controllers/cpuctl/cpuctl_test01.c      |  2 +-
 .../kernel/controllers/cpuctl/cpuctl_test02.c      |  6 +-
 .../kernel/controllers/cpuctl/cpuctl_test04.c      |  2 +-
 .../controllers/cpuset/cpuset_lib/libcpuset.c      | 34 +++++------
 testcases/kernel/controllers/freezer/vfork.c       |  4 +-
 .../kernel/controllers/memcg/control/mem_process.c |  4 +-
 .../memcg/stress/memcg_process_stress.c            |  2 +-
 .../kernel/controllers/memctl/memctl_test01.c      |  8 ++-
 .../kernel/device-drivers/pci/tpci_user/tpci.c     |  6 +-
 testcases/kernel/fs/fsx-linux/fsx-linux.c          | 10 +---
 testcases/kernel/fs/inode/inode01.c                | 58 +++++++++----------
 testcases/kernel/fs/inode/inode02.c                | 67 ++++++++++------------
 testcases/kernel/syscalls/mremap/mremap05.c        |  2 +-
 testcases/misc/f00f/f00f.c                         |  4 +-
 .../network/multicast/mc_gethost/mc_gethost.c      |  4 +-
 testcases/network/nfs/nfslock01/nfs_flock.c        |  4 +-
 testcases/network/stress/ns-tools/ns-udpserver.c   |  2 +-
 19 files changed, 103 insertions(+), 120 deletions(-)
Signature · 1 line
2.13.6