opnsense-src/sys/compat/linuxkpi/common/include
Bjoern A. Zeeb 1847e63d63 LinuxKPI: add no_printk
Add a version of no_printk(), which seems to be there to have format
string checking while never calling the printk.  It seems a very weird
thing and it needs a return code and for some reason my initial
while (0) { } version hadn't worked while porting over new code but
could have been further downstream format string problems.
if (0) seems to do the job though I would have expected that to more
likely simply get optimised out without any futher format checking.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D46463
2024-08-31 21:36:01 +00:00
..
acpi LinuxKPI: Add acpi_dev_get_first_match_dev and acpi_device_handle 2024-07-21 16:09:37 +03:00
asm LinuxKPI: Add smp_store_release and smp_load_acquire functions 2024-06-26 23:44:37 +03:00
asm-generic linuxkpi: Add io.h 2022-08-08 15:22:35 +02:00
crypto LinuxKPI: add dummy hash.h and kernel_connect() 2023-05-12 11:21:10 +00:00
linux LinuxKPI: add no_printk 2024-08-31 21:36:01 +00:00
net LinuxKPI: 802.11: implement ieee80211_sn_*() 2024-07-25 15:03:42 +00:00
video LinuxKPI: update linuxkpi_video to Linux 6.6 2024-08-07 23:38:38 +03:00
xen LinuxKPI: Add xen/xen.h header 2023-12-24 11:19:58 +03:00
stdarg.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00