On 23/06/2017 06:10, Justin Hibbits wrote: > This commit breaks gcc builds with new warnings introduced: > > /home/chmeee/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c: > In function 'arc_kmem_reap_now': > /home/chmeee/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:4364: > warning: nested extern declaration of 'abd_chunk_cache' [-Wnested-externs] > /home/chmeee/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c: > In function 'vdev_label_write_pad2': > /home/chmeee/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c:902: > warning: passing argument 2 of 'abd_copy_from_buf' discards qualifiers from > pointer target type
I missed the first one during the merge. The second one is in FreeBSD specific code, but the root cause is that the interface introduced upstream takes a non-const parameter where it should really take a const one. Thank you for the report. I'll handle this. -- Andriy Gapon _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"