Message ID | 1477339821-11782-8-git-send-email-minyard@acm.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2778416qge; Mon, 24 Oct 2016 13:46:04 -0700 (PDT) X-Received: by 10.31.244.14 with SMTP id s14mr11918807vkh.31.1477341964944; Mon, 24 Oct 2016 13:46:04 -0700 (PDT) Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f190si6136710vkd.229.2016.10.24.13.46.04 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 24 Oct 2016 13:46:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:49968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1bym8B-00068Y-U1 for patch@linaro.org; Mon, 24 Oct 2016 16:46:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1bylZs-0005Rx-Ix for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1bylZr-0001k5-OZ for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:36 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1bylZr-0001j0-Es for qemu-devel@nongnu.org; Mon, 24 Oct 2016 16:10:35 -0400 Received: by mail-pf0-x243.google.com with SMTP id 128so17395640pfz.1 for <qemu-devel@nongnu.org>; Mon, 24 Oct 2016 13:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=7t1025c0ifT7ao08cnWKkny1QeMy0CgYGEwsRQ0UVUo=; b=inSY1vz/VZVnz9QObIV3zvj7LWCintDXhlzRFHEQLL/csD0kB+wQAXmwripmQ8iUKs xTsk1sQJxLpVe/YjhDnegtRbFm//AziSA4B7Zwhgn/rteyUt82FHBWfHkdAzxIkprMdI hlOdd4YY/X+Z174ExGl+rSnajjtx+XPqNuagtFsgtpU1Bci4XziEpZA3PK84bEjJJGC+ 1UGe7vjK694IgRI19UIZT4ILdK1N7OFftrWP6O3yBmfSx7aAarvb34w3HN6w/5S78PWr E9eIA2PIakWPtg4+0z1GbpPhrYMhXJZpUu1Cq43AeH50XFV4JIozBL1a3zyWkRqKlLuS hlPQ== 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:subject:date:message-id :in-reply-to:references; bh=7t1025c0ifT7ao08cnWKkny1QeMy0CgYGEwsRQ0UVUo=; b=VIbYuCySc9DBK0me3sKqExUiqDiDgciyDw+dDM34y9psuF5Z3EGHaXf3HtlgA8KAA6 PTl3wVlq5m8BJLF+JrrfTy6LcKNV8gLyykhmme5SujM3odiRZTyUCdkttSwvct1+iHb2 KLwOHncLVr2V5L+Wqv2lmeEgWoAQ2Wj2iU/Q3pl6uBYLZFM0mSq4n9BdrEhf09229ZMd ER7s57Tz4KOMWqa2R9BiwBteWneU5XF+zj77zUGjTXSKIerti43KYJZUcp4LLFZPLR4j HYeudIYNHuJWjSROuhehRAuI+Bu4owoQ1fWdQpB+/xMEVSFPJwtqxL55Rn9UlHRp3P16 h+xA== X-Gm-Message-State: ABUngveVLlJocOXXH1wTxLg2W5S4HrXzQ0rGa6B3dvHte7sOI2YE6MLFUcnUi6I2KjYBsQ== X-Received: by 10.98.211.24 with SMTP id q24mr32004477pfg.69.1477339834037; Mon, 24 Oct 2016 13:10:34 -0700 (PDT) Received: from serve.minyard.net ([47.184.183.230]) by smtp.gmail.com with ESMTPSA id t7sm27374575pfa.22.2016.10.24.13.10.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 13:10:32 -0700 (PDT) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id 838431418; Mon, 24 Oct 2016 15:10:28 -0500 (CDT) Received: by t430.minyard.net (Postfix, from userid 1000) id 25F6D3025DD; Mon, 24 Oct 2016 15:10:25 -0500 (CDT) From: minyard@acm.org To: Igor Mammedov <imammedo@redhat.com>, "Michael S . Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org, minyard@acm.org, cminyard@mvista.com Date: Mon, 24 Oct 2016 15:10:21 -0500 Message-Id: <1477339821-11782-8-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477339821-11782-1-git-send-email-minyard@acm.org> References: <1477339821-11782-1-git-send-email-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PATCH 7/7] acpi/ipmi: Initialize the fwinfo before fetching it X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
diff --git a/hw/acpi/ipmi.c b/hw/acpi/ipmi.c index 7e74ce4..651e2e9 100644 --- a/hw/acpi/ipmi.c +++ b/hw/acpi/ipmi.c @@ -99,6 +99,7 @@ void build_acpi_ipmi_devices(Aml *scope, BusState *bus) ii = IPMI_INTERFACE(obj); iic = IPMI_INTERFACE_GET_CLASS(obj); + memset(&info, 0, sizeof(info)); iic->get_fwinfo(ii, &info); aml_append(scope, aml_ipmi_device(&info)); }