Message ID | 1430704362-6292-26-git-send-email-shannon.zhao@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCOL5N4BVYCBBD5DTOVAKGQE6M2HN5Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E54452121F for <linaro@patches.linaro.org>; Mon, 4 May 2015 01:55:28 +0000 (UTC) Received: by laat2 with SMTP id t2sf42175803laa.2 for <linaro@patches.linaro.org>; Sun, 03 May 2015 18:55:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=fE/WyDNVp7dcryh7nE1PF9tbSPjweSnqsSebOatRfFg=; b=NsFfYkGycQWqys1Ai8RwiWLt5t/6aLFZb4IPoVXjAqfH8cZBVcDjdFN7UKio2xyYVG 9iv0kQasyrBQF2y2fvPFbVeuveT2lhOKcKfrvHuNvKnSDTWFi2OqEy5eyMnTu4mLOtRl olzAAxrptqanXyq1GTQOSanQ0/dFqC1e6XYThWL4CV25gwJAsG9V4+1vCyzGehPqO2+q v98DfKfP5n2GRI4ZrIcJBZT268SuPtjhQPv9sNFtqlWnkz8mSlQtXkreiGK49ixHF2Db C7/NTr4hy1m7IZlJBFY3SG7tkq/gV8ZczdmyPjEDSVYQxvbKtSEZZaWrUKpgG0j7Ptn0 clZg== X-Gm-Message-State: ALoCoQmsIU4fM+D/CHubHTnCfgNSUiV+Hxtq7ddlX9jE0mXoyqxEJRtsr2UkEMwJaI4BhYtecr0o X-Received: by 10.180.74.197 with SMTP id w5mr6860240wiv.5.1430704527942; Sun, 03 May 2015 18:55:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.70 with SMTP id le6ls713216lac.50.gmail; Sun, 03 May 2015 18:55:27 -0700 (PDT) X-Received: by 10.112.25.69 with SMTP id a5mr17350375lbg.16.1430704527788; Sun, 03 May 2015 18:55:27 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id ei7si9064295lad.156.2015.05.03.18.55.27 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2015 18:55:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbcga7 with SMTP id ga7so95746880lbc.1 for <patchwork-forward@linaro.org>; Sun, 03 May 2015 18:55:27 -0700 (PDT) X-Received: by 10.152.236.40 with SMTP id ur8mr17714636lac.19.1430704527706; Sun, 03 May 2015 18:55:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp1412938lbt; Sun, 3 May 2015 18:55:27 -0700 (PDT) X-Received: by 10.69.17.68 with SMTP id gc4mr37640730pbd.7.1430704525993; Sun, 03 May 2015 18:55:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ix6si17838787pac.46.2015.05.03.18.55.25; Sun, 03 May 2015 18:55:25 -0700 (PDT) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751926AbbEDBzY (ORCPT <rfc822;shannon.zhao@linaro.org> + 2 others); Sun, 3 May 2015 21:55:24 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:35269 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbbEDBzY (ORCPT <rfc822;stable@vger.kernel.org>); Sun, 3 May 2015 21:55:24 -0400 Received: by pdbqd1 with SMTP id qd1so150093607pdb.2 for <stable@vger.kernel.org>; Sun, 03 May 2015 18:55:24 -0700 (PDT) X-Received: by 10.70.91.206 with SMTP id cg14mr38487751pdb.158.1430704523979; Sun, 03 May 2015 18:55:23 -0700 (PDT) Received: from localhost ([180.150.153.1]) by mx.google.com with ESMTPSA id dc5sm11009278pbc.53.2015.05.03.18.55.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 03 May 2015 18:55:22 -0700 (PDT) From: shannon.zhao@linaro.org To: stable@vger.kernel.org Cc: gregkh@linuxfoundation.org, christoffer.dall@linaro.org, shannon.zhao@linaro.org, Will Deacon <will.deacon@arm.com>, Marc Zyngier <marc.zyngier@arm.com> Subject: [PATCH for 3.14.y stable 25/47] KVM: vgic: return int instead of bool when checking I/O ranges Date: Mon, 4 May 2015 09:52:20 +0800 Message-Id: <1430704362-6292-26-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1430704362-6292-1-git-send-email-shannon.zhao@linaro.org> References: <1430704362-6292-1-git-send-email-shannon.zhao@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shannon.zhao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 4eec2d4..1316e55 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c @@ -1654,7 +1654,7 @@ out: return ret; } -static bool vgic_ioaddr_overlap(struct kvm *kvm) +static int vgic_ioaddr_overlap(struct kvm *kvm) { phys_addr_t dist = kvm->arch.vgic.vgic_dist_base; phys_addr_t cpu = kvm->arch.vgic.vgic_cpu_base;