OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-129-g6bdfa97

Gerrit Code Review
Sat, 29 Jan 2022 15:35:32 -0500

The following commit has been merged in the master branch:
commit 6bdfa976731ce07f3236893ecf12abb9e169b882
Author: Cheyenne Wills <>
Date:   Fri Jan 28 14:10:46 2022 -0700

    Linux-5.17: Kernel build uses -Wcast-function-type
    The linux 5.17 commit:
      "Makefile: Enable -Wcast-function-type" (552a23a0)
    added the -Wcast-function-type compiler flag for kernel module builds.
    This change catches a type mismatch in the external files obtained from
    heimdal: hcrypto/evp.c and hcrypto/evp-algs.c and produces the following
    type of compile time error messages.
      src/libafs/MODLOAD-.../evp.c: In function ‘hc_EVP_md_null’:
      src/libafs/MODLOAD-.../evp.c:501:2: error: cast between incompatible
          function types from ‘void (*)(void *)’ to ‘int (*)(EVP_MD_CTX *)’
              {aka ‘int (*)(struct hc_EVP_MD_CTX *)’}
      501 |  (hc_evp_md_init)null_Init,
          |  ^
    macro to disable this warning and update the CFLAGS for these 2 files
    for the Linux libafs build.
    Update the CODING documentation to add the new exceptions.  In addition
    add a brief description on how to set up autoconf to add a new build
    macro to suppress compiler warnings.
    Note: upstream heimdal has committed a fix for this in:
       hcrypto: Fix return type for null_Init, null_Update and null_Final
    Change-Id: I05b716867016a33ca02a791ed6bc5a7d846de608
    Reviewed-by: Benjamin Kaduk <>
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>

 CODING                            | 12 +++++++++++-
 src/cf/osconf.m4                  |  4 ++++
 src/libafs/ |  5 +++--
 3 files changed, 18 insertions(+), 3 deletions(-)

OpenAFS Master Repository