Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7d36ab8 authored by Keith Busch's avatar Keith Busch Committed by Matthew Wilcox
Browse files

NVMe: Fix uninitialized iod compiler warning

parent a0cadb85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;