Alexander a3588c68f7
Linux 5.15 compat: standalone <linux/stdarg.h>
Kernel commits

39f75da7bcc8 ("isystem: trim/fixup stdarg.h and other headers")
c0891ac15f04 ("isystem: ship and use stdarg.h")
564f963eabd1 ("isystem: delete global -isystem compile option")

(for now can be found in linux-next.git tree, will land into the
 Linus' tree during the ongoing 5.15 cycle with one of akpm merges)

removed the -isystem flag and disallowed the inclusion of any
compiler header files. They also introduced a minimal
<linux/stdarg.h> as a replacement for <stdarg.h>.
include/os/linux/spl/sys/cmn_err.h in the ZFS source tree includes
<stdarg.h> unconditionally. Introduce a test for <linux/stdarg.h>
and include it instead of the compiler's one to prevent module
build breakage.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Closes #12531
2021-09-08 12:59:43 -07:00
..
2020-04-14 11:36:28 -07:00
2021-01-02 16:55:55 -08:00
2020-08-20 10:30:06 -07:00
2021-01-26 16:12:26 -08:00
2021-04-02 18:52:15 -07:00
2021-04-08 14:37:51 -07:00
2021-05-27 22:39:53 -07:00
2020-12-27 16:15:19 -08:00
2021-04-02 18:52:15 -07:00
2020-06-08 16:32:02 -07:00
2021-05-27 14:27:29 -06:00
2020-06-09 21:24:09 -07:00
2021-04-01 08:37:41 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00