opnsense-src/sys/compat/linuxkpi
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
..
common LinuxKPI: add no_printk 2024-08-31 21:36:01 +00:00
dummy/include LinuxKPI: remove dummy kstrtox.h 2024-07-25 12:42:49 +00:00