Thread (13 messages) flat view 13 messages, 5 authors, 2008-07-15

Re: [RFC] [PATCH] task_pt_regs for powerpc systems

From: Srinivasa D S <hidden>
Date: 2008-07-15 09:22:14

On Monday 14 July 2008 11:06:47 pm Andreas Schwab wrote:
Timur Tabi [off-list ref] writes:
quoted
Srinivasa D S wrote:
quoted
+#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.
Thanks for the comments, For safer side I have used "()"  and sent the updated 
patch.

Thanks
 Srinivasa DS
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help