Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'devicetree-fixes-for-4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull DeviceTree fix from Rob Herring:
"One regression for a 20 year old PowerMac:

- Fix a regression on systems having a DT without any phandles which
happens on a PowerMac G3"

* tag 'devicetree-fixes-for-4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
of: fix phandle cache creation for DTs with no phandles

+3
+3
drivers/of/base.c
··· 140 140 if (np->phandle && np->phandle != OF_PHANDLE_ILLEGAL) 141 141 phandles++; 142 142 143 + if (!phandles) 144 + goto out; 145 + 143 146 cache_entries = roundup_pow_of_two(phandles); 144 147 phandle_cache_mask = cache_entries - 1; 145 148