From: Andrew Cooper Subject: Re: [PATCH] memory: fix compat handling of XENMEM_access_op Date: Fri, 2 Sep 2016 12:19:55 +0100 Message-ID: <9303e7e2-9584-3783-0fdd-96c457fc1957@citrix.com> References: <57C56AD8020000780010A125@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0144648078805417311==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfmVr-0006ri-T1 for xen-devel@lists.xenproject.org; Fri, 02 Sep 2016 11:20:00 +0000 In-Reply-To: <57C56AD8020000780010A125@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Jan Beulich , xen-devel Cc: Stefano Stabellini , Wei Liu , Razvan Cojocaru , George Dunlap , Tim Deegan , Ian Jackson , tamas@tklengyel.com List-Id: xen-devel@lists.xenproject.org --===============0144648078805417311== Content-Type: multipart/alternative; boundary="------------A2A3E5A8E6EF71EC745260F4" --------------A2A3E5A8E6EF71EC745260F4 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On 30/08/16 10:15, Jan Beulich wrote: > Within compat_memory_op() this needs to be placed in the first switch() > statement, or it ends up being dead code (as that first switch() has a > default case chaining to compat_arch_memory_op()). > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --------------A2A3E5A8E6EF71EC745260F4 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: 7bit
On 30/08/16 10:15, Jan Beulich wrote:
Within compat_memory_op() this needs to be placed in the first switch()
statement, or it ends up being dead code (as that first switch() has a
default case chaining to compat_arch_memory_op()).

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
--------------A2A3E5A8E6EF71EC745260F4-- --===============0144648078805417311== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============0144648078805417311==--