freebsd-nq/sys/amd64/vmm
Andriy Gapon b4a5a4d0d9 vmm_dev: work around a bogus error with gcc 6.3.0
The error is:
vmm_dev.c: In function 'alloc_memseg':
vmm_dev.c:261:11: error: null argument where non-null required (argument 1) [-Werror=nonnull]

Apparently, the gcc is unable to figure out that if a ternary operator
produced a non-NULL value once, then the operator with exactly the same
operands would produce the same value again.

MFC after:	1 week
2017-01-20 13:21:27 +00:00
..
amd
intel
io
vmm_dev.c
vmm_host.c
vmm_host.h
vmm_instruction_emul.c
vmm_ioport.c
vmm_ioport.h
vmm_ktr.h
vmm_lapic.c
vmm_lapic.h
vmm_mem.c
vmm_mem.h
vmm_stat.c
vmm_stat.h
vmm_util.c
vmm_util.h
vmm.c
x86.c
x86.h