RE: [PATCH] cris: bug: add unreachable() to silence warnings
From: Mikael Starvik
Date: Mon Aug 11 2014 - 01:36:39 EST
Agreed. If you include that, I will ack it
-----Original Message-----
From: Maurizio Lombardi [mailto:mlombard@xxxxxxxxxx]
Sent: den 7 augusti 2014 09:24
To: Nick Krause; Mikael Starvik; Jesper Nilsson; open@xxxxxxxx; list@; open list
Subject: Re: [PATCH] cris: bug: add unreachable() to silence warnings
On 08/07/2014 06:01 AM, Nick Krause wrote:
> ".previous\n\t" \
> - : : "ri" (__FILE__), "i" (__LINE__))
> + : : "ri" (__FILE__), "i" (__LINE__)); \
> + unreachable();
> +} while (0)
Does this code compile?
There should be a trailing '\' character after "unreachable()".
Regards,
Maurizio Lombardi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/