Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp649933ybm; Thu, 28 May 2020 11:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7AF+jPXHe8IUwMZBD88GbdK/Yv3NzeYPh5Xdpunlrqd7klBGY7sNCSyEirtZan1JaqRQP X-Received: by 2002:a17:906:1ccd:: with SMTP id i13mr4558426ejh.148.1590691131439; Thu, 28 May 2020 11:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590691131; cv=none; d=google.com; s=arc-20160816; b=R02vUFnynb53n60fOdKAlpu0qBuojxWS3AuEgLmrj2iQgujL/wjBdpWcuuOPlKOz/o 4hifAxPyQYFKPTI6yjopHvUH+mW+QcS0SNoL+JrjsjbYqBoKC19L276V0KPKVzQKd/SX JCaakOhe3Vljt2hcE+qZANsfRw6Kki1xrVs5OGD4lXtlSm+73ZPasvvVSdYo2mGgmZwl kLDXlNi4biSPSd1SYXWIBj3LSaB5ApdLtPOMAnS2YtC7XNFJZYWFMT5QjTBtmDZnhLvq CRJaiXeb8017uOKNt17kIrkBALi9tRo/jeGXZpdVQQbYJmSG40GuX4grCwekYpcOCs3w UASQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:content-transfer-encoding :mime-version:subject:from:references:in-reply-to:message-id:date :dkim-signature; bh=kSTxjrMPDgT7v8mlfaoKpsmLCBWQRcAPt1VUANjewNM=; b=RasQaCZW1h/sMLX9NTcm3alqDLbpbO9bNTbO13PbDYm5h6QBxaBFCHtM9L6XxBLTJE lyd1V7Qz+SYqupwWqgUZ6YeWgSlHEk2HSqzMgxFrPz7Y1o+f17EV+TVkmDbgjNtcSLfg LcnYfrtKuijzT0r7JYmH3tRCt9vPPU50gFFZT0+7JTVAPSjh/lO8NwqijE/t2UPMFbVo LTnA+3Roe2mwyMDmmFp0viSECHi3OG3M/9IExRAF7RlADGOKv7UgmrYJidP9+ARB+weu AmoaiqJiPQOVJQBaMUodsVtsnd+jzQkkXkU2DAXv7vzYb23Ry3hc5OMNJRsa5XFIAeyu u92A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=MJEkVhek; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz6si3611941ejc.693.2020.05.28.11.38.27; Thu, 28 May 2020 11:38:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=MJEkVhek; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405927AbgE1SgP (ORCPT + 99 others); Thu, 28 May 2020 14:36:15 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:64911 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405890AbgE1Sf4 (ORCPT ); Thu, 28 May 2020 14:35:56 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 49XxGf1qBrz8k; Thu, 28 May 2020 20:35:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1590690954; bh=r3FexnWOGPLoKtGxgqbQb3w5FegJpG2pFaJligFub9Q=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=MJEkVhek6HxCEop0X9gCrt1t2efUnqPy6REWgs6m2AhFwhDcAweOn/8IicZwCrpuR UV4OSOcUHuc8GXUrS/OHRTcH3ZLbDnTFOZ7OUwIvQkBsxqakPXcSKSFDUGkWMfOY0V Jyhf7WDcuVSiC8xlMLYNU3Zfi4k9ZN8ZDJS6Ho+/9Y+DJwRtARe3bdvuDBpjaLyZeZ CXki0epj+9QuX+3QyH+CKgogSTccWI8KjpMbsptp1jbNK0UYJrPS+JPQvLukslqnu5 lDq7gvlmrwjCU8NKXp3cqiYg6hgqusHfHcjfDgOCY5Qq6blFd7RSDIR+jxodifDwOM rwSLmqsY9An+g== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Thu, 28 May 2020 20:35:54 +0200 Message-Id: <87eea7ba7c0bc3902db18f57a8711fa53004e9b5.1590690650.git.mirq-linux@rere.qmqm.pl> In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH 2/3] usb: gadget: udc: atmel: fix uninitialized read in debug printk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Songjun Wu Cc: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed commit moved the assignment of 'req', but did not update a reference in the DBG() call. Use the argument as it was renamed. Fixes: 5fb694f96e7c ("usb: gadget: udc: atmel: fix possible oops when unloading module") Signed-off-by: Michał Mirosław --- drivers/usb/gadget/udc/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 9153e220848d..9342a3d24963 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -865,7 +865,7 @@ static int usba_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) u32 status; DBG(DBG_GADGET | DBG_QUEUE, "ep_dequeue: %s, req %p\n", - ep->ep.name, req); + ep->ep.name, _req); spin_lock_irqsave(&udc->lock, flags); -- 2.20.1