linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] Convert old-style function definitions into modern-style definitions
@ 2025-08-18 15:08 Steve Dickson
  2025-08-18 15:08 ` [PATCH 01/12] " Steve Dickson
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Steve Dickson @ 2025-08-18 15:08 UTC (permalink / raw)
  To: Libtirpc-devel Mailing List; +Cc: Linux NFS Mailing list

This patch set converts all of the old-style function definitions
into modern-style definitions through out the library... 
basically touching almost every function definition.

The conversion was pretty straightforward... The same 
repetitive changes were make on all the functions
and the compiler pointed out any declaration issue
that came up. I'm confident the API did not change.

I test the changes by doing kernel builds over both
secured and unsecured mounts. I also ran my Bakeathon 
Cthon tool which mounts all versions, simultaneously, 
and runs cthon test on them... both secured and
insecure mounts... for over 48hrs.

The one part I didn't test was the NIS support
since I didn't have a NIS setup... I'm pretty
confident things should work... Again the
changes were I'm all straightforward.

Reviews are welcome!

Steve Dickson (12):
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions

 src/auth_time.c     |  42 +++---
 src/auth_unix.c     |  29 ++---
 src/authunix_prot.c |   4 +-
 src/bindresvport.c  |   4 +-
 src/clnt_bcast.c    |  46 ++++---
 src/clnt_dg.c       |  59 ++++-----
 src/clnt_perror.c   |  23 +---
 src/clnt_raw.c      |  46 +++----
 src/clnt_simple.c   |  19 +--
 src/clnt_vc.c       |  75 +++++------
 src/getnetconfig.c  |  24 ++--
 src/getnetpath.c    |  12 +-
 src/getpublickey.c  |  20 +--
 src/getrpcport.c    |   8 +-
 src/key_call.c      |  58 ++++-----
 src/netname.c       |  19 ++-
 src/netnamer.c      |  31 ++---
 src/pmap_getmaps.c  |   3 +-
 src/pmap_getport.c  |  10 +-
 src/pmap_prot.c     |   4 +-
 src/pmap_prot2.c    |   8 +-
 src/pmap_rmt.c      |  31 +++--
 src/rpc_callmsg.c   |   4 +-
 src/rpc_generic.c   |  31 ++---
 src/rpc_prot.c      |  36 ++---
 src/rpc_soc.c       | 310 ++++++++++++++++++++++----------------------
 src/rpcb_clnt.c     | 154 +++++++++++-----------
 src/rpcb_prot.c     |  48 +++----
 src/rpcb_st_xdr.c   |  42 +++---
 src/rpcdname.c      |   3 +-
 src/rtime.c         |  11 +-
 src/svc.c           | 107 +++++++--------
 src/svc_auth.c      |  14 +-
 src/svc_auth_unix.c |  12 +-
 src/svc_dg.c        |  75 +++++------
 src/svc_generic.c   |  32 ++---
 src/svc_raw.c       |  46 ++++---
 src/svc_simple.c    |  19 ++-
 src/svc_vc.c        | 111 ++++++++--------
 src/xdr.c           | 224 ++++++++++++++++----------------
 src/xdr_array.c     |  26 ++--
 src/xdr_float.c     |  12 +-
 src/xdr_mem.c       |  74 +++++------
 src/xdr_rec.c       | 121 ++++++++---------
 src/xdr_reference.c |  20 +--
 src/xdr_sizeof.c    |  30 ++---
 src/xdr_stdio.c     |  54 ++++----
 47 files changed, 1032 insertions(+), 1159 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 00/12] Convert old-style function definitions into modern-style definitions
@ 2025-08-21 11:15 Steve Dickson
  2025-08-21 11:15 ` [PATCH 06/12] " Steve Dickson
  0 siblings, 1 reply; 16+ messages in thread
From: Steve Dickson @ 2025-08-21 11:15 UTC (permalink / raw)
  To: Libtirpc-devel Mailing List; +Cc: Linux NFS Mailing list

This patch set converts all of the old-style function definitions
into modern-style definitions through out the library... 
basically touching almost every function definition.

The conversion was pretty straightforward... The same 
repetitive changes were make on all the functions
and the compiler pointed out any declaration issue
that came up. I'm confident the API did not change.

I test the changes by doing kernel builds over both
secured and unsecured mounts. I also ran my Bakeathon 
Cthon tool which mounts all versions, simultaneously, 
and runs cthon test on them... both secured and
insecure mounts... for over 48hrs.

The one part I didn't test was the NIS support
since I didn't have a NIS setup... I'm pretty
confident things should work... Again the
changes were I'm all straightforward.

Reviews are welcome!

Steve Dickson (12):
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions
  Convert old-style function definitions into modern-style definitions

 src/auth_time.c     |  42 +++---
 src/auth_unix.c     |  29 ++---
 src/authunix_prot.c |   4 +-
 src/bindresvport.c  |   4 +-
 src/clnt_bcast.c    |  46 ++++---
 src/clnt_dg.c       |  59 ++++-----
 src/clnt_perror.c   |  23 +---
 src/clnt_raw.c      |  46 +++----
 src/clnt_simple.c   |  19 +--
 src/clnt_vc.c       |  75 +++++------
 src/getnetconfig.c  |  24 ++--
 src/getnetpath.c    |  12 +-
 src/getpublickey.c  |  20 +--
 src/getrpcport.c    |   8 +-
 src/key_call.c      |  58 ++++-----
 src/netname.c       |  19 ++-
 src/netnamer.c      |  31 ++---
 src/pmap_getmaps.c  |   3 +-
 src/pmap_getport.c  |  10 +-
 src/pmap_prot.c     |   4 +-
 src/pmap_prot2.c    |   8 +-
 src/pmap_rmt.c      |  31 +++--
 src/rpc_callmsg.c   |   4 +-
 src/rpc_generic.c   |  31 ++---
 src/rpc_prot.c      |  36 ++---
 src/rpc_soc.c       | 310 ++++++++++++++++++++++----------------------
 src/rpcb_clnt.c     | 154 +++++++++++-----------
 src/rpcb_prot.c     |  48 +++----
 src/rpcb_st_xdr.c   |  42 +++---
 src/rpcdname.c      |   3 +-
 src/rtime.c         |  11 +-
 src/svc.c           | 107 +++++++--------
 src/svc_auth.c      |  14 +-
 src/svc_auth_unix.c |  12 +-
 src/svc_dg.c        |  75 +++++------
 src/svc_generic.c   |  32 ++---
 src/svc_raw.c       |  46 ++++---
 src/svc_simple.c    |  19 ++-
 src/svc_vc.c        | 111 ++++++++--------
 src/xdr.c           | 224 ++++++++++++++++----------------
 src/xdr_array.c     |  26 ++--
 src/xdr_float.c     |  12 +-
 src/xdr_mem.c       |  74 +++++------
 src/xdr_rec.c       | 121 ++++++++---------
 src/xdr_reference.c |  20 +--
 src/xdr_sizeof.c    |  30 ++---
 src/xdr_stdio.c     |  54 ++++----
 47 files changed, 1032 insertions(+), 1159 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-08-25 15:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 15:08 [PATCH 00/12] Convert old-style function definitions into modern-style definitions Steve Dickson
2025-08-18 15:08 ` [PATCH 01/12] " Steve Dickson
2025-08-21 12:24   ` [Libtirpc-devel] " Steve Dickson
2025-08-25 15:05   ` Steve Dickson
2025-08-18 15:08 ` [PATCH 02/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 03/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 04/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 05/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 06/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 07/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 08/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 09/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 10/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 11/12] " Steve Dickson
2025-08-18 15:08 ` [PATCH 12/12] " Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2025-08-21 11:15 [PATCH 00/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 06/12] " Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).