diff options
| author | 2013-09-09 21:03:10 +0300 | |
|---|---|---|
| committer | 2013-12-02 12:59:44 -0800 | |
| commit | 7e76ad431545d013911ddc744843118b43d01e89 (patch) | |
| tree | 86024caea4c61eff647abda2ab7c9ea173c03fcf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | xhci: convert TRB_CYCLE to le32 before using it to set Link TRB's cycle bit (diff) | |
xhci: fix incorrect type in assignment in handle_device_notification()
This patch converts Event TRB's 3rd field, which has type le32, to CPU
byteorder before using it to retrieve the Slot ID with TRB_TO_SLOT_ID macro.
This bug was found using sparse.
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
