Re: Bug on "omap: ioremap fixes for omap4"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Aguirre Rodriguez, Sergio Alberto <saaguirre@xxxxxx> [091019 08:54]:
> Tony, Santosh,
> 
> I think there's a missing fix in this commit:
> 
> http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=041b80d9a00ab741ce50db92c84b6bed554fc3b6
> 
> Here:
> 
> > diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
> > index 50a62f2..4b644a9 100644
> > --- a/arch/arm/mach-omap2/board-4430sdp.c
> > +++ b/arch/arm/mach-omap2/board-4430sdp.c
> > @@ -60,9 +60,9 @@ static void __init gic_init_irq(void)
> >  	gic_dist_init(0, base, 29);
> >  
> >  	/* Static mapping, never released */
> > -	base = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_256);
> > +	gic_cpu_base_addr = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_512);
> >  	BUG_ON(!base);
> 
> Shouldn't it be:
> 
> 	BUG_ON(!gic_cpu_base_addr);
> 
> Instead?
> 
> > -	gic_cpu_init(0, OMAP44XX_GIC_CPU_BASE);
> > +	gic_cpu_init(0, gic_cpu_base_addr);
> >  }
> >  
> >  static void __init omap_4430sdp_init_irq(void)

Yeah thanks, I've posted a refreshed patch for that
and pushed the fix to linux-omap master and for-next
branches.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux