]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:17 +0000 (10:57 -0400)
commitf7ebd338151ca55f81beec1a1b9e9f23cdd2241c
tree6c766d0fbd89a03bcdbfd495193215913445beaa
parent69f9c4a22deeed6cf93e2320bff0e376fdad3cf5
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: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/usb/host/xhci.h