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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Paul,

I'm sorry to send to a wrong maillist... And please review another
patch (About VDSO, I'm sorry that I hadn't do enough tests before).

Huacai
On Thu, Oct 18, 2018 at 4:19 AM Paul Burton <paul.burton@xxxxxxxx> wrote:
>
> Hi Huacai,
>
> On Wed, Oct 17, 2018 at 08:29:53AM +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.
> >
> > Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
> > ---
> >  drivers/base/cacheinfo.c | 6 ++----
> >  1 file changed, 2 insertions(+), 4 deletions(-)
>
> Since this isn't a MIPS-related patch you'll need to send it to the
> maintainers & reviewers for the file you modified. They would be:
>
>   $ ./scripts/get_maintainer.pl -f drivers/base/cacheinfo.c
>   Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>     (supporter:DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS)
>   "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
>     (reviewer:DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS)
>   linux-kernel@xxxxxxxxxxxxxxx (open list)
>
> Thanks,
>     Paul


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux