Re: [PATCH net v2 17/21] brcmfmac: set .owner to THIS_MODULE

From
Taehee Yoo <ap420073@gmail.com>
Date
2020-11-07 18:16:55
Also in
ath11k, linux-bluetooth, linux-wireless
Reply to
Arend Van Spriel, 2020-11-07
On Sun, 8 Nov 2020 at 02:41, Arend Van Spriel
[off-list ref] wrote:
Hi Arend,
Thank you for the review!
On November 7, 2020 6:25:15 PM Taehee Yoo [off-list ref] wrote:
quoted
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Is this really a valid concern in the context of debugs? I tend to say it
is not. Whenever I am using debugs to debug my driver I make sure to avoid
removing it.
I think getting rid of every scenario of the kernel panic is the
first priority thing.
So I'm sure that trying to avoid kernel panic is always valid even
in the debugging context.

Thanks a lot!
Taehee Yoo
Thread (27 messages) 27 messages, 4 authors, last reply 2020-11-10
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