zfs/module/icp
szubersk 893549d625 Fix Clang 15 compilation errors
- Clang 15 doesn't support `-fno-ipa-sra` anymore. Do a separate
  check for `-fno-ipa-sra` support by $KERNEL_CC.

- Don't enable `-mgeneral-regs-only` for certain module files.
  Fix #13260

- Scope `GCC diagnostic ignored` statements to GCC only. Clang
  doesn't need them to compile the code.

Porting notes:
- Moved the stanzas removing -mgeneral-regs-only to Makefile.in
  since they wouldn't readily work in Kbuild.in and that did.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #13260
Closes #14150

Closes #14624
Ported-by: Rich Ercolani <rincebrain@gmail.com
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
2023-06-05 16:10:16 -07:00
..
algs Fix Clang 15 compilation errors 2023-06-05 16:10:16 -07:00
api Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
asm-x86_64 icp: fix all !ENDBR objtool warnings in x86 Asm code 2022-12-01 12:39:39 -08:00
core Fix use-after-free bugs in icp code 2022-12-01 12:39:40 -08:00
include icp: fix all !ENDBR objtool warnings in x86 Asm code 2022-12-01 12:39:39 -08:00
io Fix possible NULL pointer dereference in sha2_mac_init() 2022-12-01 12:39:42 -08:00
os Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-06-07 11:42:12 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
Makefile.in icp: fix rodata being marked as text in x86 Asm code 2022-11-30 10:15:58 -08:00
illumos-crypto.c Remove sha1 hashing from OpenZFS, it's not used anywhere. 2022-07-26 10:12:44 -07:00