USB: xhci - fix unsafe macro definitions
authorDmitry Torokhov <dtor@vmware.com>
Sun, 20 Mar 2011 09:15:17 +0000 (02:15 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 13 Apr 2011 23:19:46 +0000 (16:19 -0700)
commit5a6c2f3ff039154872ce597952f8b8900ea0d732
treeec159272a5031ac9baa7c98dcbb09ca58b96050a
parent2868a2b1ba8f9c7f6c4170519ebb6c62934df70e
USB: xhci - fix unsafe macro definitions

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>
Cc: stable@kernel.org
drivers/usb/host/xhci.h