OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_8_1-42-g8765514

Gerrit Code Review
Thu, 4 Aug 2022 12:54:39 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 8765514b2ac7c258646fa446dca3040a23be4da4
Author: Michael Meffie <>
Date:   Tue Aug 24 16:40:22 2021 -0400

    ptserver: Fix CreateEntry() mismatched array parameter warning
    The CreateEntry() prototype does not match the function definition. The
    aname 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
        error: argument 2 of type ‘char[64]’ with mismatched bound
               CreateEntry(struct ubik_trans *at, char aname[PR_MAXNAMELEN], ...
        note: previously declared as ‘char[]’
              extern afs_int32 CreateEntry(struct ubik_trans *at, char aname[], ...
    Fix the prototype to declare the 'aname' parameter as a bounded array as
    expected for this function.
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit fe64ddd3b49bf15222d32d443ff226dd4c2b899e)
    Change-Id: If29ada7f9460591de8d2b61c17d00090465625b2
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Mark Vitale <>
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Marcio Brito Barbosa <>
    Reviewed-by: Stephan Wiesand <>

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

OpenAFS Master Repository