* [PATCH] bus: arm-ccn: Fix warning message
@ 2014-08-18 17:20 Pawel Moll
2014-08-24 18:28 ` Olof Johansson
0 siblings, 1 reply; 2+ messages in thread
From: Pawel Moll @ 2014-08-18 17:20 UTC (permalink / raw)
To: linux-arm-kernel
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(-)
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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] bus: arm-ccn: Fix warning message
2014-08-18 17:20 [PATCH] bus: arm-ccn: Fix warning message Pawel Moll
@ 2014-08-24 18:28 ` Olof Johansson
0 siblings, 0 replies; 2+ messages in thread
From: Olof Johansson @ 2014-08-24 18:28 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-24 18:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 17:20 [PATCH] bus: arm-ccn: Fix warning message Pawel Moll
2014-08-24 18:28 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).