[RFC] [PATCH] task_pt_regs for powerpc systems

Andreas Schwab schwab at suse.de
Tue Jul 15 03:36:47 EST 2008


Timur Tabi <timur at freescale.com> writes:

> Srinivasa D S wrote:
>
>> +#define task_pt_regs(tsk)	(tsk)->thread.regs
>
> Shouldn't this be:
>
> 	#define task_pt_regs(tsk)	((tsk)->thread.regs)
>
> just to be safe?

Both -> and . have already highest precedence as postfix operators.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list