linux/drivers/of
Rob Herring 17a70355ea of: fix sparse warnings in fdt, irq, reserved mem, and resolver code
sparse generates the following warnings in drivers/of/:

../drivers/of/fdt.c:63:36: warning: cast to restricted __be32
../drivers/of/fdt.c:68:33: warning: cast to restricted __be32
../drivers/of/irq.c:105:88: warning: incorrect type in initializer (different base types)
../drivers/of/irq.c:105:88:    expected restricted __be32
../drivers/of/irq.c:105:88:    got int
../drivers/of/irq.c:526:35: warning: incorrect type in assignment (different modifiers)
../drivers/of/irq.c:526:35:    expected int ( *const [usertype] irq_init_cb )( ... )
../drivers/of/irq.c:526:35:    got void const *const data
../drivers/of/of_reserved_mem.c:200:50: warning: incorrect type in initializer (different modifiers)
../drivers/of/of_reserved_mem.c:200:50:    expected int ( *[usertype] initfn )( ... )
../drivers/of/of_reserved_mem.c:200:50:    got void const *const data
../drivers/of/resolver.c:95:42: warning: incorrect type in assignment (different base types)
../drivers/of/resolver.c:95:42:    expected unsigned int [unsigned] [usertype] <noident>
../drivers/of/resolver.c:95:42:    got restricted __be32 [usertype] <noident>

All these are harmless type mismatches fixed by adjusting the types.

Signed-off-by: Rob Herring <robh@kernel.org>
2017-05-04 14:01:13 -05:00
..
unittest-data of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00
address.c of: fix sparse warning in of_pci_range_parser_one 2017-05-04 12:58:48 -05:00
base.c of: fix sparse warnings in of_find_next_cache_node 2017-05-04 12:58:48 -05:00
device.c of: Add function for generating a DT modalias with a newline 2017-03-22 14:56:13 -05:00
dynamic.c
fdt_address.c
fdt.c of: fix sparse warnings in fdt, irq, reserved mem, and resolver code 2017-05-04 14:01:13 -05:00
irq.c of: fix sparse warnings in fdt, irq, reserved mem, and resolver code 2017-05-04 14:01:13 -05:00
Kconfig
Makefile
of_mdio.c of_mdio: Add "broadcom,bcm5241" to the whitelist. 2017-02-19 18:19:37 -05:00
of_net.c
of_numa.c of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes() 2017-04-18 11:04:12 -05:00
of_pci_irq.c of/irq: improve error report on irq discovery process failure 2017-01-09 09:52:17 -06:00
of_pci.c of/pci: Add of_pci_get_max_link_speed() to parse max-link-speed from DT 2016-11-14 15:21:14 -06:00
of_private.h of: fix unittest build without CONFIG_OF_OVERLAY 2017-04-28 16:17:56 -05:00
of_reserved_mem.c of: fix sparse warnings in fdt, irq, reserved mem, and resolver code 2017-05-04 14:01:13 -05:00
overlay.c of: remove redundant memset in overlay 2017-01-09 14:21:23 -06:00
pdt.c
platform.c of: make of_device_make_bus_id() static 2017-02-09 09:29:37 -06:00
resolver.c of: fix sparse warnings in fdt, irq, reserved mem, and resolver code 2017-05-04 14:01:13 -05:00
unittest.c of/unittest: Missing unlocks on error 2017-05-04 11:07:38 -05:00