projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mmc-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
[linux-2.6-microblaze.git]
/
kernel
/
kmod.c
diff --git
a/kernel/kmod.c
b/kernel/kmod.c
index
8b2b311
..
37c3c4b
100644
(file)
--- a/
kernel/kmod.c
+++ b/
kernel/kmod.c
@@
-120,7
+120,7
@@
out:
* invoke it.
*
* If module auto-loading support is disabled then this function
* invoke it.
*
* If module auto-loading support is disabled then this function
- *
becomes a no-operation
.
+ *
simply returns -ENOENT
.
*/
int __request_module(bool wait, const char *fmt, ...)
{
*/
int __request_module(bool wait, const char *fmt, ...)
{
@@
-137,7
+137,7
@@
int __request_module(bool wait, const char *fmt, ...)
WARN_ON_ONCE(wait && current_is_async());
if (!modprobe_path[0])
WARN_ON_ONCE(wait && current_is_async());
if (!modprobe_path[0])
- return
0
;
+ return
-ENOENT
;
va_start(args, fmt);
ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args);
va_start(args, fmt);
ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args);