Messages in this thread | | | Date | Tue, 22 Jan 2019 13:51:50 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH V3] cacheinfo: Keep the old value if of_property_read_u32 fails |
| |
On Wed, Dec 19, 2018 at 04:16:03PM +0800, Huacai Chen wrote: > 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> > --- > V2: Add Cc and Reviewed-by > V3: Add ChangeLog
Sorry for the delay, now queued up.
greg k-h
| |