On Fri, Dec 15, 2023 at 07:37:16PM +0800, Zijun Hu wrote: > Current tty-ldisc module loading logic within tty_ldisc_get() > is prone to mislead beginner that the module is able to be loaded > by a user without capability CAP_SYS_MODULE, add comments and > optimize the logic to make it easy to undertand. You did not "optimize" anything here, you just: > - if (!capable(CAP_SYS_MODULE) && !tty_ldisc_autoload) > + if (!tty_ldisc_autoload && !capable(CAP_SYS_MODULE)) Switched the operands around, not really doing anything at all to make it "easier" to understand, sorry. Again, please go work with developers at: > The Qualcomm Innovation Center To come up with a better change and get them to sign-off on the change before resubmitting it to us for review. thanks, greg k-h