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)
commit94674b15df4fdb111aeb2b07e67a818db5faa3c3
treecf16b91c7b9543f8dcaa80c2410658697b73ba32
parent7595ac0711723dbc07e07ebb8c91ad56df4ab49d
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