RE: [External Mail] Re: [PATCH v6 2/7] net: wwan: t9xx: Add control plane transaction layer

From
Wu. JackBB (GSM) <hidden>
Date
2026-08-18 12:22:50
Also in
linux-arm-kernel, linux-doc, linux-mediatek, lkml
Reply to
Jakub Kicinski, 2026-08-17
On Mon, 17 Aug 2026 at 22:36, Jakub Kicinski [off-list ref] wrote:
[Severity: Low]
Should the commit message mention this module split?  Before this patch
...
so the module that binds the hardware and carries the PCI modaliases is
now mtk_t9xx_pcie.ko, while mtk_t9xx.ko only holds mtk_dev.o and
mtk_ctrl_plane.o with no driver registration.
Will fix in v7. Will update the commit message to mention the module
split, and update the Kconfig help text to name both mtk_t9xx and
mtk_t9xx_pcie.
[Severity: Low]
Does the kernel-doc for mtk_ctrl_exit() match what the function does?  The
comment says "Frees the control plane block associated with @mdev", but the
body only clears the pointer:
...
Could the doc be reworded to say the pointer is cleared and the
allocation is released by devres, so a later patch adding an explicit
devm_kfree() does not end up double freeing it?
Will fix in v7. Will reword the kernel-doc to: "Clears the control
plane block pointer. The allocation itself is managed by devres and
freed on driver detach."

Thanks.

--
Jack
Thread (22 messages) 22 messages, 2 authors, last reply 2026-08-19
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