summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorHuacai Chen2018-12-19 09:16:03 +0100
committerGreg Kroah-Hartman2019-01-22 13:50:31 +0100
commit3a34c986324c07dde32903f7bb262e6138e77c2a (patch)
treecc9fb51305015a68b79c8170d7f81f91ab49d3ff /fs/debugfs
parentLinux 5.0-rc2 (diff)
downloadkernel-qcow2-linux-3a34c986324c07dde32903f7bb262e6138e77c2a.tar.gz
kernel-qcow2-linux-3a34c986324c07dde32903f7bb262e6138e77c2a.tar.xz
kernel-qcow2-linux-3a34c986324c07dde32903f7bb262e6138e77c2a.zip
cacheinfo: Keep the old value if of_property_read_u32 fails
Commit 448a5a552f336bd7b847b1951 ("drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number") makes cache size and number_of_sets be 0 if DT doesn't provide there values. I think this is unreasonable so make them keep the old values, which is the same as old kernels. Fixes: 448a5a552f33 ("drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number") Cc: stable@vger.kernel.org Signed-off-by: Huacai Chen <chenhc@lemote.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions