opnsense-src/sys/compat/linuxkpi
Jean-Sébastien Pédron 1b4e08b483
linuxkpi: Support non-NULL zero-size pointers
DRM drivers set some pointers to `ZERO_SIZE_PTR` directly (without
allocating anything), to treat pointers which were "initialized" (set to
`ZERO_SIZE_PTR`) with no memory allocation like really allocated
pointers. NULL isn't used because it represents a third state.

Reviewed by:	emaste, manu
Approved by:	emaste, manu
Differential Revision:	https://reviews.freebsd.org/D39055
2023-03-20 21:47:36 +01:00
..
common linuxkpi: Support non-NULL zero-size pointers 2023-03-20 21:47:36 +01:00
dummy/include LinuxKPI: add more dummy header files 2023-02-05 20:34:57 +00:00