diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index af1ef39bd6b4c3dded6925ce68f297b9e21e2d6e..6c0eb768562f25c53106cc3e14d928e8eab9a971 100644 --- 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;