Re: [PATCH v2] staging: rtl8712: rtl8712: fix sparse warnings

2017-02-07 Thread Dan Carpenter
On Wed, Feb 08, 2017 at 01:23:15AM +, Carlos Palminha wrote: > Fixed sparse warnings > * No need to convert from le32, pointers for structure with same endianness > (cast from restricted __le32) > * Need to convert bitwise operation for le32 structure (invalid assignment > from int to

Re: [PATCH v2] staging: rtl8712: rtl8712: fix sparse warnings

2017-02-07 Thread Dan Carpenter
On Wed, Feb 08, 2017 at 01:23:15AM +, Carlos Palminha wrote: > Fixed sparse warnings > * No need to convert from le32, pointers for structure with same endianness > (cast from restricted __le32) > * Need to convert bitwise operation for le32 structure (invalid assignment > from int to

[PATCH v2] staging: rtl8712: rtl8712: fix sparse warnings

2017-02-07 Thread Carlos Palminha
Fixed sparse warnings * No need to convert from le32, pointers for structure with same endianness (cast from restricted __le32) * Need to convert bitwise operation for le32 structure (invalid assignment from int to __le32) Signed-off-by: Carlos Palminha --- Changes

[PATCH v2] staging: rtl8712: rtl8712: fix sparse warnings

2017-02-07 Thread Carlos Palminha
Fixed sparse warnings * No need to convert from le32, pointers for structure with same endianness (cast from restricted __le32) * Need to convert bitwise operation for le32 structure (invalid assignment from int to __le32) Signed-off-by: Carlos Palminha --- Changes v1->v2: * Clarify patch