OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-81-g36796bb

Gerrit Code Review
Sat, 4 Sep 2021 18:20:19 -0400

The following commit has been merged in the master branch:
commit 36796bbb83af2650a872234fdb5cf7124bf6cfa8
Author: Michael Meffie <>
Date:   Mon Aug 23 14:23:01 2021 -0400

    ubik: Fix ubeacon_updateUbikNetworkAddress() mismatched array parameter warning
    The ubeacon_updateUbikNetworkAddress() prototype does not match the
    function definition. The ubik_host parameter is declared as an unbounded
    array in the prototype but is defined as a bounded array. As of GCC 12,
    a warning is issued for the mismatch:
        error: argument 1 of type ‘afs_uint32[256]’ {aka ‘unsigned int[256]’}
               with mismatched bound [-Werror=array-parameter=]
                 afs_uint32 ubik_host[UBIK_MAX_INTERFACE_ADDR])
        note: previously declared as ‘afs_uint32[]’ {aka ‘unsigned int[]’}
              extern int ubeacon_updateUbikNetworkAddress(afs_uint32 ubik_host[]);
    Restore the ubik_host array length in the function prototype, which was
    dropped in commit 9020e6e2f0357b1082705dcaa6626573433969ec (ubik: Defer
    updateUbikNetworkAddress until after RX startup).
    Change-Id: I8189effc5b68ef8c1b45b4107f5e22e44ecf59fd
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>

 src/ubik/ubik.p.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

OpenAFS Master Repository