• Peter Chen's avatar
    usb: chipidea: trace: fix the endian issue · 429ad75f
    Peter Chen authored
    "sparse warnings: (new ones prefixed by >>)"
       drivers/usb/chipidea/trace.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, drivers/usb/chipidea/trace.h):
    >> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] next @@     got restricted __le32 [usertype] next @@
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     expected unsigned int [usertype] next
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     got restricted __le32 [usertype] next
    >> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] token @@     got restricted __le32 [usertype] token @@
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     expected unsigned int [usertype] token
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     got restricted __le32 [usertype] token
       drivers/usb/chipidea/trace.c: note: in included file (through include/trace/perf.h, include/trace/define_trace.h, drivers/usb/chipidea/trace.h):
    >> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] next @@     got restricted __le32 [usertype] next @@
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     expected unsigned int [usertype] next
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     got restricted __le32 [usertype] next
    >> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] token @@     got restricted __le32 [usertype] token @@
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     expected unsigned int [usertype] token
    >> drivers/usb/chipidea/./trace.h:39:1: sparse:     got restricted __le32 [usertype] token
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
    429ad75f
trace.h 2.44 KB