[PATCH] staging: rtl8723au: core: Fix endianness warnings
    Daniel Baluta 
    daniel.baluta at gmail.com
       
    Tue Oct  7 14:21:56 EEST 2014
    
    
  
On Tue, Oct 7, 2014 at 2:15 PM, Roberta Dobrescu
<roberta.dobrescu at gmail.com> wrote:
> This patch fixes endianness issues detected by sparse, such as:
>         - warning: cast to restricted __le16
>         - warning: cast to restricted __le32
>         - warning: incorrect type in assignment (different base types)
>                 expected unsigned short [unsigned] status
>                 got restricted __le16 [usertype] <noident>
>         - warning: incorrect type in assignment (different base types)
>                 expected unsigned short [unsigned] [assigned] [usertype] len
>                 got restricted __be16 [usertype] <noident>
>         - warning: incorrect type in assignment (different base types)
>                 expected unsigned short [unsigned] [assigned] [usertype] <noident>
>                 got restricted __le32 [usertype] <noident>
I think this should be split in a patch series. Each patch fixing a
single type of warning.
Daniel.
    
    
More information about the firefly
mailing list