diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-11-15 03:18:07 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-12-02 12:59:45 -0800 |
commit | 0c052aabe66c495bf1248f301a8e745da66c6633 (patch) | |
tree | e9fb325474142b377395aadc6dd3898b13c0f1a6 /arch/m32r/kernel/smp.c | |
parent | d20c72256721411f55eb95beddf1d8a5d5da31eb (diff) |
xhci: fix incorrect type in assignment in xhci_address_device()
The field 'dev_info' in struct xhci_slot_ctx has type __le32 and it needs
to be converted to CPU byteorder for the correct retrieval of its subfield
'Context Entries'. This field is used by the trace event 'xhci_address_ctx'
to trace only the contexts of valid endpoints.
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 'arch/m32r/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions