[PATCH V2] staging: rtl8723au: Remove unneeded endianness conversions

2015-09-24 Thread Lars Svensson
Fixing Sparse warnings in rtw_security.c. When checking crc, both actual and expected value was converted to cpu endianness before comparing, causing sparse warnings as below. Since the values are read from the buffer in correct byte order the extra conversions should not be needed. Thanks to Larr

Re: [PATCH V2] staging: rtl8723au: Remove unneeded endianness conversions

2015-09-26 Thread Larry Finger
On 09/24/2015 02:11 AM, Lars Svensson wrote: Fixing Sparse warnings in rtw_security.c. When checking crc, both actual and expected value was converted to cpu endianness before comparing, causing sparse warnings as below. Since the values are read from the buffer in correct byte order the extra co