projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'parisc-for-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-block.git]
/
lib
/
test_kmod.c
diff --git
a/lib/test_kmod.c
b/lib/test_kmod.c
index ce15893914131efd5723737bb34b5f0bf62af4fb..cb800b1d0d99c0d77ffeaae4d9e32adbceb756e4 100644
(file)
--- a/
lib/test_kmod.c
+++ b/
lib/test_kmod.c
@@
-1149,6
+1149,7
@@
static struct kmod_test_device *register_test_dev_kmod(void)
if (ret) {
pr_err("could not register misc device: %d\n", ret);
free_test_dev_kmod(test_dev);
+ test_dev = NULL;
goto out;
}