diff options
| author | Gabriel L. Somlo <[email protected]> | 2017-12-18 16:55:24 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-19 11:57:37 +0100 |
| commit | 81948cbcf12cb16a6f5fad9c86233a596e2f47ab (patch) | |
| tree | 2295b48b7d8710ba14bc7a64a2c0694f26f9947f /tools/perf/scripts/python | |
| parent | 7f9d04bc568d22e573a10e2a0a316599942786f7 (diff) | |
staging: typec: fix endianness mismatch identified by sparse
Eliminate the following sparse warnings:
tcpci.c:291:38: warning: incorrect type in argument 1 (different base types)
tcpci.c:291:38: expected unsigned short [unsigned] [usertype] header
tcpci.c:291:38: got restricted __le16 const [usertype] header
tcpci.c:296:16: warning: incorrect type in assignment (different base types)
tcpci.c:296:16: expected unsigned int [unsigned] header
tcpci.c:296:16: got restricted __le16
tcpci.c:394:28: warning: incorrect type in assignment (different base types)
tcpci.c:394:28: expected restricted __le16 [usertype] header
tcpci.c:394:28: got unsigned int [unsigned] [addressable] reg
Signed-off-by: Gabriel Somlo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions