WARNING: Missing a blank line after declarations
#76: FILE: mm/zpool.c:79:
+ bool got = try_module_get(driver->owner);
+ spin_unlock(&drivers_lock);
total: 0 errors, 1 warnings, 94 lines checked
./patches/mm-zpool-prevent-zbud-zsmalloc-from-unloading-when-used.patch has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
list_for_each_entry(driver, &drivers_head, list) {
if (!strcmp(driver->type, type)) {
bool got = try_module_get(driver->owner);
+
spin_unlock(&drivers_lock);
return got ? driver : NULL;
}