OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_11-22-g195f154

Gerrit Code Review gerrit@openafs.org
Sun, 12 May 2024 23:03:27 -0400


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 195f154aaf2d8aff1f6debdb47c0db8f07cb5c5e
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Feb 29 17:53:31 2024 -0700

    afs: Add static attribute to internal functions
    
    When building against a Linux 6.8 kernel, functions that are missing
    prototypes or declarations are flagged.
    
    We can add the static attribute to functions that are not referenced
    outside of the file that implements them to avoid having these functions
    flagged by the compiler.
    
    These functions are flagged due to missing prototypes when building
    against a Linux 6.8 kernel (which sets the -Wmissing-declarations and
    -Wmissing-prototypes compiler flags as default). Linux 6.8 commit:
     'Makefile.extrawarn: turn on missing-prototypes globally' (0fcb70851f).
    
    When building against a kernel with CONFIG_WERROR=y, the build fails.
    
    There are no functional changes in this commit.
    
    Reviewed-on: https://gerrit.openafs.org/15625
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit efee796f28b53bf3ffc03186f81790c36c23c94c)
    
    Change-Id: I0d923a65731f825d6c190056b0ccc3d362236706
    Reviewed-on: https://gerrit.openafs.org/15700
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/LINUX/osi_file.c       |  2 +-
 src/afs/LINUX/osi_module.c     |  4 ++--
 src/afs/LINUX/osi_pag_module.c |  4 ++--
 src/afs/afs_call.c             |  6 +++---
 src/afs/afs_disconnected.c     | 20 ++++++++++----------
 src/afs/afs_fetchstore.c       | 42 +++++++++++++++++++++---------------------
 src/afs/afs_icl.c              |  4 ++--
 src/afs/afs_pag_cred.c         |  4 ++--
 src/afs/afs_server.c           |  2 +-
 src/afs/afs_vcache.c           |  2 +-
 10 files changed, 45 insertions(+), 45 deletions(-)

-- 
OpenAFS Master Repository