From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v4 1/5] xen/compiler: Replace opencoded __attribute__((noreturn)) Date: Fri, 28 Feb 2014 17:32:04 +0000 Message-ID: <5310C814.3070702@citrix.com> References: <1393331011-22240-1-git-send-email-andrew.cooper3@citrix.com> <1393331011-22240-2-git-send-email-andrew.cooper3@citrix.com> <5310C887020000780012044A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5310C887020000780012044A@nat28.tlf.novell.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: Jan Beulich Cc: Keir Fraser , Stefano Stabellini , Xen-devel List-Id: xen-devel@lists.xenproject.org On 28/02/14 16:33, Jan Beulich wrote: >>>> On 25.02.14 at 13:23, Andrew Cooper wrote: >> Make a formal define for noreturn in compiler.h, and fix up opencoded uses of >> __attribute__((noreturn)). This includes removing redundant uses with >> function definitions which have a public declaration. >> >> Signed-off-by: Andrew Cooper >> CC: Keir Fraser >> CC: Jan Beulich >> Acked-by: Ian Campbell >> CC: Stefano Stabellini >> Acked-by: Tim Deegan > I had already committed this, but it failed my pre-push build test: > >> --- a/xen/include/xen/compiler.h >> +++ b/xen/include/xen/compiler.h >> @@ -14,6 +14,8 @@ >> #define always_inline __inline__ __attribute__ ((always_inline)) >> #define noinline __attribute__((noinline)) >> >> +#define noreturn __attribute__((noreturn)) > This collides with uses of __attribute__((noreturn)) elsewhere in > the tree. Did this really build for you without issue? > > Jan > Hmm - I can see why. I will respin the series and double check each commit for compilation. I think this was broken by splitting out the changes to nmi_crash() in v3. ~Andrew