summaryrefslogtreecommitdiff
path: root/kernel/module
diff options
context:
space:
mode:
authorMarco Pagani <marpagan@redhat.com>2023-12-21 17:58:47 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2023-12-21 10:26:14 -0800
commit4515d08a742c76612b65d2f47a87d12860519842 (patch)
tree6ded247605b964cb1616ec6c96895dd762cade9d /kernel/module
parentf17f2c13d613cbeef529b03ca17ae2581b2e6cb8 (diff)
kernel/module: improve documentation for try_module_get()
The sentence "this call will fail if the module is already being removed" is potentially confusing and may contradict the rest of the documentation. If one tries to get a module that has already been removed using a stale pointer, the kernel will crash. Signed-off-by: Marco Pagani <marpagan@redhat.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module')
0 files changed, 0 insertions, 0 deletions