Skip to content

Commit 46e6175

Browse files
Dan Carpentertmlind
authored andcommitted
ARM: omap2: fix a debug printk
The %pR format string takes a pointer to struct resource, but this is passing a pointer to a pointer which it will print wrong information. Fixes: c63f5b4 ("ARM: omap2: Use of_range_to_resource() for "ranges" parsing") Signed-off-by: Dan Carpenter <[email protected]> Message-ID: <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 06f114c commit 46e6175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/omap_hwmod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ int omap_hwmod_parse_module_range(struct omap_hwmod *oh,
22092209
return err;
22102210

22112211
pr_debug("omap_hwmod: %s %pOFn at %pR\n",
2212-
oh->name, np, &res);
2212+
oh->name, np, res);
22132213

22142214
if (oh && oh->mpu_rt_idx) {
22152215
omap_hwmod_fix_mpu_rt_idx(oh, np, res);

0 commit comments

Comments
 (0)