OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-24-gd6a2b4b

Gerrit Code Review gerrit@openafs.org
Fri, 6 Dec 2024 07:04:21 -0500


The following commit has been merged in the master branch:
commit d6a2b4b44ddaec54f78737ab1971ffe4d3c28117
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Thu Dec 5 14:56:24 2024 -0500

    rx: Add rxi_GetLocalAddr() prototype
    
    Commit 91378d93b9 (rx: Don't send packets to localhost if -rxbind set)
    added the rxi_GetLocalAddr() function, but missed the prototype. Add the
    function prototype to fix a GCC missing-prototype warning when building
    the linux kernel module.
    
    Fixes the build error when building the kernel module for Linux 6.8
    or later when the tree was configured with --enable-checking:
    
      .../src/libafs/MODLOAD-6.8.0-49-generic-SP/rx.c:9693:1: error: no
          previous prototype for ‘rxi_GetLocalAddr’ [-Werror=missing-prototypes]
      9693 | rxi_GetLocalAddr(struct sockaddr_in *sin)
           | ^~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
    
    Change-Id: I43bd56fa28d258be509b1d1381e2f7d76ad5a532
    Reviewed-on: https://gerrit.openafs.org/15978
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Tested-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 src/rx/rx_internal.h | 1 +
 1 file changed, 1 insertion(+)

-- 
OpenAFS Master Repository