From patchwork Tue Apr 5 09:50:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8749321 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 78FA49F36E for ; Tue, 5 Apr 2016 09:58:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D48A220166 for ; Tue, 5 Apr 2016 09:58:02 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4068120220 for ; Tue, 5 Apr 2016 09:58:02 +0000 (UTC) Received: from localhost ([::1]:35706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNkH-00008Z-Ok for patchwork-qemu-devel@patchwork.kernel.org; Tue, 05 Apr 2016 05:58:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNdP-0004Bl-68 for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anNdL-0001I1-U2 for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:55 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNdL-0001Hu-Nj for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:50:51 -0400 Received: by mail-wm0-x244.google.com with SMTP id a140so2686136wma.2 for ; Tue, 05 Apr 2016 02:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6/sa2Topdib+Aj0L5HmGH+GpACiukbA64xpUedWo+w4=; b=G6xTRojqJQ8xKiw6s7w61/glkE9ya6PvSSEAoPJSAlQ6FkLyfKiQSKmveVIpHaPVm0 wWKQYpl6eA+P8HDk3KZtVlsWR1gTxcFVmIAMLEdeefWwrno7fLbEq6Pze9OLCI90amEB vtnrsevJMmByRuqhXv75MJw2Ra03F3j96EgZ+gg3XJHrZ5rT/Qc8K3MR39lyJnbjSxDf 9YM07J4gMrUbyGgrdtCw+EF2sv9srYb17crnGojL7pRU2+WcHmfpyWlXpDsCEfYbs1Fy LSR2gcSklbEIvRWSq5+VeFhhOnmXgxw4wp5/DVeWWGH1uB5uj365QyAb7XVZO8wKcKRP 1oXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6/sa2Topdib+Aj0L5HmGH+GpACiukbA64xpUedWo+w4=; b=WcqWVT25XjZYjX3rk0Jzk+wb/YA4Op/s09/gJW5cbBukkGph6BiRm09RA3ENMS44Jq CtAYnwfY+umIOR9WE8mIsjWA3Elfwc2oUqoHTUx875ZmZb1Fhjp7S1lQxADyeDg9JZal wHwjJwJcWBoomksveXD51D0f7M4Qiqh21Ymon8Cn6ZQU5S73ifLOXYSEjhXDitwF0X9y LZlJLmwZbCaf4s/BqI1Y7Q0+7DuhNYd3rIvVzHRZIdKxN7gowzydpJpQUDVICrvuFZuR XUwvwJKEFrLA5wmb4ZNtCNU6yXbrueQkxf41wpfcW0V+1tiKs46vsxvzdN1lmsjuTthQ iHPg== X-Gm-Message-State: AD7BkJJEhyzAm9QgAHJ/rXJw8CPDgjLACfybsV6nHW6aRIyAILOPYJrIqEzR7g5t1pZ+HA== X-Received: by 10.194.202.195 with SMTP id kk3mr22771772wjc.159.1459849851065; Tue, 05 Apr 2016 02:50:51 -0700 (PDT) Received: from donizetti.lan (94-39-141-76.adsl-ull.clienti.tiscali.it. [94.39.141.76]) by smtp.gmail.com with ESMTPSA id ka4sm33721377wjc.47.2016.04.05.02.50.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Apr 2016 02:50:41 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 5 Apr 2016 11:50:18 +0200 Message-Id: <1459849818-26649-16-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> References: <1459849818-26649-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Cc: Paolo Bonzini Subject: [Qemu-devel] [PULL 15/15] net: fix missing include of qapi/error.h in netmap.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Daniel P. Berrange" The netmap.c file fails to build on FreeBSD with net/netmap.c:95:9: warning: implicit declaration of function 'error_setg_errno' is invalid in C99 [-Wimplicit-function-declaration] error_setg_errno(errp, errno, "Failed to nm_open() %s", ^ net/netmap.c:432:9: warning: implicit declaration of function 'error_propagate' is invalid in C99 [-Wimplicit-function-declaration] error_propagate(errp, err); ^ Signed-off-by: Daniel P. Berrange Message-Id: <1459429690-6144-1-git-send-email-berrange@redhat.com> Signed-off-by: Paolo Bonzini --- net/netmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netmap.c b/net/netmap.c index d9c21b2b..6cc0db5 100644 --- a/net/netmap.c +++ b/net/netmap.c @@ -36,6 +36,7 @@ #include "clients.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" +#include "qapi/error.h" #include "qemu/iov.h" #include "qemu/cutils.h"