From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v6 3/8] xen/arm: return int *_dcache_va_range Date: Thu, 16 Oct 2014 16:06:52 +0100 Message-ID: <543FDF0C.1000108@linaro.org> References: <1413470755-30991-3-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1413470755-30991-3-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , xen-devel@lists.xensource.com Cc: julien.grall@citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Stefano, On 10/16/2014 03:45 PM, Stefano Stabellini wrote: > These functions cannot really fail on ARM, but their x86 equivalents can > (-EOPNOTSUPP). Change the prototype to return int. > > Signed-off-by: Stefano Stabellini I was wondering if we should add a comment in the helpers in case someone decides to return a non-zero value. If so we will have to check the return in the caller. But I guess it will never happen. So either way: Reviewed-by: Julien Grall Regards, -- Julien Grall