[...] >>> -----Original Message----- >>> From: Sricharan R [mailto:r.sricharan@xxxxxx] >>> Sent: Thursday, September 08, 2011 2:35 PM >>> To: Sricharan R >>> Subject: Re: [PATCH 1/8] OMAP: hwmod: Fix the addr spaces count API. >>> > >[...] > >>>> >>>> diff --git a/arch/arm/mach-omap2/omap_hwmod.c >>> b/arch/arm/mach-omap2/omap_hwmod.c >>>> index 84cc0bd..32a0f48a 100644 >>>> --- a/arch/arm/mach-omap2/omap_hwmod.c >>>> +++ b/arch/arm/mach-omap2/omap_hwmod.c >>>> @@ -791,9 +791,11 @@ static int _count_ocp_if_addr_spaces(struct >>> omap_hwmod_ocp_if *os) >>>> if (!os || !os->addr) >>>> return 0; >>>> >>>> - do { >>>> - mem =&os->addr[i++]; >>>> - } while (mem->pa_start != mem->pa_end); >>>> + mem =&os->addr[i]; >>>> + >This extran line isn't needed Sricharan. > Will correct this, along with benoit's commmets. Thanks, Sricharan -- 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