From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tamas K Lengyel Subject: Re: [PATCH v5 13/17] xen/arm: Instruction prefetch abort (X) mem_event handling Date: Fri, 12 Sep 2014 10:34:44 +0200 Message-ID: References: <1410355726-5599-1-git-send-email-tklengyel@sec.in.tum.de> <1410355726-5599-14-git-send-email-tklengyel@sec.in.tum.de> <541212B4.2070705@linaro.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8572498642805619813==" Return-path: In-Reply-To: <541212B4.2070705@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Ian Campbell , Tim Deegan , Ian Jackson , "xen-devel@lists.xen.org" , Stefano Stabellini , Andres Lagar-Cavilla , Jan Beulich , Daniel De Graaf , Tamas K Lengyel List-Id: xen-devel@lists.xenproject.org --===============8572498642805619813== Content-Type: multipart/alternative; boundary=001a11c3030835758e0502da2883 --001a11c3030835758e0502da2883 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Sep 11, 2014 at 11:23 PM, Julien Grall wrote: > Hello Tamas, > > On 10/09/14 06:28, Tamas K Lengyel wrote: > >> + default: >> + break; >> + } >> > > I don't think the default: break; is useful here. I would drop it. > > I seem to recall some compilers warning me in the past if there was no default case (in a separate project), but that might just have been an overly restrictive setting I had. Tamas > > -- > Julien Grall > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > --001a11c3030835758e0502da2883 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Thu, Sep 11, 2014 at 11:23 PM, Julien Grall <julien.grall@lin= aro.org> wrote:
Hello Tamas= ,

On 10/09/14 06:28, Tamas K Lengyel wrote:
+=A0 =A0 default:
+=A0 =A0 =A0 =A0 break;
+=A0 =A0 }

I don't think the default: break; is useful here. I would drop it.


I seem to recall some co= mpilers warning me in the past if there was no default case (in a separate = project), but that might just have been an overly restrictive setting I had= .

Tamas
=A0

--
Julien Grall


_______________________________________________
Xen-devel mailing list
Xen-devel@list= s.xen.org
http://lists.x= en.org/xen-devel

--001a11c3030835758e0502da2883-- --===============8572498642805619813== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8572498642805619813==--