• K
    of/irq: sparse fixes · d2e41518
    Kim Phillips 提交于
    drivers/of/irq.c:195:57: warning: restricted __be32 degrades to integer
    drivers/of/irq.c:196:51: warning: restricted __be32 degrades to integer
    drivers/of/irq.c:199:57: warning: restricted __be32 degrades to integer
    drivers/of/irq.c:201:58: warning: restricted __be32 degrades to integer
    drivers/of/irq.c:470:37: warning: incorrect type in assignment (different modifiers)
    drivers/of/irq.c:470:37:    expected int ( *[usertype] irq_init_cb )( ... )
    drivers/of/irq.c:470:37:    got void const *const data
    drivers/of/irq.c:96:5: error: symbol 'of_irq_map_raw' redeclared with different type (originally declared at include/linux/of_irq.h:61) - incompatible argument 2 (different base types)
    
    drivers/of/of_pci_irq.c:91:40: warning: incorrect type in argument 2 (different base types)
    drivers/of/of_pci_irq.c:91:40:    expected unsigned int const [usertype] *intspec
    drivers/of/of_pci_irq.c:91:40:    got restricted __be32 *<noident>
    drivers/of/of_pci_irq.c:91:53: warning: incorrect type in argument 4 (different base types)
    drivers/of/of_pci_irq.c:91:53:    expected unsigned int const [usertype] *addr
    drivers/of/of_pci_irq.c:91:53:    got restricted __be32 *<noident>
    Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
    Signed-off-by: NRob Herring <rob.herring@calxeda.com>
    d2e41518
irq.c 13.9 KB