Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1631790

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

From Alan Cox <alan@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2 linux-next] staging: media: atomisp: kmap() can't fail
Date 2017-04-27 01:10 +0200
Message-ID <tAEem-EN-1@gated-at.bofh.it> (permalink)
References <tAAaJ-64N-1@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V2 linux-next] staging: media: atomisp: kmap() can't fail Fabian Frederick <fabf@skynet.be> - 2017-04-26 20:50 +0200
  Re: [PATCH V2 linux-next] staging: media: atomisp: kmap() can't fail Alan Cox <alan@linux.intel.com> - 2017-04-27 01:10 +0200

csiph-web