Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304109
b: refs/heads/master
c: 9039448
h: refs/heads/master
i:
  304107: 09026cf
v: v3
  • Loading branch information
Hiroshi DOYU authored and Greg Kroah-Hartman committed May 14, 2012
1 parent a88021a commit 86ecacb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ca045930338485a8cdef117e74372aa1678009d
refs/heads/master: 90394482b807cb0a474fb387ed020603df14cfd0
5 changes: 3 additions & 2 deletions trunk/drivers/memory/tegra20-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ static void tegra20_mc_decode(struct tegra20_mc *mc, int n)

idx = n - MC_INT_ERR_SHIFT;
if ((idx < 0) || (idx >= ARRAY_SIZE(reg))) {
pr_err_ratelimited("Unknown interrupt status %08lx\n", BIT(n));
dev_err_ratelimited(mc->dev, "Unknown interrupt status %08lx\n",
BIT(n));
return;
}

Expand All @@ -172,7 +173,7 @@ static void tegra20_mc_decode(struct tegra20_mc *mc, int n)

addr = mc_readl(mc, reg[idx].offset + sizeof(u32));

pr_err_ratelimited("%s (0x%08x): 0x%08x %s (%s %s)\n",
dev_err_ratelimited(mc->dev, "%s (0x%08x): 0x%08x %s (%s %s)\n",
reg[idx].message, req, addr, client,
(req & BIT(reg[idx].write_bit)) ? "write" : "read",
(reg[idx].offset == MC_SECURITY_VIOLATION_STATUS) ?
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/memory/tegra30-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ static void tegra30_mc_decode(struct tegra30_mc *mc, int n)

idx = n - MC_INT_ERR_SHIFT;
if ((idx < 0) || (idx >= ARRAY_SIZE(mc_int_err)) || (idx == 1)) {
pr_err_ratelimited("Unknown interrupt status %08lx\n", BIT(n));
dev_err_ratelimited(mc->dev, "Unknown interrupt status %08lx\n",
BIT(n));
return;
}

Expand All @@ -243,7 +244,7 @@ static void tegra30_mc_decode(struct tegra30_mc *mc, int n)

addr = readl(mc + MC_ERR_ADR);

pr_err_ratelimited("%s (0x%08x): 0x%08x %s (%s %s %s %s)\n",
dev_err_ratelimited(mc->dev, "%s (0x%08x): 0x%08x %s (%s %s %s %s)\n",
mc_int_err[idx], err, addr, client,
(err & MC_ERR_SECURITY) ? "secure" : "non-secure",
(err & MC_ERR_RW) ? "write" : "read",
Expand Down

0 comments on commit 86ecacb

Please sign in to comment.