Re: [PATCH 05/11] tifm: fix the MemoryStick host fifo handling code

From: Alex Dubov
Date: Wed Mar 05 2008 - 21:36:26 EST


--- Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 5 Mar 2008 03:02:22 +1100
> oakad@xxxxxxxxxxxxxx wrote:
>
> > + buf = kmap_atomic(pg, KM_BIO_SRC_IRQ) + p_off;
>
> I am unable to convince myself that this driver always has local IRQs
> disabled when altering the KM_BIO_SRC_IRQ slot. Does it?
>

diff did rather bad job with this patch. The place in question looks like:


211: local_irq_save(flags);
212: buf = kmap_atomic(pg, KM_BIO_SRC_IRQ) + p_off;
....
....
223: kunmap_atomic(buf - p_off, KM_BIO_SRC_IRQ);
224: local_irq_restore(flags);



____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
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/