On Fri, 2009-10-30 at 15:11 -0400, John W. Linville wrote: > On Thu, Oct 29, 2009 at 08:43:48AM +0100, Johannes Berg wrote: > > The multi-line code in this macro wasn't wrapped > > in do {} while (0) so we cannot use it in an if() > > branch safely in the future -- fix that. > > > > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > > do {...} while (0) won't work for that either, right? You need > ({...}) instead if you want to return a value. Is that what you want? No, I just want to be able to do if (...) CALL_TXH(...) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part