aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2011-02-12 17:06:44 -0500
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-02-20 10:01:27 -0500
commita2490187011cc2263117626615a581927d19f1d3 (patch)
tree32e60d30546512b1c38259558954462c6a81f6bb /drivers/usb/misc
parent68e41c5d032668e2905404afbef75bc58be179d6 (diff)
xhci: Clarify some expressions in the TRB math
This makes it easier to spot some problems, which will be fixed by the next patch in the series. Also change dev_dbg to dev_err in check_trb_math(), so any math errors will be visible even when running with debug disabled. Note: This patch changes the expressions containing "((1 << TRB_MAX_BUFF_SHIFT) - 1)" to use the equivalent "(TRB_MAX_BUFF_SIZE - 1)". No change in behavior is intended for those expressions. This patch should be queued for stable kernels back to 2.6.31. Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable@kernel.org
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions