mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 01:11:30 -05:00
We do not have atomic(9) routines for bools, and it is not guaranteed
that sizeof(bool) is 1.
This fixes the KASAN and KMSAN kernel builds, which fail because the
compiler refuses to silently cast a _Bool * to a uint8_t * when calling
the atomic(9) sanitizer interceptors.
Reviewed by: Dawid Górecki <dgr@semihalf.com>
MFC after: 2 weeks
Fixes:
|
||
|---|---|---|
| .. | ||
| ena.c | ||
| ena.h | ||
| ena_datapath.c | ||
| ena_datapath.h | ||
| ena_netmap.c | ||
| ena_netmap.h | ||
| ena_rss.c | ||
| ena_rss.h | ||
| ena_sysctl.c | ||
| ena_sysctl.h | ||