projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: Don't return success from module_init() if setup fails
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
drivers
/
target
/
target_core_configfs.c
diff --git
a/drivers/target/target_core_configfs.c
b/drivers/target/target_core_configfs.c
index
015f5be
..
c123327
100644
(file)
--- a/
drivers/target/target_core_configfs.c
+++ b/
drivers/target/target_core_configfs.c
@@
-3206,7
+3206,8
@@
static int __init target_core_init_configfs(void)
if (ret < 0)
goto out;
- if (core_dev_setup_virtual_lun0() < 0)
+ ret = core_dev_setup_virtual_lun0();
+ if (ret < 0)
goto out;
return 0;