From: Tim Deegan Subject: Re: [PATCH] x86/mm: set_p2m_entry() should return 0 on error Date: Fri, 27 Nov 2009 10:43:09 +0000 Message-ID: <20091127104309.GH14284@whitby.uk.xensource.com> References: <7kpr74y2bs.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <7kpr74y2bs.fsf@pingu.sky.yk.fujitsu.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 05:16 +0000 on 27 Nov (1259298997), Kouya Shimura wrote: > set_p2m_entry() ignores halfway errors. > It should return 0 on error, shouldn't it? Since all of its callers discard the return value, it hardly matters. :( But yes, this patch makes the semantics more sensible. > Signed-off-by: Kouya Shimura Acked-by: Tim Deegan -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]