Message ID | 1433256507-7856-11-git-send-email-shannon.zhao@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCOL5N4BVYCBBGUFW6VQKGQEE3TKB4I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B98220BD1 for <linaro@patches.linaro.org>; Tue, 2 Jun 2015 14:50:03 +0000 (UTC) Received: by lani11 with SMTP id i11sf46061235lan.3 for <linaro@patches.linaro.org>; Tue, 02 Jun 2015 07:50:02 -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=FusnBjcUAk2ZCb9V98Nbo23e0ZvXg/6LxMB1K1UUBGO3g/qXIUWp67FgrNHrPnucCY Cq2OBlwPQ2P8c0R1zntfP1A8favziooOCYdvLbaxJYgMmDf4X2YZbkje2P2x90p15j6i HtHyZ5xr1aaHqahT7tcBwZ0Hbc+XGM6YA4mVhzAgzI57XEp+yO4UsidJXxdnTo/gdlay OkeVQ8EEB+Y0flSWfteVXcmV91vyq2IA1wSg0YzGZNFTSdI7rmIUbV6+nYzJKH+7MNtD yzCVVg+l8UWFifNu1qLIFGFBd1MLqVI9PYrrLQKWp4y3f7bftNubo+jW2LvbWo/qlgub UElA== X-Gm-Message-State: ALoCoQkvpz1S3dDPbLzHCN8mdG8/hXi+LFsYJg8fJCFVjwD6GvV4apWiyE+G/2zrDmg1+YxLPjAw X-Received: by 10.180.83.72 with SMTP id o8mr16812003wiy.3.1433256602410; Tue, 02 Jun 2015 07:50:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.105 with SMTP id lb9ls784433lab.10.gmail; Tue, 02 Jun 2015 07:50:02 -0700 (PDT) X-Received: by 10.152.30.4 with SMTP id o4mr25650544lah.74.1433256602166; Tue, 02 Jun 2015 07:50:02 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id l6si15269195lbd.114.2015.06.02.07.50.02 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jun 2015 07:50:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbuc2 with SMTP id uc2so106142160lbb.2 for <patchwork-forward@linaro.org>; Tue, 02 Jun 2015 07:50:02 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr4212353lak.117.1433256602068; Tue, 02 Jun 2015 07:50:02 -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.108.230 with SMTP id hn6csp3128739lbb; Tue, 2 Jun 2015 07:50:00 -0700 (PDT) X-Received: by 10.70.103.10 with SMTP id fs10mr49967655pdb.141.1433256600101; Tue, 02 Jun 2015 07:50:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hv8si26697315pdb.173.2015.06.02.07.49.59; Tue, 02 Jun 2015 07:50:00 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932392AbbFBOt6 (ORCPT <rfc822;shannon.zhao@linaro.org> + 2 others); Tue, 2 Jun 2015 10:49:58 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]:36474 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932573AbbFBOt6 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 2 Jun 2015 10:49:58 -0400 Received: by obbea2 with SMTP id ea2so129478857obb.3 for <stable@vger.kernel.org>; Tue, 02 Jun 2015 07:49:57 -0700 (PDT) X-Received: by 10.182.133.40 with SMTP id oz8mr22917878obb.68.1433256597755; Tue, 02 Jun 2015 07:49:57 -0700 (PDT) Received: from localhost ([167.160.116.34]) by mx.google.com with ESMTPSA id xx2sm1249562oeb.17.2015.06.02.07.49.55 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 02 Jun 2015 07:49:56 -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 10/32] KVM: vgic: return int instead of bool when checking I/O ranges Date: Tue, 2 Jun 2015 22:48:05 +0800 Message-Id: <1433256507-7856-11-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1433256507-7856-1-git-send-email-shannon.zhao@linaro.org> References: <1433256507-7856-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.181 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;