Re: [PATCH v1 1/1] device property: Drop redundant NULL checks

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

 



On Tue, Oct 26, 2021 at 06:52:39PM +0200, Rafael J. Wysocki wrote:
> On Tue, Oct 26, 2021 at 6:30 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > In cases when functions are called via fwnode operations,
> > we already know that this is software node we are dealing
> > with, hence no need to check if it's NULL, it can't be,
> >
> > Reported-by: YE Chengfeng <cyeaa@xxxxxxxxxxxxxx>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> 
> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> 
> or please let me know if I need to pick this up.

I can take it, thanks!

greg k-h



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux