[PATCH 3/3] OMAP clock/hwmod: fix off-by-one errors

Paul Walmsley paul at pwsan.com
Wed Nov 18 14:11:03 EST 2009


On Wed, 18 Nov 2009, Tony Lindgren wrote:

> To me it sounds like this can wait until the merge window,
> so not adding to omap-fixes for now.

Indeed, there's no rush on this one, so let's set it up for 2.6.33.
I'll keep that macro in plat/system.h unless you or Russell have a better 
suggestion.  It might be worth looking at the rest of the Linux codebase 
to see if there are other potential users; maybe someone might be willing 
to pick up a "kernel-janitor" task for this?

Vikram, I agree with your comment.  Maybe someone can send a patch to 
clean up ehci-hcd.c and any other users of the same idiom to use this 
macro for 2.6.33?  Looks like also plat-omap/mailbox.c:__mbox_msg_send() 
and mach-omap2/powerdomain.c:pwrdm_wait_transition() would be good 
candidates for this, under arch/arm/*omap*.


- Paul



More information about the linux-arm-kernel mailing list