From patchwork Tue Mar 1 15:36:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavol Kurina X-Patchwork-Id: 599751 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p21Fl7ct007711 for ; Tue, 1 Mar 2011 15:47:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756728Ab1CAPrG (ORCPT ); Tue, 1 Mar 2011 10:47:06 -0500 Received: from dagedig.emsys.de ([195.145.211.174]:36800 "EHLO dagedig.emsys.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753912Ab1CAPrF (ORCPT ); Tue, 1 Mar 2011 10:47:05 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 01 Mar 2011 15:47:07 +0000 (UTC) X-Greylist: delayed 610 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 Mar 2011 10:47:05 EST Received: from emsys.de (unknown [192.168.60.202]) by dagedig.emsys.de (Postfix) with ESMTP id D3BA8B80101; Tue, 1 Mar 2011 16:36:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by emsys.de (Postfix) with ESMTP id 8985BAC80CF; Tue, 1 Mar 2011 16:36:52 +0100 (CET) Received: from [127.0.0.1] (informatix.lan.emsys.de [192.168.60.4]) by emsys.de (Postfix) with ESMTP id 37601AC80D6; Tue, 1 Mar 2011 16:36:52 +0100 (CET) Message-ID: <4D6D1295.1020809@emsys.de> Date: Tue, 01 Mar 2011 16:36:53 +0100 From: Pavol Kurina User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: balbi@ti.com CC: linux-omap@vger.kernel.org Subject: Re: [patch-v2.6.39 03/12] usb: musb: gadget: do not poke with gadget's list_head References: <1297946329-9353-1-git-send-email-balbi@ti.com> <1297946329-9353-4-git-send-email-balbi@ti.com> <20110228084311.GJ2459@legolas.emea.dhcp.ti.com> In-Reply-To: <20110228084311.GJ2459@legolas.emea.dhcp.ti.com> X-Virus-Scanned: by AMaViS 0.3.13(Trustix)/ClamAV 0.96.5/12794/Tue Mar 1 12:55:20 2011 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index a1e1d24..7877ccc 100755 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -1250,7 +1250,8 @@ cleanup: static int musb_gadget_dequeue(struct usb_ep *ep, struct usb_request *request) { struct musb_ep *musb_ep = to_musb_ep(ep); - struct usb_request *r; + struct musb_request *req = to_musb_request(request); + struct musb_request *r; unsigned long flags; int status = 0;