From: Xenia Ragiadakou Date: Fri, 15 Nov 2013 01:18:07 +0000 (+0200) Subject: xhci: fix incorrect type in assignment in xhci_address_device() X-Git-Tag: v3.14-rc1~148^2~130^2~65^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c052aabe66c495bf1248f301a8e745da66c6633;p=pandora-kernel.git 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 Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed