OpenCloudOS-Kernel/drivers/of
Rob Herring 91d967497f of: fix sparse warnings in of_find_next_cache_node
sparse gives a warning that 'handle' is not a __be32:

../drivers/of/base.c:2261:61: warning: incorrect type in argument 1 (different base types)
../drivers/of/base.c:2261:61:    expected restricted __be32 const [usertype] *p
../drivers/of/base.c:2261:61:    got unsigned int const [usertype] *[assigned] handle

We could just change the type, but the code can be improved by using
of_parse_phandle instead of open coding it with of_get_property and
of_find_node_by_phandle.

Signed-off-by: Rob Herring <robh@kernel.org>
2017-05-04 12:58:48 -05:00
..
unittest-data of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00
Kconfig mtd: Kill the OF_MTD Kconfig option 2016-09-23 09:35:16 +02:00
Makefile MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
address.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -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 of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
fdt.c of: Add unit tests for applying overlays 2017-04-27 17:26:06 -05:00
fdt_address.c of: use pr_fmt prefix for all console printing 2016-07-18 16:57:42 -05:00
irq.c of/irq: improve error report on irq discovery process failure 2017-01-09 09:52:17 -06:00
of_mdio.c of_mdio: Add "broadcom,bcm5241" to the whitelist. 2017-02-19 18:19:37 -05:00
of_net.c of_net: factor out repetitive code from of_get_mac_address() 2015-03-29 08:56:17 +01:00
of_numa.c of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes() 2017-04-18 11:04:12 -05: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_pci_irq.c of/irq: improve error report on irq discovery process failure 2017-01-09 09:52:17 -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: reserved_mem: set dma_ops for devices using reserved mem 2017-01-04 14:00:45 -06:00
overlay.c of: remove redundant memset in overlay 2017-01-09 14:21:23 -06:00
pdt.c of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
platform.c of: make of_device_make_bus_id() static 2017-02-09 09:29:37 -06:00
resolver.c of: drop duplicate headers 2017-01-04 14:01:28 -06:00
unittest.c of/unittest: Missing unlocks on error 2017-05-04 11:07:38 -05:00