Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp933916ybl; Thu, 23 Jan 2020 10:23:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwYqvQYWg4vKS2VknOrbw3+dHoH9V9j7CJP4KS1Drq8KV5MRB2Pd/NjeWC5tbDsInypgigK X-Received: by 2002:a9d:2028:: with SMTP id n37mr12733862ota.127.1579803794306; Thu, 23 Jan 2020 10:23:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579803794; cv=none; d=google.com; s=arc-20160816; b=H69jXfE+iNWucytLBUo+eFpiG6041fKgaS3UQwcQRaKG96pcWrupPME7M4MkJ8LBzr k27BjiyzKyWqn92XTU2VHiaR7EDVya9FzRWz7JE2CyQFMd1gD8Lp60KaLL7q6cGxkYaH Vn3EGMkeo+CPetGy9w0PClw8qF6aaWlDa+JxNe5xx5HEgzLq6R/fhsEhsrgYjyW10K9X VBvqMSMqZZNKASEK2R93C9j82l9pBVEN8EqkLWh5rnJDqxh8HmTFbngmoOpFiNXG8OCc UswQSOmSrEEaWaUcKGCJu/kPKQtwP+YI8gafGNfK2Owt0QostPCUQrA58hUYmsMFUXqS 3mYg== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ubvRRwDicKGjTIZ+W+u0S1ii5midaGe8XXl5lCuGaWo=; b=jfpcseM3DPptRlHfSCJJ8OWgvnna6Ki37rOZJhLNrYDYOK9fm6vbIosdKMfRdjXLny 8i7gBfGRRTQ0QM8qb+wv7pLXmkiczwiRUb6p+5JibpFLb6ugdyDRCUtmmakWh6tilLrC fdjYE95JQ8Z3cAk6c0ts5q5isSqET/kplTXIUoSjDmTaKkub/P5xTFc2z4VqxNp6if4U mwntwpJX23eaT7PSSQjTHhJWcCEZnmF5Ata6Kw1SjvMKCQwCa2Q5S5oOef6VFnUkRz25 tbmBsL9cLnqstepmszQ/aYoCs/kk7Sjxafei4LJxtLX9ZQmBa7ZZaCkp5RsxfIlW6clM gEAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VDfqNulz; 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 z3si1146447oib.164.2020.01.23.10.23.01; Thu, 23 Jan 2020 10:23:14 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=VDfqNulz; 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 S1728797AbgAWSWF (ORCPT + 99 others); Thu, 23 Jan 2020 13:22:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:37486 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbgAWSWF (ORCPT ); Thu, 23 Jan 2020 13:22:05 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D60A121D7E; Thu, 23 Jan 2020 18:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579803724; bh=jVKvoKj30foxuIyQL8yHjuvo+jDCyIyEKi4AZ+rAkSo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VDfqNulz4A2v0RctTtB4/KrOuFzYtARu4rzZrCN1ldDbdrInu0VhP4OGz2fdDK7Iu NSmleI1xSJTShAYwQnFhQ84akcLYxtoxBoejzepxCbh2kdN36P3SrG7EhMPWZzqK/B T28Z5DkxBTwIPuOnFlUK5IF4/Et15J3rZgKLt4KY= Date: Thu, 23 Jan 2020 19:22:02 +0100 From: "gregkh@linuxfoundation.org" To: Daniel Baluta Cc: "Daniel Baluta (OSS)" , "bgolaszewski@baylibre.com" , "arnd@arndb.de" , "akpm@linux-foundation.org" , "info@metux.net" , "ztuowen@gmail.com" , "sergei.shtylyov@cogentembedded.com" , "linux-kernel@vger.kernel.org" , Daniel Baluta Subject: Re: [PATCH] lib: devres: Export devm_ioremap_resource_wc Message-ID: <20200123182202.GA1941013@kroah.com> References: <20200123154706.5831-1-daniel.baluta@oss.nxp.com> <20200123175658.GB1796501@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 08:16:35PM +0200, Daniel Baluta wrote: > On Thu, Jan 23, 2020 at 7:57 PM gregkh@linuxfoundation.org > wrote: > > > > On Thu, Jan 23, 2020 at 03:47:21PM +0000, Daniel Baluta (OSS) wrote: > > > From: Daniel Baluta > > > > > > So that modules can also use it. > > > > > > Fixes: b873af620e58863b ("lib: devres: provide devm_ioremap_resource_wc()") > > > Signed-off-by: Daniel Baluta > > > --- > > > lib/devres.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/lib/devres.c b/lib/devres.c > > > index 6ef51f159c54..7fe2bd75dfa3 100644 > > > --- a/lib/devres.c > > > +++ b/lib/devres.c > > > @@ -182,6 +182,7 @@ void __iomem *devm_ioremap_resource_wc(struct device *dev, > > > { > > > return __devm_ioremap_resource(dev, res, DEVM_IOREMAP_WC); > > > } > > > +EXPORT_SYMBOL(devm_ioremap_resource_wc); > > > > EXPORT_SYMBOL_GPL() perhaps? > > > > What in-tree driver needs this? > > I was experimenting with an out of tree driver and I also was using it wrong :D. > Indeed looks like there is no real potential user so far in the kernel tree. Great, we can drop it then :) thanks, greg k-h