Re: [PATCH] mmc-atmel : fix kunmap wrong usage

From: Jens Axboe
Date: Fri Jun 22 2007 - 15:01:17 EST


On Fri, Jun 22 2007, Marc Pignat wrote:
> from: Marc Pignat <marc.pignat@xxxxxxx>
>
> kunmap must be called on the pointer returned by kmap.

kunmap_atomic() should align the given buffer to the start of the page
anyway, so your patch wont change behaviour.

--
Jens Axboe

-
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/