diff options
| author | Paul Zimmerman <[email protected]> | 2011-02-12 14:06:44 -0800 |
|---|---|---|
| committer | Sarah Sharp <[email protected]> | 2011-02-20 07:01:27 -0800 |
| commit | a2490187011cc2263117626615a581927d19f1d3 (patch) | |
| tree | 32e60d30546512b1c38259558954462c6a81f6bb /tools/perf/scripts/python | |
| parent | 68e41c5d032668e2905404afbef75bc58be179d6 (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 <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions