Re: [PATCH] cpufreq: apple-soc: Fix an IS_ERR() vs NULL check

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

 



On Mon, Feb 27, 2023 at 11:26 AM Eric Curtin <ecurtin@xxxxxxxxxx> wrote:
>
> On Mon, 27 Feb 2023 at 10:16, Dan Carpenter <error27@xxxxxxxxx> wrote:
> >
> > The of_iomap() function returns NULL if it fails.  It never returns
> > error pointers.  Fix the check accordingly.
> >
> > Fixes: 6286bbb40576 ("cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states")
> > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
> > ---
>
> Nice catch!
>
> Reviewed-by: Eric Curtin <ecurtin@xxxxxxxxxx>

Applied as 6.3-rc material, thanks!



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux