[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_s
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page |
Date: |
Wed, 21 Mar 2018 04:03:00 +0200 |
On Wed, Mar 21, 2018 at 09:25:30AM +0800, Fam Zheng wrote:
> On Tue, 03/20 12:34, address@hidden 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.