Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 41b21aeb authored by Niels de Vos's avatar Niels de Vos Committed by Tomi Valkeinen
Browse files

OMAP: DSS2: OMAPFB: make DBG() more resistant in if-else constructions



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: default avatarNiels de Vos <ndevos@redhat.com>
[tomi.valkeinen@ti.com: changed the title of the commit msg]
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 0d548a27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment