Messages in this thread | | | Subject | Re: [PATCH V2] omap2/omapfb: make DBG() more resistant in if-else constructions | From | Tomi Valkeinen <> | Date | Tue, 10 May 2011 15:16:07 +0300 |
| |
On Tue, 2011-05-10 at 12:07 +0100, Niels de Vos wrote: > When DBG() is used in a simple if-else, the resulting code path > currently depends on the definition of DBG(). Inserting the statement in > a "do { ... } while (0)" prevents this possible misuse. > > Signed-off-by: Niels de Vos <ndevos@redhat.com>
Thanks, I'll add this to the dss2 tree.
Tomi
| |