Re: [PATCH net-next v1 1/1] stmmac: intel: Fix warning message for return value in intel_tsn_lane_is_available()

From: Choong Yong Liang
Date: Tue Mar 11 2025 - 01:33:57 EST




On 10/3/2025 10:20 pm, Kory Maincent wrote:
On Mon, 10 Mar 2025 13:08:35 +0800
Choong Yong Liang <yong.liang.choong@xxxxxxxxxxxxxxx> wrote:

Fix the warning "warn: missing error code? 'ret'" in the
intel_tsn_lane_is_available() function.

The function now returns 0 to indicate that a TSN lane was found and
returns -EINVAL when it is not found.

Fixes: a42f6b3f1cc1 ("net: stmmac: configure SerDes according to the
interface mode")
Signed-off-by: Choong Yong Liang <yong.liang.choong@xxxxxxxxxxxxxxx>

This patch is a fix it should go net instead net-next.
Could you resend the patch with net prefix?

Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

Thank you!

Hi Kory,

Thank you for your feedback. I understand that the patch is a fix. However, since the code is not yet in the 'net' tree, we are unable to apply the fix there.

I'm not sure if there is another way to handle this fix other than sending it to the 'net-next' tree. I would appreciate any guidance you might have on this matter.