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


Groups > linux.kernel > #1440913

Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter page_mask usage
Date 2016-07-11 23:20 +0200
Message-ID <rTQMp-41w-9@gated-at.bofh.it> (permalink)
References <rT4eK-5W3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 10 Jul 2016 01:17:05 +0800 chengang@emindsoft.com.cn wrote:

> For a pure output parameter:
> 
>  - When callee fails, the caller should not assume the output parameter
>    is still valid.
> 
>  - And callee should not assume the pure output parameter must be
>    provided by caller -- caller has right to pass NULL when caller does
>    not care about it.

Sorry, I don't think this one is worth merging really.

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


Thread

Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter  page_mask usage Andrew Morton <akpm@linux-foundation.org> - 2016-07-11 23:20 +0200
  Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter  page_mask usage Chen Gang <chengang@emindsoft.com.cn> - 2016-07-12 19:10 +0200
    Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter  page_mask usage Michal Hocko <mhocko@kernel.org> - 2016-07-13 10:00 +0200
      Re: [PATCH] mm: gup: Re-define follow_page_mask output parameter  page_mask usage Chen Gang <chengang@emindsoft.com.cn> - 2016-07-17 02:20 +0200

csiph-web