projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cadb8
)
NVMe: Fix uninitialized iod compiler warning
author
Keith Busch
<keith.busch@intel.com>
Fri, 27 Jul 2012 17:53:28 +0000
(11:53 -0600)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Fri, 27 Jul 2012 18:25:22 +0000
(14:25 -0400)
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c
patch
|
blob
|
history
diff --git
a/drivers/block/nvme.c
b/drivers/block/nvme.c
index af1ef39bd6b4c3dded6925ce68f297b9e21e2d6e..6c0eb768562f25c53106cc3e14d928e8eab9a971 100644
(file)
--- a/
drivers/block/nvme.c
+++ b/
drivers/block/nvme.c
@@
-1159,7
+1159,7
@@
static int nvme_user_admin_cmd(struct nvme_dev *dev,
struct nvme_admin_cmd cmd;
struct nvme_command c;
int status, length;
- struct nvme_iod *
iod
;
+ struct nvme_iod *
uninitialized_var(iod)
;
if (!capable(CAP_SYS_ADMIN))
return -EACCES;