The following commit has been merged in the openafs-stable-1_8_x branch:
commit b927414ffc8a14015e663a24245287b093ee77a8
Author: Cheyenne Wills <[email protected]>
Date: Tue Nov 16 10:55:30 2021 -0700
LINUX-5.16: Use linux/stdarg.h if available
Global use of the compiler option '-isystem' was removed from the top
level Makefile with Linux commit ('isystem: delete global -isystem
compile option' 04e85bbf7). This results with an error due to not
finding "stdarg.h" when building the openafs kernel module.
.../src/rx/rx_kcommon.h:143:12: fatal error: stdarg.h: No such file or
directory
143 | # include "stdarg.h"
| ^~~~~~~~~~
Linux-5.15, introduced a copy of stdarg.h as 'linux/stdarg.h' in commit
('isystem: ship and use stdarg.h' c0891ac15)
Add a test for the linux/stdarg.h include file and if available, use
"linux/stdarg.h" instead of "stdarg.h" within the Linux kernel module.
Reviewed-on: https://gerrit.openafs.org/14844
Tested-by: BuildBot <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
(cherry picked from commit 3daa6e97330d23ae46c4389e4041c61c1a1d76d9)
Change-Id: I6347d09b3ffc73e3524c83830e2f2bbd2958121f
Reviewed-on: https://gerrit.openafs.org/14851
Tested-by: BuildBot <[email protected]>
Reviewed-by: Cheyenne Wills <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/cf/linux-kernel-header.m4 | 1 +
src/rx/rx_kcommon.h | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs