KernelNewbies:

Why do a lot of #defines in the kernel use do { ... } while(0)?

There are a couple of reasons:

KernelNewbies: FAQ/DoWhile0 (last edited 2017-12-30 01:29:53 by localhost)