Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp764010ybh; Wed, 15 Jul 2020 14:48:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjglwA+5A4UGMbpzWwMSSOfPDiJTEtfVIq0KrJVaX19hB9dcRDjz6ejJlm7Weov0tE2qh/ X-Received: by 2002:a17:906:578c:: with SMTP id k12mr853354ejq.339.1594849704958; Wed, 15 Jul 2020 14:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594849704; cv=none; d=google.com; s=arc-20160816; b=O//pAHqdolwK1P7rG/8zGtxJ1q8+Kvj1/Vg1/z6g2WeoIJWwzvapk+goOZ/6wrX0DY 3a31mEmJqgLKTcpMFC5kP+REGegg8OtZoR+hYhfzoTk0hC0qVrIk6xJZMQLeyX/vKjrA IvbzMZaOHOkXcMGHjsCh4x4V/FH25kc0JjVpHnTF7aW98RLNKIzecwz/LZkfM9hFF2w7 oNOwG926RIzI7JjVIsV9+QC+aEWyq9SJ9+PyGz222ETwTfe/j1Crfg4WwyDlqKzE9OiJ lTKs0R5XZnW5l9RjCYcbL40+pgnaOTJmOkot9h57RR/ggNRSmUifxwL+8ZkGUIE8AEJl Sjig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VFYCuMsv3GgqfsSnZsACoNCSAq9IHGb9fhuHdod1Tho=; b=dbKhLRhEeYKMuG9u1dYuY4bD1V0JBGlPl1/XocHirL/rWNamdVLxGXkoy5T41e2zYg kMO1GdX/zOZEqbgHQBF5qRN3//O4VwgDH0vKHzYGKFuNpU6tSBdHudLpq/t9xKolwoAu YL/+2Fg7ZBBikpIbnXK1LfGivtXjanGCUGjHdznXkQ46tJlm8BlOizVK++dZoQweQh3Q KVvBHZ//6GtrRDqx+dbYW17efLaO3pENkFc0FYE4vOnBmqIPiTjChksoYr2JVdIj8MjC twS2qGL3Ed/ucCxYIE+fvkOC9GQrjppr0zxasrd0CmOJa8a1MYW727iW3D1Dvtidkkm4 BC4Q== ARC-Authentication-Results: i=1; mx.google.com; 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 e1si1989392edy.464.2020.07.15.14.48.02; Wed, 15 Jul 2020 14:48:24 -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; 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 S1727090AbgGOVp4 (ORCPT + 99 others); Wed, 15 Jul 2020 17:45:56 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36715 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbgGOVpz (ORCPT ); Wed, 15 Jul 2020 17:45:55 -0400 X-Originating-IP: 90.65.108.121 Received: from localhost (lfbn-lyo-1-1676-121.w90-65.abo.wanadoo.fr [90.65.108.121]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8DDB860002; Wed, 15 Jul 2020 21:45:51 +0000 (UTC) Date: Wed, 15 Jul 2020 23:45:51 +0200 From: Alexandre Belloni To: =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Cc: Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Ludovic Desroches , Nicolas Ferre , Songjun Wu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH RESEND 2/3] usb: gadget: udc: atmel: fix uninitialized read in debug printk Message-ID: <20200715214551.GF23553@piout.net> References: <248e7089f7fbb3727e83a1dfb43820d96a69e8c2.1594231056.git.mirq-linux@rere.qmqm.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <248e7089f7fbb3727e83a1dfb43820d96a69e8c2.1594231056.git.mirq-linux@rere.qmqm.pl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/2020 20:04:09+0200, Michał Mirosław wrote: > 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 Acked-by: Alexandre Belloni > --- > 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 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com