diff options
author | Gao Feng <fgao@ikuai8.com> | 2017-04-19 09:47:22 +0800 |
---|---|---|
committer | Jessica Yu <jeyu@redhat.com> | 2017-04-23 21:13:01 -0700 |
commit | 8ba4fcdf0f4068407e98cd9cc0f230c2dd8d56de (patch) | |
tree | ae8fbc64db5f265f29b672b1b78f2a3036426b7e /kernel/module.c | |
parent | 5bd933fe4481688d595ae1dd0440006c8675a1a8 (diff) | |
download | linux-8ba4fcdf0f4068407e98cd9cc0f230c2dd8d56de.tar.gz linux-8ba4fcdf0f4068407e98cd9cc0f230c2dd8d56de.tar.bz2 linux-8ba4fcdf0f4068407e98cd9cc0f230c2dd8d56de.zip |
module: Unify the return value type of try_module_get
The prototypes of try_module_get are different with different macro.
When enable module and module unload, it returns bool, but others not.
Make the return type for try_module_get consistent across all module
config options.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
[jeyu: slightly amended changelog to make it clearer]
Signed-off-by: Jessica Yu <jeyu@redhat.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions