Re: [PATCH v2] staging: typec: Fix endianness warning discovered by sparse

2017-07-06 Thread Thomas Gardner
Guenter Roeck / 2017-07-06T17:13-0700 > On 07/06/2017 03:54 PM, Thomas Gardner wrote: > > 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

Re: [PATCH v2] staging: typec: Fix endianness warning discovered by sparse

2017-07-06 Thread Guenter Roeck
On 07/06/2017 03:54 PM, Thomas Gardner wrote: 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

[PATCH v2] staging: typec: Fix endianness warning discovered by sparse

2017-07-06 Thread Thomas Gardner
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: