Message ID | 1429853281-6136-44-git-send-email-shannon.zhao@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCOL5N4BVYCBBNNL46UQKGQE6KYPETI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 88FF820553 for <linaro@patches.linaro.org>; Fri, 24 Apr 2015 05:33:42 +0000 (UTC) Received: by wiun10 with SMTP id n10sf1575008wiu.1 for <linaro@patches.linaro.org>; Thu, 23 Apr 2015 22:33:41 -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=6iK76QQsWYlq2PGcZxkY63nDi1S2uvCa1VOMf6MyPqY=; b=ejNGJYDhnZ2QVip7KnqlmQ+Tu7om85Q+Xpeq6AgeVWkQj+TFra3Lsd/nOPKNoKYUX+ Yv/n44XRawXRcWLhH8K/iMeW86Mv7Tz2kRxf/M6uufhf198PsFMtBaWvGsQb3GinmNQw mjN4BRcaYw5Bet4ipTETN6yDTLyux0bYnXN1OcFAys14TIHYmB2GUd9HGo4A29RE+pw1 eWb4hVWo2tPurQfU1sHPhn7FbNmmsQ1yfTqAazQ1SJ0A0EVTWL/FFPjCF0O7JO5XYANU yQH2W3WOnP+cHVFygPL6jmWLpdIrN0Ul7P8luhEeFAhSWqUuH1SwpqjgexCU83ByY7gy ueeg== X-Gm-Message-State: ALoCoQnZbfrLF5IOJ6w6NYHn7YA9JqxY/YiGmH+/woTBUpWEG27B1+G8m7Jp2PqhI8gZ7S128cTL X-Received: by 10.113.11.3 with SMTP id ee3mr3258921lbd.9.1429853621891; Thu, 23 Apr 2015 22:33:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.229 with SMTP id jf5ls410866lac.56.gmail; Thu, 23 Apr 2015 22:33:41 -0700 (PDT) X-Received: by 10.152.27.74 with SMTP id r10mr5515811lag.31.1429853621753; Thu, 23 Apr 2015 22:33:41 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id y9si7464975lbo.119.2015.04.23.22.33.41 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 22:33:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbuc2 with SMTP id uc2so28560537lbb.2 for <patchwork-forward@linaro.org>; Thu, 23 Apr 2015 22:33:41 -0700 (PDT) X-Received: by 10.112.204.72 with SMTP id kw8mr5459778lbc.88.1429853621622; Thu, 23 Apr 2015 22:33:41 -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 l1csp978514lbt; Thu, 23 Apr 2015 22:33:40 -0700 (PDT) X-Received: by 10.68.135.4 with SMTP id po4mr11876817pbb.12.1429853619926; Thu, 23 Apr 2015 22:33:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd10si15800741pdb.178.2015.04.23.22.33.39; Thu, 23 Apr 2015 22:33:39 -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 S1754545AbbDXFdi (ORCPT <rfc822;shannon.zhao@linaro.org> + 2 others); Fri, 24 Apr 2015 01:33:38 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:34542 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754559AbbDXFdi (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 24 Apr 2015 01:33:38 -0400 Received: by obfe9 with SMTP id e9so30213145obf.1 for <stable@vger.kernel.org>; Thu, 23 Apr 2015 22:33:37 -0700 (PDT) X-Received: by 10.202.172.196 with SMTP id v187mr5331437oie.51.1429853617860; Thu, 23 Apr 2015 22:33:37 -0700 (PDT) Received: from localhost ([167.160.116.36]) by mx.google.com with ESMTPSA id y139sm6087319oia.17.2015.04.23.22.33.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 Apr 2015 22:33:36 -0700 (PDT) From: shannon.zhao@linaro.org To: stable@vger.kernel.org Cc: jslaby@suse.cz, christoffer.dall@linaro.org, shannon.zhao@linaro.org, Will Deacon <will.deacon@arm.com>, Marc Zyngier <marc.zyngier@arm.com> Subject: [PATCH for 3.12.y stable 43/63] KVM: vgic: return int instead of bool when checking I/O ranges Date: Fri, 24 Apr 2015 13:27:41 +0800 Message-Id: <1429853281-6136-44-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1429853281-6136-1-git-send-email-shannon.zhao@linaro.org> References: <1429853281-6136-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.169 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 7ee14f0..91b5a9f 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c @@ -1468,7 +1468,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;