]> git.karo-electronics.de Git - linux-beck.git/commit
staging: brcm80211: add braces to SI_INFO macro definition
authorArend van Spriel <arend@broadcom.com>
Wed, 1 Jun 2011 11:45:26 +0000 (13:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:36:59 +0000 (12:36 -0700)
commita607d3c2bc9839fbc3ee8a8c99beeb7b3a3844c2
tree39df68dd27cd192770882c64c0dedba3467f8ba0
parent63182f61193deb1b3b23f7d65c3e0477eb4a0770
staging: brcm80211: add braces to SI_INFO macro definition

The additional braces allow the casted parameter to be indirected
immediately. Here is an example to clarify:
x = SI_INFO(y);    => z = SI_INFO(y)->field_a;
z = x->field_a;

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/aiutils.h