From e6394e9e8f83b77b61f0b240fcd39622571be690 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9=20=D0=9F=D1=83?= =?utf8?q?=D0=B7=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Wed, 19 Jun 2013 11:48:44 +0400 Subject: [PATCH] Fix for incorrect conversion hex string to number (FMAN firmware address). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Николай Пузанов Acked-by: York Sun --- arch/powerpc/cpu/mpc85xx/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index 63a04f14fa..533d47ab43 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -476,7 +476,7 @@ void fdt_fixup_fman_firmware(void *blob) if (!p) return; - fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 0); + fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 16); if (!fmanfw) return; -- 2.25.1