commit | c7d36ab8fa04c213328119a9c0d66985fe204ee5 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Fri Jul 27 11:53:28 2012 -0600 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri Jul 27 14:25:22 2012 -0400 |
tree | da73f1fd44a39b526e8cbee140195d9c63f0deba | |
parent | a0cadb85b8b758608ae0759151e29de7581c6731 [diff] [blame] |
NVMe: Fix uninitialized iod compiler warning Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index af1ef39..6c0eb76 100644 --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c
@@ -1159,7 +1159,7 @@ 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;