Re: [PATCH v4] staging: greybus: replace PTR_ERR() with %pe in error messages
From: Yalagada Pavan Kumar
Date: Sat Oct 17 2026 - 09:46:49 EST
On Sat, Oct 17, 2026 at 01:20:39PM +0200, Greg KH wrote:
> On Thu, Oct 15, 2026 at 01:52:38PM +0530, pavankumaryalagada@xxxxxxxxx wrote:
> > From: Yalagada Pavan Kumar <pavankumaryalagada@xxxxxxxxx>
> >
> > Use %pe to print error pointers directly and display their
> > error names.
> >
> > Keep PTR_ERR() calls when the numeric error value is needed
> > for returning the error code.
> >
> > Signed-off-by: Yalagada Pavan Kumar <pavankumaryalagada@xxxxxxxxx>
> > ---
> > v4:
> > - Return error codes directly instead of storing them in ret,
> > as suggested by Julia Lawall.
> > - Remove the unused ret variable.
>
>
> Hi,
>
> This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
> a patch that has triggered this response. He used to manually respond
> to these common problems, but in order to save his sanity (he kept
> writing the same thing over and over, yet to different people), I was
> created. Hopefully you will not take offence and will fix the problem
> in your patch and resubmit it so that it can be accepted into the Linux
> kernel tree.
>
> You are receiving this message because of the following common error(s)
> as indicated below:
>
> - Your patch did not apply to any known trees that Greg is in control
> of. Possibly this is because you made it against Linus's tree, not
> the linux-next tree, which is where all of the development for the
> next version of the kernel is at. Please refresh your patch against
> the linux-next tree, or even better yet, the development tree
> specified in the MAINTAINERS file for the subsystem you are submitting
> a patch for, and resend it.
This v4 patch did not apply because arche-apb-ctrl.c and arche-platform.c
were removed by commit 2f75b2eac999.
The fw-core.c changes from my earlier v1 patch present in staging/staging-next.
Only the change to uart.c remains.
Should i send a v5 containing only the remaining change in uart.c?
Also, should i keep Alex Elder's Reviewed-by tag in v5?
Thanks,
Pavan
>
> If you wish to discuss this problem further, or you have questions about
> how to resolve this issue, please feel free to respond to this email and
> Greg will reply once he has dug out from the pending patches received
> from other developers.
>
> thanks,
>
> greg k-h's patch email bot