Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp765090ybt; Wed, 8 Jul 2020 11:04:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIgcR6Uh6s2vu2cPtwfx9StiBPzq0d+h0AXGBLVdtBgldFS5sK65VTDh+/D5mVxi8mnK0v X-Received: by 2002:a17:906:2a5b:: with SMTP id k27mr51238353eje.82.1594231486911; Wed, 08 Jul 2020 11:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594231486; cv=none; d=google.com; s=arc-20160816; b=qfwOoOl48DqalKNtchshvoKqC8AZDVDQ6tagnmOGP/kUNk+JAfbGxCeqy37TfXUTZM xlmSp9thwBXyYjpy1nbDxee1L3TFDeGjgC9vyt02TOyqqLZI5FH9f79jCanoIde/5tJ6 XINrZBKg1cGUSvOTtxD61JDYWJGYrHAErQ1EhyMSWaUXkRyr6SJw6T6/kErE3uKlJK0F JHBqa4JHLuFlzeAi56QbBUFsXzZB2uzYB9JL47cEulDqJVXUkHS4XnvdqSc6O+OsaCQC 9jO+feM1pDvD7CiE55PzoKyzmeW9YRnlz41nxHI5+YnL/c6ebFpLojB4UoVOjihqXvJg DoBQ== 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=HZrQhhfnsPJU4Z8hnmCcRSctFbF5WikbEuLER711hKvXLCOSk8vkeU2qveE3cz6XYb CxpHzYTjqm/WmS/39hkfIUTspZM3eqLPnJxQNl+AsqQ4mc1ODvmVyV+bliJ3xlJNKUcw UOk70FZnZlC5QadVUviEwiEYKjFKkCk/LqPsHRk7wRM13fIxWRfNT5Aq3SYJGVLA9vt3 ytId6AVg/W6TBCQYuX7U/sepBcvC7hIpph+WtPaoirakjWhZLUydeth3YP9UwiALYTTb kMRHnJ9mBRg55eVTbtPTIRNtVzApcQZeB6mlOkZwYJD6B+wdnC6eflkOZgvL0DtvRxFJ 6PlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=Dy2H4kyZ; 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 ot25si327461ejb.647.2020.07.08.11.04.23; Wed, 08 Jul 2020 11:04:46 -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=Dy2H4kyZ; 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 S1726215AbgGHSEN (ORCPT + 99 others); Wed, 8 Jul 2020 14:04:13 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:60814 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbgGHSEM (ORCPT ); Wed, 8 Jul 2020 14:04:12 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4B26d60W3NzMK; Wed, 8 Jul 2020 20:04:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1594231450; bh=r3FexnWOGPLoKtGxgqbQb3w5FegJpG2pFaJligFub9Q=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=Dy2H4kyZY48Pt9ZFLiCLIJdFhup5pYVlRW+XQV6z2hbmGRqKUKENRqLzyE0FQ/KAs eI02tfwbOv8vq7EbqdHy7+NiMiUhwW65EhHNSOZ3f0MxfYnMe+OvfAEH3dSKzPn8ts GrnMw4+l7qGZZSvkHO9tyOC+hw4syiE4j/qxVWZnkojFHew1fCjYowsXsppzHGVr9E 0aDaRLZJR9PBbohHnMD68VGmir/B/XHJDKFwv1MfTFYx0heNVvNG25JaxjPtaHjEyv Qwh366QO+esPNguUjtvLAM5S8oO294/OxUfSSBYa9foSPtg2ZtrI5ybFrAeYMIhjiB ZLx+PPDvyx8yQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at mail Date: Wed, 08 Jul 2020 20:04:09 +0200 Message-Id: <248e7089f7fbb3727e83a1dfb43820d96a69e8c2.1594231056.git.mirq-linux@rere.qmqm.pl> In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH RESEND 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: Alexandre Belloni , Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Ludovic Desroches , Nicolas Ferre , Songjun Wu Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@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