aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2011-02-12 14:06:44 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 09:47:06 -0500
commit0b9b525723ed4e302cfc7b1b9c18b0086725d9d6 (patch)
tree56c5444ea1b6620681aabeae26ce3f962cbc6679 /drivers/s390
parented21f8ddd97100ed1f1cef934d0ec4a40b580c8d (diff)
xhci: Clarify some expressions in the TRB math
commit a2490187011cc2263117626615a581927d19f1d3 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions