aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2018-12-19 16:16:03 +0800
committerGreg Kroah-Hartman <[email protected]>2019-01-22 13:50:31 +0100
commit3a34c986324c07dde32903f7bb262e6138e77c2a (patch)
treecc9fb51305015a68b79c8170d7f81f91ab49d3ff /net/lapb/lapb_out.c
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 (diff)
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: [email protected] Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions