Re: [PATCH V2 linux-next] staging: media: atomisp: kmap() can't fail

From: Alan Cox
Date: Wed Apr 26 2017 - 19:03:01 EST


On Wed, 2017-04-26 at 20:44 +0200, Fabian Frederick wrote:
> There's no need to check kmap() return value because it won't fail.
> If it's highmem mapping, it will receive virtual address
> or a new one; if it's lowmem, all kernel pages are already being
> mapped.
>
> (Thanks to Jan Kara for explanations)
>Â

Thanks - queued.

Alan