Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2870415ybd; Mon, 24 Jun 2019 14:22:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEB6astmtWzzrClCa9YY348DFDrw1fkBXX4glk5UllKJRv2prOXCilnrWMLqxDIl7l4qog X-Received: by 2002:a63:456:: with SMTP id 83mr29350584pge.67.1561411331023; Mon, 24 Jun 2019 14:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561411331; cv=none; d=google.com; s=arc-20160816; b=PFF3oDQSFrEiPzQIX70loD0qBimYgLqhQukGYo6FxXnCRNrgFXeMGgJrESkiyDypIS V54p3gHnGLlpAlwzVLxWEfJdDcyiDz49MONNqOkOHZnlOcR8TP+783+Rbpk6zzfFP5ED tDdat2edFqCPYZFmGN3wc+uNLWn+TIJRS4YMK2l4RKB4JNSGAubn43S/IEnm+Y6l9REm 9iqJMc4y+z9P/GLpBgYjpk2ZDArT04xhjhHbCEDibDAJNccWD4AQJLbpq7VXCPzgOp7z /z9M2GN+0ZysixODjH5hsCup5ZmzAmp5xsfI9RwkEPkU0ED1lDt9e3oho9CNz03akMyr t9rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=tv7KZH5fahMKoIkZyOJ7VPihrmBiICN+swA75rr7avA=; b=eZU+LA8u6XI/Pc1WEv7Dme3BcKK+R0rC8NxLMg76+a6U1JcRQtkDyFQFrWji5Hq9ed nGInqUFB5ZtI4FxKVAtHZyq9RfyvD7vkXkmhNd98VQuJW6osrkWplD036ewlAuOKxbj9 PPiHTvbnjLaHwlyK6bUhKZpFr1sN7tgHPPjiAx9SdisonW01k9rr1qBYlcOd52TSP/kV IIrH9dXtd64tH3C4ORTIv750Z189xj4L841iWeRc0DyDemdnJrhkGEfm2lFV8UFofB8a XxcCZa0qafsgiX7qASGgjQvRL8c30O4kr6ry/2IYxE4ixul28ORy18uIigshhqMGfK9K qiuw== 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 f17si11019022pgv.338.2019.06.24.14.21.55; Mon, 24 Jun 2019 14:22:11 -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 S1732805AbfFXSXR (ORCPT + 99 others); Mon, 24 Jun 2019 14:23:17 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:44361 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfFXSXR (ORCPT ); Mon, 24 Jun 2019 14:23:17 -0400 Received: from [192.168.1.110] ([77.4.138.202]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M9Wqa-1hc9gp1oDk-005WqO; Mon, 24 Jun 2019 20:22:47 +0200 Subject: Re: [PATCH] drivers: Adjust scope for CONFIG_HAS_IOMEM before devm_platform_ioremap_resource() To: Bartosz Golaszewski Cc: Bartosz Golaszewski , Markus Elfring , Andy Shevchenko , Greg Kroah-Hartman , Keerthy , Linus Walleij , "Rafael J. Wysocki" , linux-gpio , kernel-janitors@vger.kernel.org, LKML References: <20190221162627.3476-1-brgl@bgdev.pl> <9efcbce2-4d49-7197-a3d8-0e83850892d5@web.de> <39ae399a-c606-c6de-f84d-35e39d0410c0@metux.net> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: <1dd52704-0e41-db31-33f4-c9f446a47344@metux.net> Date: Mon, 24 Jun 2019 20:22:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:ZgmkRGHs7Dk+by07gKqk33wnZnw8jFOEY7Mzgtc3URhPyCvBCsp L7tXD4MeY3Xax46GIB0/blF9/NGjT6pAdIcNuaiXYy+qpAvnxV38nbKkqLmxD5l1e0ffUxg cGc1gvVDpkaV2vKyS+EHGXs00cgG7Bp6N5otI5l/92GnSozO9QX52qTDnFOzOAHaLVbEztt yimvgXuW6f0pYDq6sgQvg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JQHY8EkLn+M=:lJVSEKZy2Nz4CNNSOqZUni EqeYGj7M4IwCCw1HCbCW3SUiu7ZTdr7RPEedoSpwkDfh13u5+kQSble5vLGiCAiK0teAIkOI7 llvxXVKhZXASP0VcRyPao9P21+vNMyOKoub8/JrM1YhDERUMe3pXNpi96YwHB9abnjK2EnrLW zuTEPB2A7QLq9RSeDh2mTbGps1v9B3bGdpC8W7b1cwmI3NhHD6JWH0OY8czisXQt/GKrTz64/ MYfi/0mKuzwT9FaITglKSHfH1YakogstwdpPj6OAElm3PW6DaVdBl0vF6C4jWPZeczqsNc+2d Guk1BCLf5Skdl1PdW/sk1oszu8DcEawwqZS52osidlchQNxeHJBrIyVIXidlK46tRF+JGNRKV vaxHjrPds05TGoQa7NiKIhp19eldmo6o+77fVnHrFhWQ70ccJrd6TZXnTOoxhCxVz+Z18hqQc Ox/OKf6XnAWhze2iTRyV04Of3IroXksK/VazvPdCl4CgFIQsNzE4jQLufL0nvnF/kpcNS5aza t5bTvRbUSYmKtXwaEyGgWCeP4+vlqAts+/BZhQLXmrc08sNUKCDggXa+fi7RiB/M83shvNzHR aqQ/V8vqkSAcDXWu1FlZ9dHqG9DkcLuk7ib4qZf15xbvXNHP4E4A0qgLRVl0DxXVMw+G1zRkU IFRtpyPnNmRoVgYpyr/eFvTCZ+RyExHBlbh3HUL5h5EnX/GNb7dntJskgj4ZTMPatHHlUinJ8 mqHEgn3KBHEbmn7MvQWhWAaS9oly8yjDi9T/7ZpzNpTaniJUupJ71kFvkuU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.06.19 12:46, Bartosz Golaszewski wrote: >> The patch seems pretty trivial and doesn't change any actual code, so >> I don't see hard resons for rejecting it. >> > > In its current form it makes the code even less readable. The #ifdef > should actually be one line lower and touch the comment instead of the > EXPORT_SYMBOL() related to a different function. Okay, that missing newline should be fixed (as well as the extra one after the #ifdef). Besides that, I don't see any further problems. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287