Message ID | 20171204140348.21965-1-cdall@kernel.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4472377qgn; Mon, 4 Dec 2017 06:03:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMZV3jM5yNR1z6ACt3ZB9l3ULFJtfH0x4NqCPvyn57/TXtiPxLEGWuet27x7epGGEhar3fz7 X-Received: by 10.159.241.134 with SMTP id s6mr1991178plr.354.1512396237147; Mon, 04 Dec 2017 06:03:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512396237; cv=none; d=google.com; s=arc-20160816; b=0aPZlnjoF5r/gBKD+RnnsdAQDzUG4GfjXlsvEK6mAVW8xSjfxlZQYYI4bSafKucM4O OUoBVGK6ossikAjA8GjZio7zky83flRhFNgsyQfUMw5EbSbCCh90lJj7nL+PopGpJBzq /av1rzvnXVOiSDhtnf1iCYpbpOV+Zcjap3lyChSnUHiJCoiYfMK+qhS7FbrafVESJ9/y Xa9cmXiorVtNeJz+WEp+ZJYnIzsxheiV+qCWWi7/khf/4mhEBNSjzZYCx+k5AAXYLbvS PV8UlaCwSXB0p0G1pKq0acP6kIdGZOai18yjF7huW/J41aOf7vHqonmxE/kFAnxS5K+B svng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=NZDL88KYHnHG1dfr5GLAsbmFC9VITmxGpkIX79zI0x4=; b=VjtvJ4X/A8RnA0IR1HN7x8Nmmx0mBcgyTv0B0T/inYadLOrMyQdTgCbGluJwo0YRcq FkGOQ86eP82OdMWm1ugn3emZjmorOg96CzFnUDz2Jr1Go6s3b1sDWyvofD+gjRDgUdFg OmPTxAOEe61/3uTo+VSi3CfZkerQKQNq1erL/mDvxAtt9azCCEZKC1vvAbbXE4Z8CihW rGGy0tTNVRXKuplVH7Qg8nTQ4S6rO0mQNcllLVyuFSimsi0eYKwSDEFui6dluqp/l/rU JuJp193nU0h8lLndXyEA/aU5jBsAtWJz/PIo3WsZ6jpobOWjTIdics3hhPWUcYCzv3QF 9pnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@christofferdall-dk.20150623.gappssmtp.com header.s=20150623 header.b=wGghl2RC; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g31si5138782pld.67.2017.12.04.06.03.56; Mon, 04 Dec 2017 06:03:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@christofferdall-dk.20150623.gappssmtp.com header.s=20150623 header.b=wGghl2RC; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754193AbdLDODx (ORCPT <rfc822;milosz.wasilewski@linaro.org> + 9 others); Mon, 4 Dec 2017 09:03:53 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:40816 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752316AbdLDODw (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 4 Dec 2017 09:03:52 -0500 Received: by mail-wr0-f195.google.com with SMTP id q9so17406094wre.7 for <stable@vger.kernel.org>; Mon, 04 Dec 2017 06:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=christofferdall-dk.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=NZDL88KYHnHG1dfr5GLAsbmFC9VITmxGpkIX79zI0x4=; b=wGghl2RCdItdCHp5ICrZPtOZ3lUZ8p0ELOFkrrv6VneDnjOYC1YdLYvMBtvSee7EhQ 5n4Jpq/t7Vr2kI6KoWOpumQ8zCENDoUSYhJQtetti5/B1/+scZnbe4UhTqbhLzq67Tr0 rSoOLRNMLZyK7BuvySPoPo1kku3kVpRAOyGcLLyw5wKVFv7C8Psj7RJSdTHHIsbK82PS dX26i5GwFsLImZENf3Ls8r/6j0NQOgSCKmN+bwxrX9stnxmmXlnJyvIjxAko7bFR8e8H rjQ3ZPt++7+0txMwtyxffsZYJNgqcDlBerVJRGM3/KmInZ//6ifAOBMzZKEPsEMWBV/X MAdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=NZDL88KYHnHG1dfr5GLAsbmFC9VITmxGpkIX79zI0x4=; b=YyETu1fnyOawtBrl/Gxe9GJfRntxDpnuI0pv7PSoTAsA9CzBIL0b8W3W2JOd0ZilDR GHdSzinOQAgfYwHffV+ciiI7zgntBarJaAqOYIFYlnP41hTVVnMSNSmvJvG+IG8pMeqN LmFguonbF2WHLhO+Q/VSwTgWRQ3W5FoAPwnAw7wu4vZQrtFIoDNqB19IQQn9CwQStIJQ 5/thoDZPv81r5DO4miFvPhTDpcbCQRBWy4jAio2eEaMxWuVkP8bonS8X+xWDznN1mD+C vYCW3lfMVdJ9bWXzTzdik5BIWFIYGOi+R2/uPZQGHUr/sUt9F/OWm8aRHjD+yni6BKiG 21dA== X-Gm-Message-State: AJaThX4tEitn75a3hUV04Y7jfgloj+wtu+oo6FEm0ICqHjegILssb5oz jrxAUytx4rlv0tqSqflxSX89uQ== X-Received: by 10.223.150.2 with SMTP id b2mr12486512wra.185.1512396231607; Mon, 04 Dec 2017 06:03:51 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id g7sm22794279wra.38.2017.12.04.06.03.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 06:03:50 -0800 (PST) From: Christoffer Dall <cdall@kernel.org> To: kvmarm@lists.cs.columbia.edu, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= <rkrcmar@redhat.com> Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, Marc Zyngier <marc.zyngier@arm.com>, stable@vger.kernel.org, Christoffer Dall <christoffer.dall@linaro.org> Subject: [PULL 03/19] KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation Date: Mon, 4 Dec 2017 15:03:32 +0100 Message-Id: <20171204140348.21965-1-cdall@kernel.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171204135637.21620-1-cdall@kernel.org> References: <20171204135637.21620-1-cdall@kernel.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/virt/kvm/arm/vgic/vgic-irqfd.c b/virt/kvm/arm/vgic/vgic-irqfd.c index b7baf581611a..99e026d2dade 100644 --- a/virt/kvm/arm/vgic/vgic-irqfd.c +++ b/virt/kvm/arm/vgic/vgic-irqfd.c @@ -112,8 +112,7 @@ int kvm_vgic_setup_default_irq_routing(struct kvm *kvm) u32 nr = dist->nr_spis; int i, ret; - entries = kcalloc(nr, sizeof(struct kvm_kernel_irq_routing_entry), - GFP_KERNEL); + entries = kcalloc(nr, sizeof(*entries), GFP_KERNEL); if (!entries) return -ENOMEM;