Page MenuHomeFreeBSD
Paste P343

(An Untitled Masterwork)
ActivePublic

Authored by np on Dec 12 2019, 11:39 PM.
In file included from /root/ws/head/sys/dev/agp/agp.c:59:
/root/ws/head/sys/vm/vm_page.h:769:27: error: incompatible pointer types passing 'union vm_page_astate *' to parameter of type 'volatile uint32_t *' (aka 'volatile unsigned int *') [-Werror,-Wincompatible-pointer-types]
a._bits = atomic_load_32(&m->a);
^~~~~
/root/ws/head/sys/sys/_cscan_atomic.h:94:1: note: passing argument to parameter here
KCSAN_ATOMIC_FUNCS(32, uint32_t);
^
/root/ws/head/sys/sys/_cscan_atomic.h:80:2: note: expanded from macro 'KCSAN_ATOMIC_FUNCS'
KCSAN_ATOMIC_LOAD(name, type); \
^
/root/ws/head/sys/sys/_cscan_atomic.h:64:47: note: expanded from macro 'KCSAN_ATOMIC_LOAD'
type kcsan_atomic_load_##name(volatile type *); \
^
1 error generated.
*** Error code 1

Event Timeline

np created this paste.Dec 12 2019, 11:39 PM
np created this object in space S1 Global.