freebsd-dev/sys/compat
Ryan Libby 4e64c62564 linuxkpi compiler.h: avoid gcc -Wunused-value in dummy expressions
It looks like the __acquire and __release macros are for the consumption
of static analysis tools and have no semantic effect.  Transform the
definitions from constant expressions to empty statements in order to
avoid -Wunused-value from gcc.

Likewise avoid future warnings for __chk_{user,io}_ptr, but with a cast
to void, because it looks like some linux kernel code may use those in
expression contexts.

Reviewed by:	hselasky, markj
Approved by:	markj (mentor)
Sponsored by:	Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11695
2017-07-22 21:29:44 +00:00
..
cloudabi
cloudabi32
cloudabi64
freebsd32 Correct sysent flags for dynamically loaded syscalls. 2017-07-14 09:34:44 +00:00
ia32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
linprocfs Fix caveat in new implementation of linprocfs_docpuinfo(): 2017-06-23 10:36:27 +00:00
linsysfs
linux Style(9) whitespace fix. 2017-07-22 09:03:40 +00:00
linuxkpi/common linuxkpi compiler.h: avoid gcc -Wunused-value in dummy expressions 2017-07-22 21:29:44 +00:00
ndis
netbsd
x86bios