Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Andy Shevchenko
Tue, 24 Nov 2026 20:17
Re: [PATCH] net: allwinner: Use devm_clk_get_enabled() in emac_probe()
Author: Andy Shevchenko
Date: Tue, 24 Nov 2026 20:17
Date: Tue, 24 Nov 2026 20:17
21 lines
10682 bytes
10682 bytes
On Tue, Nov 24, 2026 at 06:19:54PM +0100, Markus Elfring wrote: > > * Reuse existing functionality from devm_clk_get_enabled() instead of > keeping duplicate source code. > > * Delete a clk_disable_unprepare() call on an error handling path > and in the implementation of the function “emac_remove”. > > * Omit the label “out_clk_disable_unprepare”. > > This issue was detected by using the Coccinelle software. This breaks the order at remove and probe error path cases. Note, devm_*() at this case will keep just a clk object, but the actual enabling is done explicitly. W/o testing on real HW it's hard to say if this order is strict or not. -- With Best Regards, Andy Shevchenko
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads