• H
    ata: endianness annotations in pata drivers · 6ad67403
    Harvey Harrison 提交于
    drivers/ata/pata_qdi.c:142:9: warning: incorrect type in assignment (different base types)
    drivers/ata/pata_qdi.c:142:9:    expected unsigned int [unsigned] [usertype] pad
    drivers/ata/pata_qdi.c:142:9:    got restricted __le32 [usertype] <noident>
    drivers/ata/pata_qdi.c:146:15: warning: cast to restricted __le32
    
    drivers/ata/pata_winbond.c:110:9: warning: incorrect type in assignment (different base types)
    drivers/ata/pata_winbond.c:110:9:    expected unsigned int [unsigned] [usertype] pad
    drivers/ata/pata_winbond.c:110:9:    got restricted __le32 [usertype] <noident>
    drivers/ata/pata_winbond.c:114:15: warning: cast to restricted __le32
    
    drivers/ata/pata_legacy.c:310:9: warning: incorrect type in assignment (different base types)
    drivers/ata/pata_legacy.c:310:9:    expected unsigned int [unsigned] [usertype] pad
    drivers/ata/pata_legacy.c:310:9:    got restricted __le32 [usertype] <noident>
    drivers/ata/pata_legacy.c:314:15: warning: cast to restricted __le32
    drivers/ata/pata_legacy.c:752:11: warning: cast to restricted __le32
    drivers/ata/pata_legacy.c:756:9: warning: incorrect type in assignment (different base types)
    drivers/ata/pata_legacy.c:756:9:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] pad
    drivers/ata/pata_legacy.c:756:9:    got restricted __le32 [usertype] <noident>
    Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
    6ad67403
pata_legacy.c 33.3 KB