Re: Device driver memory 'mmap()' function helper cleanup

From: Linus Torvalds
Date: Wed Apr 17 2013 - 17:31:20 EST


On Wed, Apr 17, 2013 at 2:28 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> There is a separate check for the physical address that gets
> mapped in hpet_mmap:

Ahh, right you are. The earlier check for PAGE_SIZE's mapping and zero
offset is indeed superfluous.

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