• Harvey Harrison's avatar
    ata: endianness annotations in pata drivers · 6ad67403
    Harvey Harrison authored
    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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    6ad67403
pata_qdi.c 8.46 KB