Searched hist:b72f1f4516896ad6da0ea74d146a56045de171f7 (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/ena/ |
H A D | ena_datapath.c | diff b72f1f4516896ad6da0ea74d146a56045de171f7 Thu Jun 30 20:49:46 CEST 2022 Mark Johnston <markj@FreeBSD.org> ena: Make first_interrupt a uint8_t
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: 0ac122c388d9 ("ena: Use atomic_load/store functions for first_interrupt variable") Differential Revision: https://reviews.freebsd.org/D35683
|
H A D | ena.h | diff b72f1f4516896ad6da0ea74d146a56045de171f7 Thu Jun 30 20:49:46 CEST 2022 Mark Johnston <markj@FreeBSD.org> ena: Make first_interrupt a uint8_t
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: 0ac122c388d9 ("ena: Use atomic_load/store functions for first_interrupt variable") Differential Revision: https://reviews.freebsd.org/D35683
|
H A D | ena.c | diff b72f1f4516896ad6da0ea74d146a56045de171f7 Thu Jun 30 20:49:46 CEST 2022 Mark Johnston <markj@FreeBSD.org> ena: Make first_interrupt a uint8_t
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: 0ac122c388d9 ("ena: Use atomic_load/store functions for first_interrupt variable") Differential Revision: https://reviews.freebsd.org/D35683
|