On Sun, 8 Nov 2020 at 02:41, Arend Van Spriel <arend.vanspriel@xxxxxxxxxxxx> wrote: > Hi Arend, Thank you for the review! > On November 7, 2020 6:25:15 PM Taehee Yoo <ap420073@xxxxxxxxx> wrote: > > > 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