CURRENT: buildworld failure due to nvmecontrol source error

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 30 Jan 2016 12:39:07 +0100
Buildworld (r295070) fails in building nvmecontrol patches correctly:

[...]
(cd /usr/src/lib/libc/tests/gen &&  DEPENDFILE=.depend.raise_test  NO_SUBDIR=1 make
-f /usr/src/lib/libc/tests/gen/Makefile _RECURSING_PROGS=t  PROG=raise_test ) ---
all_subdir_share --- ===> share/i18n/csmapper/APPLE (all)
--- all_subdir_usr.sbin ---
===> usr.sbin/acpi/iasl (all)
--- all_subdir_sbin ---
/usr/src/sbin/nvmecontrol/power.c:44:16: error: invalid application of 'sizeof' to an
incomplete type 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state)
== 256 / NBBY, ^     ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:60:14: error: incomplete definition of type 'struct
nvme_power_state' mpower = nps->mp;
                 ~~~^
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:61:9: error: incomplete definition of type 'struct
nvme_power_state' if (nps->mps == 0)


regards

oh

Received on Sat Jan 30 2016 - 10:39:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC