freebsd-dev/sys/compat/linuxkpi/common/include/linux
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
..
bitmap.h
bitops.h
bottom_half.h
cache.h
cdev.h
clocksource.h
compat.h
compiler.h linuxkpi compiler.h: avoid gcc -Wunused-value in dummy expressions 2017-07-22 21:29:44 +00:00
completion.h Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
delay.h
device.h Add device_is_registered() to the LinuxKPI. 2017-07-08 18:53:02 +00:00
dma-attrs.h
dma-mapping.h
dmapool.h
err.h
errno.h
etherdevice.h
file.h Add generic kqueue() and kevent() support to the LinuxKPI character 2017-06-01 09:34:51 +00:00
fs.h Add some helper definitions to fs.h in the LinuxKPI. 2017-07-08 20:11:06 +00:00
gfp.h
hardirq.h
hrtimer.h Implement parts of the hrtimer API in the LinuxKPI. 2017-06-26 16:28:46 +00:00
idr.h Properly implement idr_preload() and idr_preload_end() in the 2017-05-31 16:08:30 +00:00
if_arp.h
if_ether.h
if_vlan.h
in6.h
in.h
inetdevice.h
interrupt.h
io-mapping.h Let io_mapping_init_wc() fall back to an uncacheable mapping. 2017-07-03 02:01:16 +00:00
io.h Remove ARM and MIPS from linuxkpi ioremap_attr definition 2017-06-08 02:44:34 +00:00
ioctl.h
jhash.h
jiffies.h Add some functions to jiffies.h. 2017-07-13 18:27:22 +00:00
kdev_t.h
kernel.h Add u64_to_user_ptr() to the LinuxKPI. 2017-06-25 19:30:20 +00:00
kmod.h
kobject.h Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
kref.h
kthread.h Add kthread parking support to the LinuxKPI. 2017-06-18 19:22:05 +00:00
ktime.h Add a few functions to ktime.h in the LinuxKPI, and fix nearby style. 2017-07-09 23:13:08 +00:00
list.h
lockdep.h Add a couple of macros to lockdep.h in the LinuxKPI. 2017-06-25 19:23:14 +00:00
log2.h
math64.h Add some functions to math64.h in the LinuxKPI, and fix nearby style. 2017-07-09 23:14:51 +00:00
miscdevice.h
mm_types.h Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
mm.h Remove prototypes for unimplemented LinuxKPI functions. 2017-06-17 22:52:23 +00:00
module.h Include kmod.h from the LinuxKPI's module.h. 2017-06-21 18:15:47 +00:00
moduleparam.h
mutex.h
net.h
netdevice.h
notifier.h
page.h Fix the definitions of pgprot_{noncached,writecombine} after r316562. 2017-07-08 19:22:29 +00:00
pci.h Add some auxiliary types for device driver support. 2017-07-04 01:23:36 +00:00
pfn_t.h
pfn.h
pid.h
poll.h Make sure the selrecord() function is only called from within system 2017-06-01 16:49:48 +00:00
preempt.h Add some miscellaneous definitions to support DRM drivers. 2017-05-30 17:16:08 +00:00
printk.h Implement print_hex_dump(), print_hex_dump_bytes() and 2017-05-31 16:24:02 +00:00
radix-tree.h
random.h
rbtree.h
rculist.h
rcupdate.h Use __typeof() instead of typeof() in some RCU related macros in the LinuxKPI. 2017-04-19 13:04:34 +00:00
rwlock.h
rwsem.h
scatterlist.h
sched.h Add TASK_COMM_LEN to the LinuxKPI. 2017-07-08 18:52:29 +00:00
semaphore.h
slab.h
smp.h Add on_each_cpu() and wbinvd_on_all_cpus(). 2017-05-01 16:32:28 +00:00
socket.h
spinlock.h
srcu.h
string.h
sysfs.h
time.h
timer.h
types.h Add some miscellaneous definitions to support DRM drivers. 2017-05-30 17:16:08 +00:00
uaccess.h
usb.h
vmalloc.h
wait.h Augment wait queue support in the LinuxKPI. 2017-06-09 19:41:12 +00:00
workqueue.h
ww_mutex.h