OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-299-g1440843

Gerrit Code Review gerrit@openafs.org
Mon, 12 Feb 2024 00:28:07 -0500


The following commit has been merged in the master branch:
commit 1440843b80e28db908bd8c264b8adbfb2c95b4d9
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Wed Feb 7 14:51:23 2024 -0700

    cf: Add function prototypes for linux conftest
    
    The Linux 6.8 commit:
      'Makefile.extrawarn: turn on missing-prototypes globally' (0fcb70851f)
    
    added the compiler flags -Wmissing-declarations and -Wmissing-prototypes
    as defaults for all kernel modules builds.  This change causes configure
    to fail for various Linux kernel tests.
    
    Update the template used to create the conftest.c file to provide a
    function declaration for conftest().
    
    Use a 'static' attribute when defining functions used within tests.
    
    Note: 2 configure tests (LINUX_INIT_WORK_AS_DATA and
    LINUX_IOP_CREATE_TAKES_MODE_T) defined nested functions.  Relocate the
    nested functions to outside the body of conftest() to avoid compiler
    errors due to nested function definitions.
    
    Change-Id: I8e7c375dda82f055556ef5cef50fba2ee5d16819
    Reviewed-on: https://gerrit.openafs.org/15614
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/cf/linux-test1.m4 |  4 ++--
 src/cf/linux-test4.m4 | 16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

-- 
OpenAFS Master Repository