Re: [PATCH V3] cacheinfo: Keep the old value if of_property_read_u32 fails

From: Sudeep Holla
Date: Tue Jan 22 2019 - 05:30:48 EST



On 22/01/2019 00:51, Huacai Chen wrote:
> Ping?
>
> On Wed, Dec 19, 2018 at 4:15 PM Huacai Chen <chenhc@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
>> Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
>> Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>

Looks like this slipped through the cracks during holiday period.
Wait until Greg responds for a week, if not please repost as it may be
difficult to dig out old emails especially the ones during holidays.

--
Regards,
Sudeep