Re: [PATCH] net: systemport: free dev before on error path

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2021-01-20 05:12:47
Also in
lkml
Reply to
Pan Bian, 2021-01-20

On 1/19/2021 8:44 PM, Pan Bian wrote:
On the error path, it should goto the error handling label to free
allocated memory rather than directly return.

Fixes: 6328a126896e ("net: systemport: Manage Wake-on-LAN clock")
Signed-off-by: Pan Bian <redacted>
The change is correct, but not the Fixes tag, it should be:

Fixes: 31bc72d97656 ("net: systemport: fetch and use clock resources")

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Thread (3 messages) 3 messages, 3 authors, last reply 2021-01-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help