]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Apr 2011 15:50:04 +0000 (08:50 -0700)
commitfa0956d9f2572a3af022813afe34d22814bcbf82
treed89fc4fa15f164665d5928af4b5f01d5321dc907
parent530e6b29d706356d21bed62fe13f21b96902d91e
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>
drivers/usb/host/xhci.h