Re: [PATCH 0/3] msm_sdcc: A few more cleanups

From: Pavel Machek
Date: Tue Jun 30 2009 - 09:21:28 EST


On Tue 2009-06-30 05:30:21, Joe Perches wrote:
> On Tue, 2009-06-30 at 08:57 +0200, Pavel Machek wrote:
> > diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
> > - do_div(clks, NSECS_PER_SEC);
> > + do_div(clks, NSEC_PER_SEC);
>
> Compiling is good. Submitting uncompiled patches not so good...

:-) Thanks for doing the cleanups. You know, fixing two compile
problems is easy compared to cleanups you did.

Can you fold those two fixups to your patches, or how to proceed?

> > @@ -588,6 +588,8 @@ static void
> > msmsdcc_handle_irq_data(struct msmsdcc_host *host, struct mmc_data *data,
> > u32 status)
> > {
> > + void __iomem *base = host->base;
> > +
>
> I don't know how performance sensitive this is.
>
> Maybe it should be inline and have base passed
> as an argument.

I don't think it is _that_ performance critical.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/