On Wed, 24 Feb 2010 12:35:47 -0800
Andrew Morton <a...@linux-foundation.org> wrote:

> On Tue, 26 Jan 2010 14:40:04 +0300 Vladimir Zapolskiy <vzapols...@gmail.com> 
> wrote:
> 
> > Signed-off-by: Vladimir Zapolskiy <vzapols...@gmail.com>
> > Cc: Sascha Hauer <s.ha...@pengutronix.de>
> > Cc: Pierre Ossman <pie...@ossman.eu>
> > ---
> >  drivers/mmc/host/mxcmmc.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
> > index 60a2b69..faa7b76 100644
> > --- a/drivers/mmc/host/mxcmmc.c
> > +++ b/drivers/mmc/host/mxcmmc.c
> > @@ -708,7 +708,7 @@ static int mxcmci_probe(struct platform_device *pdev)
> >     mmc->max_blk_size = 2048;
> >     mmc->max_blk_count = 65535;
> >     mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
> > -   mmc->max_seg_size = mmc->max_seg_size;
> > +   mmc->max_seg_size = mmc->max_req_size;
> >  
> >     host = mmc_priv(mmc);
> >     host->base = ioremap(r->start, resource_size(r));
> 
> Please don't send unchangelogged patches.
> 
> I am not able to determine the user-visible impact of this bug hence I
> am not able to determine which kernel(s) we should merge this patch
> into.
> 

This patch is still stuck due to lack of any changelog explanation of
what it does.  Vladimir seems to have vanished.  Can someone please
take a look?  Review the patch and explain what it does?

Obviously the old code was wrong.  But is the new code right, and what
runtime effects does it have?



Thanks.


From: Vladimir Zapolskiy <vzapols...@gmail.com>

-ENOCHANGELOG

Signed-off-by: Vladimir Zapolskiy <vzapols...@gmail.com>
Cc: Sascha Hauer <s.ha...@pengutronix.de>
Cc: Pierre Ossman <pie...@ossman.eu>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
---

 drivers/mmc/host/mxcmmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/mmc/host/mxcmmc.c~mxcmmc-fixed-max_seg_size-value-on-initialization 
drivers/mmc/host/mxcmmc.c
--- 
a/drivers/mmc/host/mxcmmc.c~mxcmmc-fixed-max_seg_size-value-on-initialization
+++ a/drivers/mmc/host/mxcmmc.c
@@ -708,7 +708,7 @@ static int mxcmci_probe(struct platform_
        mmc->max_blk_size = 2048;
        mmc->max_blk_count = 65535;
        mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
-       mmc->max_seg_size = mmc->max_seg_size;
+       mmc->max_seg_size = mmc->max_req_size;
 
        host = mmc_priv(mmc);
        host->base = ioremap(r->start, resource_size(r));
_

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

Reply via email to