summaryrefslogtreecommitdiff
path: root/kernel/bounds.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>2020-07-31 12:02:48 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-07-31 17:43:07 +0200
commitc3028b951ed15b7c3409c6d9a69dad615de23d3f (patch)
tree0b91bbd860d580e55e6cab7ed438c63a37fabd77 /kernel/bounds.c
parent0fc0ead3488836503573286bcaa56f9743ea2bcc (diff)
of: address: Fix parser address/size cells initialization
bus->count_cells() parses cells starting from the node's parent. This is not good enough for parser_init() which is generally parsing a bus node. Revert to previous behavior using of_bus_n_*_cells(). Fixes: 2f96593ecc37 ("of_address: Add bus type match for pci ranges parser") Reported-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions