OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-502-g403dfd6
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Sep 2024 10:12:44 -0400
The following commit has been merged in the master branch:
commit 403dfd677bfa475e1746fab6c24a4c19a4c5f026
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Oct 25 13:25:33 2022 -0500
FBSD: Build support for FreeBSD 13
Add sysnames and param.h files for FreeBSD 13.0 and 13.1.
Note that our param.h does differ from the FreeBSD 12 param.h, in that
AFS_64BITUSERPOINTER_ENV is defined for both UKERNEL and non-UKERNEL.
Otherwise, afs_pointer_to_int() causes warnings when building UKERNEL
(due to newer clang):
.../src/afs/afs_icl.c:680:39: error: cast to smaller integer type 'afs_uint32' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Werror,-Wpointer-to-int-cast]
ICL_APPENDINT32(logp, (afs_int32) osi_ThreadUnique());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
.../src/afs/afs_osi.h:201:28: note: expanded from macro 'osi_ThreadUnique'
^
.../src/afs/UKERNEL/sysincludes.h:230:30: note: expanded from macro 'osi_getpid'
^
.../include/afs/stds.h:282:37: note: expanded from macro 'afs_pointer_to_int'
^
.../src/afs/afs_icl.c:523:41: note: expanded from macro 'ICL_APPENDINT32'
(lp)->datap[(lp)->firstFree] = (x); \
^
Change-Id: I525c2df5981427d3ad1105030331c06fb7a59d78
Reviewed-on: https://gerrit.openafs.org/15160
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/config/afs_sysnames.h | 2 ++
src/config/param.amd64_fbsd_130.h | 58 +++++++++++++++++++++++++++++++++++++
src/config/param.amd64_fbsd_131.h | 61 +++++++++++++++++++++++++++++++++++++++
3 files changed, 121 insertions(+)
--
OpenAFS Master Repository