]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: xhci - fix unsafe macro definitions
authorDmitry Torokhov <dtor@vmware.com>
Sun, 20 Mar 2011 09:15:17 +0000 (02:15 -0700)
committerAndi Kleen <ak@linux.intel.com>
Thu, 28 Apr 2011 15:21:09 +0000 (08:21 -0700)
commit7582e0dedb0f71907b0cd6cc298b246628ced943
treeccb6d05e2c712cc54081e18446bbd385692e4819
parentb367480dbb551ca870e09dae5a28be7464dd809a
USB: xhci - fix unsafe macro definitions

commit 5a6c2f3ff039154872ce597952f8b8900ea0d732 upstream.

Macro arguments used in expressions need to be enclosed in parenthesis
to avoid unpleasant surprises.

This should be queued for kernels back to 2.6.31

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/usb/host/xhci.h