]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: debug-mmrs: prevent macro arg from expanding
authorMike Frysinger <vapier@gentoo.org>
Thu, 16 Jun 2011 22:22:11 +0000 (18:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Jul 2011 05:18:20 +0000 (01:18 -0400)
commitf0186b39156b27b5e0bd2589f9fd40290d526c0e
treecf16b91c7b9543f8dcaa80c2410658697b73ba32
parentfe8572d2cf72cbd579cf107868a32f16cd2aa310
Blackfin: debug-mmrs: prevent macro arg from expanding

Passing a non-simple expression in as the addr arg could incorrectly
apply the pointer cast resulting in misbehavior.  Add proper paren.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/debug-mmrs.c