Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: c63f5b454885 ("ARM: omap2: Use of_range_to_resource() for "ranges" parsing")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Message-ID: <c126dc33-233a-4776-806f-9dff0e73a181@moroto.mountain>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Dan Carpenter and committed by
Tony Lindgren
46e61750 06f114cf

+1 -1
+1 -1
arch/arm/mach-omap2/omap_hwmod.c
··· 2209 2209 return err; 2210 2210 2211 2211 pr_debug("omap_hwmod: %s %pOFn at %pR\n", 2212 - oh->name, np, &res); 2212 + oh->name, np, res); 2213 2213 2214 2214 if (oh && oh->mpu_rt_idx) { 2215 2215 omap_hwmod_fix_mpu_rt_idx(oh, np, res);