On Wed, Mar 21, 2018 at 09:25:30AM +0800, Fam Zheng wrote: > On Tue, 03/20 12:34, no-re...@patchew.org wrote: > > /tmp/qemu-test/src/migration/postcopy-ram.c:787:41: error: 'struct > > PostCopyFD' declared inside parameter list will not be visible outside of > > this definition or declaration [-Werror] > > int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, > > ^~~~~~~~~~ > > /tmp/qemu-test/src/migration/postcopy-ram.c:787:5: error: no previous > > prototype for 'postcopy_request_shared_page' [-Werror=missing-prototypes] > > int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > cc1: all warnings being treated as errors > > Is a "#include ..." line missing? > > Fam
This patch isn't against mainline.