diff options
author | Marco Pagani <marpagan@redhat.com> | 2023-12-21 17:58:47 +0100 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-12-21 10:26:14 -0800 |
commit | 4515d08a742c76612b65d2f47a87d12860519842 (patch) | |
tree | 6ded247605b964cb1616ec6c96895dd762cade9d /kernel/module | |
parent | f17f2c13d613cbeef529b03ca17ae2581b2e6cb8 (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