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
lightnvm: deprecated OCSSD support and schedule it for removal in Linux 5.15
[linux-2.6-microblaze.git]
/
drivers
/
lightnvm
/
core.c
diff --git
a/drivers/lightnvm/core.c
b/drivers/lightnvm/core.c
index
42774be
..
40a948c
100644
(file)
--- a/
drivers/lightnvm/core.c
+++ b/
drivers/lightnvm/core.c
@@
-1174,6
+1174,8
@@
int nvm_register(struct nvm_dev *dev)
{
int ret, exp_pool_size;
+ pr_warn_once("lightnvm support is deprecated and will be removed in Linux 5.15.\n");
+
if (!dev->q || !dev->ops) {
kref_put(&dev->ref, nvm_free);
return -EINVAL;