Re: [PATCH v1] drivers:net:dsa:Fix resource leaks in fwnode_for_each_child_node() loops

From: Simon Horman
Date: Thu Jun 15 2023 - 09:03:33 EST


On Thu, Jun 15, 2023 at 03:04:58PM +0800, Wang Ming wrote:
> The fwnode_for_each_child_node loop in qca8k_setup_led_ctrl should
> have fwnode_handle_put() before return which could avoid resource leaks.
> This patch could fix this bug.
>
> Signed-off-by: Wang Ming <machel@xxxxxxxx>

Hi Wang Ming,

unfortunately your patch has been whitespace mangled - tabs have been
converted into 8 spaces. Possibly this was done by your mail client
or mail server. In any case the result is that the patch doesn't apply.
And unfortunately that breaks our processes.

Also, I'm assuming that as this patch is a fix, it is targeted at the
"net", as opposed to "net-next", tree. This should be noted in the subject.

Subject: [PATCH net v2] ...

Lastly, looking at the git history of qca8k-leds.c, I think that
a better prefix for the patch is "net: dsa: qca8k: ".

Subject: [PATCH net v2] net: dsa: qca8k: ...

Please consider addressing the problems and reposting your patch.

--
pw-bot: changes-requested