diff options
| author | Thomas Gardner <[email protected]> | 2017-07-07 10:24:32 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-16 08:40:59 +0200 |
| commit | cbe5843e7624b6a468d74faccffec57b5c73200b (patch) | |
| tree | b63d6a6ae1d2a12e9ec2aaa0f4488f4437c5dc6a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 948d704855312ca1c5533a0bc39ac0783f90beb9 (diff) | |
staging: typec: Fix endianness warning discovered by sparse
The below warning is resolved by removing the cpu_to_le32() call. This
call was redundant; vdm_run_state_machine() ensures that SVDM responses
have the correct endianness before sending.
typec/tcpm.c:1019:49: warning: incorrect type in assignment (different base types)
typec/tcpm.c:1019:49: expected unsigned int [unsigned] [usertype] <noident>
typec/tcpm.c:1019:49: got restricted __le32 [usertype] <noident>
Signed-off-by: Thomas Gardner <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions