[Intel-gfx] [PATCH] kernel.h: Add for_each_if()

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Jul 9 18:30:04 UTC 2018


On Mon, 2018-07-09 at 18:25 +0200, Daniel Vetter wrote:

> v2: Explain a bit better what this is good for, after the discussion
> with Peter Z.

Since I have not been Cc'ed to your discussion there is another
weirdness which this macro prohibits, i.e.

for_each_blah() {
} else {
 ...blahblah...
}

-- 
Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Intel Finland Oy


More information about the Intel-gfx mailing list