Re: [PATCH next] pds_fwctl: Fix a NULL vs IS_ERR() check in pdsfc_validate_rpc()

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

 



On Wed, Mar 19, 2025 at 09:18:31AM -0700, Nelson, Shannon wrote:
> On 3/19/2025 12:06 AM, Dan Carpenter wrote:
> > 
> > The pdsfc_get_operations() function returns error pointers, it doesn't
> > return NULL.  However, the "ep_info->operations" pointer should be set
> > to either a valid pointer or NULL because the rest of the driver checks
> > for that.
> > 
> > Fixes: 804294d75ac5 ("pds_fwctl: add rpc and query support")
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> Hi Dan, thanks for this patch.  We also have this same fix in the patchset
> update that I was expecting to push out today, but you beat me to it.
> 
> Shall I continue with our v4 patchset, or should I now be sending smaller
> patches to update from earlier review comments?
> 

I don't track how these things are merged.  If you were going to fix
it in a v4 patchset then just ignore this patch.  Typically in that
case you would fold the fix into the patchset anyway.

regards,
dan carpenter





[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