From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , alan@lxorguk.ukuu.org.uk, Keith Busch , Matthew Wilcox Subject: [ 02/56] NVMe: Fix uninitialized iod compiler warning Date: Fri, 30 Nov 2012 10:54:54 -0800 Message-Id: <20121130185118.573869516@linuxfoundation.org> In-Reply-To: <20121130185118.302752929@linuxfoundation.org> References: <20121130185118.302752929@linuxfoundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Keith Busch commit c7d36ab8fa04c213328119a9c0d66985fe204ee5 upstream. Signed-off-by: Keith Busch Signed-off-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman --- drivers/block/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c @@ -1153,7 +1153,7 @@ static int nvme_user_admin_cmd(struct nv 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;