Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp567381ybm; Wed, 22 May 2019 07:59:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+PqkYRRJImobQj+O80hda3tqtbVdU7IelMcLANqQJQ2Q7xPt/fk76iTJY1NqjofjSYVbR X-Received: by 2002:a65:6450:: with SMTP id s16mr3708116pgv.414.1558537175805; Wed, 22 May 2019 07:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558537175; cv=none; d=google.com; s=arc-20160816; b=lFQNC70ceuQeiCPOq3lW/axJcYi+ETT9DDCGQ5MHoxp+mRQH1+Er4UhArcTK5YWflu uhrS0zPGUW6QxMnKLt5l8fe6cLm+X35MNu2yNtH+/tWoYBkI9wjNXKENdoZlMxwR60Kn KhKTmU6/5W31Vuw5ovGdELya8q6QVcP+eP/xdaDDLsZND0RcR/uuG9cZITjX1TiS7xJN V/3lwnp7i0eJ8RNnYN1a0ajXGivt1cD+KvjYSK7V95rrC8XuoN9o2e145O6mdJKD4RWw ZgpQR8EBZJX56T5oCiUdGcfJYiN0Zb2F6YIxPDCIcDwdemskT5Ib/9YwnMD1IFfG7vWl ODYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=7lMX8Uc3T6MH5FtjB3ssVc7+Hm8nsP8roCI/amSJ6xI=; b=U/FeWEzt9S83jmYfilSZDRNwtoiJvQatFmwjHxoyQIEe8EK+NoaJTqm0LZ/W/2QUma R97U3MTfInLKl0h8NSu0QR8cuQIA9jwGVCSJa9CW2ztDGdXW6g+7M7HN7bE8KHT3Ugnh wL153+K4Yd7jHrWxhcEWvIds7tAWoxtPaPX6uLTbQghNoTjxPJYSXO16wVfhnVjcMXBt fnYCVS5zzGufNahK03MS6oDh8BIsX697iw7XMNr8oGoAlhgYVWy/y9p+EI+hBf7rxpFb Q6MOrnp/0t3MYTrGx5z5CRTQFVeq5Pcf0WgsV3Pl7WgSCZ/9fwFfjWwlJh2ks3IfvXnH Zbeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si25300282pgr.12.2019.05.22.07.59.20; Wed, 22 May 2019 07:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729695AbfEVO6K (ORCPT + 99 others); Wed, 22 May 2019 10:58:10 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:55598 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727975AbfEVO6K (ORCPT ); Wed, 22 May 2019 10:58:10 -0400 Received: (qmail 2723 invoked by uid 2102); 22 May 2019 10:58:09 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 May 2019 10:58:09 -0400 Date: Wed, 22 May 2019 10:58:09 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Laurentiu Tudor cc: "hch@lst.de" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "marex@denx.de" , Leo Li , "linux-kernel@vger.kernel.org" , "robin.murphy@arm.com" , "noring@nocrew.org" , "JuergenUrban@gmx.de" Subject: Re: [PATCH v5 2/5] USB: use genalloc for USB HCs with local memory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 May 2019, Laurentiu Tudor wrote: > >> +EXPORT_SYMBOL_GPL(usb_hcd_setup_local_mem); > > > > If you have a usb_hcd_setup_local_mem() function then you should also > > have a usb_hcd_remove_local_mem() function. > > Even if all resources that are allocated are device managed? Ah, I missed that fact. Okay, that's all right. Alan Stern