projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af3f75
)
lightnvm: make nvm_free static
author
Javier González
<jg@lightnvm.io>
Sat, 15 Apr 2017 18:55:46 +0000
(20:55 +0200)
committer
Jens Axboe
<axboe@fb.com>
Sun, 16 Apr 2017 16:06:25 +0000
(10:06 -0600)
Prefix the nvm_free static function with a missing static keyword.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
patch
|
blob
|
history
diff --git
a/drivers/lightnvm/core.c
b/drivers/lightnvm/core.c
index
a63b563
..
eb9ab1a
100644
(file)
--- a/
drivers/lightnvm/core.c
+++ b/
drivers/lightnvm/core.c
@@
-999,7
+999,7
@@
err_fmtype:
return ret;
}
-void nvm_free(struct nvm_dev *dev)
+
static
void nvm_free(struct nvm_dev *dev)
{
if (!dev)
return;