Re: [patch] mmc: check correct variable after kzalloc()

2013-02-12 Thread Dan Carpenter
On Tue, Feb 12, 2013 at 07:27:26AM -0500, Chris Ball wrote: > Hi Dan, > > On Tue, Feb 12 2013, Dan Carpenter wrote: > > There is a typo here so we check "mqrq_cur->packed" instead of > > "mqrq_prev->packed". > > > > Signed-off-by: Dan Carpenter > > > > diff --git a/drivers/mmc/card/queue.c b/driv

Re: [patch] mmc: check correct variable after kzalloc()

2013-02-12 Thread Chris Ball
Hi Dan, On Tue, Feb 12 2013, Dan Carpenter wrote: > There is a typo here so we check "mqrq_cur->packed" instead of > "mqrq_prev->packed". > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c > index c0d1315..97a848b 100644 > --- a/drivers/mmc/card/

[patch] mmc: check correct variable after kzalloc()

2013-02-12 Thread Dan Carpenter
There is a typo here so we check "mqrq_cur->packed" instead of "mqrq_prev->packed". Signed-off-by: Dan Carpenter diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index c0d1315..97a848b 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c @@ -378,7 +378,7 @@ int mm