Re: [PATCH] sh: correct definitions to access stack pointers

From: Paul Mundt
Date: Wed Jan 05 2011 - 02:59:50 EST


On Sat, Jan 01, 2011 at 07:36:36PM +0100, roel kluin wrote:
> A definition like:
>
> #define regs_return_value(regs) ((regs)->regs[0])
>
> called with regs_return_value(foo) will be preprocessed to:
>
> ((foo)->foo[0])
> ^^^
> So to fix this to ensure the preprocessor compiles such calls correctly.
>
> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>

Applied, thanks.
--
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/