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 2007-02-09 01:50:49 by CPE000db9025be9-CM0011ae8a8ba6)