Message ID | 1408382449-13685-1-git-send-email-pawel.moll@arm.com |
---|---|
State | Accepted |
Commit | bf87bb12bd7062bf577163f3f6d765debbae6200 |
Headers | show
Return-Path: <patchwork-forward+bncBDV43YEW6EKBBFXNZCPQKGQE7LJI47Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AEC5520676 for <linaro@patches.linaro.org>; Mon, 18 Aug 2014 17:23:39 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id v10sf42326793pde.2 for <linaro@patches.linaro.org>; Mon, 18 Aug 2014 10:23:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=Pctmd/cktMFUNtx1UgrXUMmLMwubQhZRw7lh/hUNFOQ=; b=Zfjmqf1SJ3hg4c/Lbo30kt7cCoJB4N6MN3va2vXjRX1iqzK2kudd5SCNZTiRQRyC54 ZeHzKqCP5vUiD0j+KtKxGwgk1FZQ/fYlcCPx1RExt+c2LDf7xAlOpfyt/Im4r9ahBJMD WDDphvraYDYdlTa4/DVOpHYRUnkNin2JbZsGi371BkYtTGY7xws9wGpF7YZ72vRn2du0 E9jvZds9YHUbpYRV8UHYZ10ES8Iqib+V5p/z81xKu7TtyAPJc9TvigJUIPcC2HF8RW9A gbftkaTcGbMask3+WLERFr/o5ygTlWQBitnTE0gv+GBWPHHAohKqZPHDkm1lcsHs8rjQ 9bwQ== X-Gm-Message-State: ALoCoQlshjMFJ63gbVrSlvG8DxutHamn56lZl2GVyoBL+8CbHIDo0fdA0tvTDF8m7sBMgoC/A6fM X-Received: by 10.70.40.172 with SMTP id y12mr3590602pdk.8.1408382614336; Mon, 18 Aug 2014 10:23:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.44.119 with SMTP id f110ls2430836qga.96.gmail; Mon, 18 Aug 2014 10:23:34 -0700 (PDT) X-Received: by 10.52.127.5 with SMTP id nc5mr1173795vdb.59.1408382614037; Mon, 18 Aug 2014 10:23:34 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id ol3si5744588veb.60.2014.08.18.10.23.33 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 10:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so6159781vcb.12 for <patchwork-forward@linaro.org>; Mon, 18 Aug 2014 10:23:33 -0700 (PDT) X-Received: by 10.52.73.202 with SMTP id n10mr632647vdv.86.1408382613863; Mon, 18 Aug 2014 10:23:33 -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.221.37.5 with SMTP id tc5csp170330vcb; Mon, 18 Aug 2014 10:23:33 -0700 (PDT) X-Received: by 10.66.66.225 with SMTP id i1mr36765110pat.56.1408382612912; Mon, 18 Aug 2014 10:23:32 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id xi3si22777033pab.111.2014.08.18.10.23.32 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Aug 2014 10:23:32 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJQcR-0007EB-F4; Mon, 18 Aug 2014 17:21:19 +0000 Received: from fw-tnat.austin.arm.com ([217.140.110.23] helo=collaborate-mta1.arm.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJQcN-0006y1-IS for linux-arm-kernel@lists.infradead.org; Mon, 18 Aug 2014 17:21:16 +0000 Received: from hornet.Cambridge.Arm.com (hornet.cambridge.arm.com [10.2.201.42]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 179E113F815; Mon, 18 Aug 2014 12:20:51 -0500 (CDT) From: Pawel Moll <pawel.moll@arm.com> To: arm@kernel.org Subject: [PATCH] bus: arm-ccn: Fix warning message Date: Mon, 18 Aug 2014 18:20:49 +0100 Message-Id: <1408382449-13685-1-git-send-email-pawel.moll@arm.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140818_102115_740046_309505D6 X-CRM114-Status: UNSURE ( 7.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: Drew Richardson <drew.richardson@arm.com>, Pawel Moll <pawel.moll@arm.com>, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> 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-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: pawel.moll@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
On Mon, Aug 18, 2014 at 06:20:49PM +0100, Pawel Moll wrote: > A message warning a user about wrong vc value was printing > out port instead. > > Reported-by: Drew Richardson <drew.richardson@arm.com> > Signed-off-by: Pawel Moll <pawel.moll@arm.com> Applied. -Olof
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 3266f8f..6f550d9 100644 --- a/drivers/bus/arm-ccn.c +++ b/drivers/bus/arm-ccn.c @@ -662,7 +662,7 @@ static int arm_ccn_pmu_event_init(struct perf_event *event) } if (e->num_vcs && vc >= e->num_vcs) { dev_warn(ccn->dev, "Invalid vc %d for node/XP %d!\n", - port, node_xp); + vc, node_xp); return -EINVAL; } valid = 1;
A message warning a user about wrong vc value was printing out port instead. Reported-by: Drew Richardson <drew.richardson@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> --- drivers/bus/arm-ccn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)