Re: [PATCH] Protect prefetch macro arguments.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, March 26, 2010 - 2:04 pm

On Fri, 26 Mar 2010, David Daney wrote:

This seems totally pointless and actively wrong.

You cannot have a comma operator in the actual argument list to the 
#define, because if you did, then you'd get a

	macro "prefetch()" passed 2 arguments, but takes just 1

so the only way I see to pass a comma operator is to _already_ have the 
macro parameter in parenthesis.

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Protect prefetch macro arguments., David Daney, (Fri Mar 26, 1:44 pm)
Re: [PATCH] Protect prefetch macro arguments., Linus Torvalds, (Fri Mar 26, 2:04 pm)
Re: [PATCH] Protect prefetch macro arguments., David Daney, (Fri Mar 26, 2:18 pm)
Re: [PATCH] Protect prefetch macro arguments., Linus Torvalds, (Fri Mar 26, 2:23 pm)