From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scxwr-0008C4-4E for qemu-devel@nongnu.org; Fri, 08 Jun 2012 08:05:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Scxwg-0007bK-Kj for qemu-devel@nongnu.org; Fri, 08 Jun 2012 08:05:48 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:57910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scxwg-0007b4-EM for qemu-devel@nongnu.org; Fri, 08 Jun 2012 08:05:38 -0400 Message-ID: <4FD1EA8F.1030100@weilnetz.de> Date: Fri, 08 Jun 2012 14:05:35 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1339149034-10163-1-git-send-email-jcmvbkbc@gmail.com> <4FD1D767.9090401@weilnetz.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] xtensa_lx60: add missing #include "blockdev.h" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, Max Filippov Am 08.06.2012 12:57, schrieb Stefan Hajnoczi: > On Fri, Jun 8, 2012 at 11:43 AM, Stefan Weil wrote: >> Am 08.06.2012 12:08, schrieb Stefan Hajnoczi: >> >>> On Fri, Jun 8, 2012 at 10:50 AM, Max Filippov wrote: >>>> >>>> This should fix the following build failure: >>>> >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c: In >>>> function 'lx_init': >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:212: >>>> warning: implicit declaration of function 'drive_get' >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:212: >>>> warning: nested extern declaration of 'drive_get' >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:212: >>>> error: 'IF_PFLASH' undeclared (first use in this function) >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:212: >>>> error: (Each undeclared identifier is reported only once >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:212: >>>> error: for each function it appears in.) >>>> /home/buildbot/slave-public/block_mingw32/build/hw/xtensa_lx60.c:216: >>>> error: dereferencing pointer to incomplete type >>>> >>>> Signed-off-by: Max Filippov >>>> --- >>>> hw/xtensa_lx60.c | 1 + >>>> 1 files changed, 1 insertions(+), 0 deletions(-) >>> >>> Reviewed-by: Stefan Hajnoczi >>> >> >> >> Strange, I don't see this problem here. >> >> xtensa_lx60.c includes pc.h which includes fdc.h which includes blockdev.h, >> so this patch should not be needed. > > Please check the buildbot output for more details on the failure: > http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/237 The build failure for all hosts is introduced by commit d39e6563312a8ea3fb436cd2c7e6893cf416f34e in Kevin's block-next. Kevin, please add Max' patch before that commit. Stefan H. already reviewed the patch, and if you want, you can now also add Reviewed-by: Stefan Weil . QEMU git master still uses the old code where blockdev.h is included by hw/fdc.h, that's why I did not get that problem. Regards, Stefan W.