freebsd-dev/sys/compat/linuxkpi
Bjoern A. Zeeb 74e908b3c6 LinuxKPI: fix READ_ONCE() -Wcast-equal warnings
Rather than using ACCESS_ONCE() in READ_ONCE() add a missing cast
to const in order to satisfy -Wcast-equal by gcc.
Sadly we cannot do the same to WRITE_ONCE() which still is very
noisy.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D39706
2023-04-20 11:51:22 +00:00
..
common LinuxKPI: fix READ_ONCE() -Wcast-equal warnings 2023-04-20 11:51:22 +00:00
dummy/include linuxkpi: Add a few more dummy includes 2023-04-04 14:11:32 +02:00