public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: of: drop dependency on HAS_IOMEM
@ 2024-10-25 16:36 Bartosz Golaszewski
  2024-10-26 11:13 ` kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-10-25 16:36 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Commit 2527ecc9195e9 ("gpio: Fix OF build problem on UM") added the
dependency on HAS_IOMEM to OF_GPIO to address a build-issue on UML (User
Mode Linux). It's no longer needed as now UM defines stubs for
ioremap() and iounmap() even with !HAS_IOMEM (and its emulation can also
be enabled on UM now). Let's remove it.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 drivers/gpio/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index e28efd5f9c17..27c18a1f76b8 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -29,7 +29,6 @@ config GPIOLIB_FASTPATH_LIMIT
 config OF_GPIO
 	def_bool y
 	depends on OF
-	depends on HAS_IOMEM
 
 config GPIO_ACPI
 	def_bool y
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpio: of: drop dependency on HAS_IOMEM
  2024-10-25 16:36 [PATCH] gpio: of: drop dependency on HAS_IOMEM Bartosz Golaszewski
@ 2024-10-26 11:13 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-10-26 11:13 UTC (permalink / raw)
  To: Bartosz Golaszewski, Linus Walleij
  Cc: Paul Gazzillo, Necip Fazil Yildiran, oe-kbuild-all, linux-gpio,
	linux-kernel, Bartosz Golaszewski

Hi Bartosz,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brgl/gpio/for-next]
[also build test WARNING on linus/master v6.12-rc4 next-20241025]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Bartosz-Golaszewski/gpio-of-drop-dependency-on-HAS_IOMEM/20241026-003750
base:   https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
patch link:    https://lore.kernel.org/r/20241025163651.54566-1-brgl%40bgdev.pl
patch subject: [PATCH] gpio: of: drop dependency on HAS_IOMEM
config: s390-kismet-CONFIG_MFD_STMFX-CONFIG_PINCTRL_STMFX-0-0 (https://download.01.org/0day-ci/archive/20241026/202410261912.IFxHoNb2-lkp@intel.com/config)
reproduce: (https://download.01.org/0day-ci/archive/20241026/202410261912.IFxHoNb2-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410261912.IFxHoNb2-lkp@intel.com/

kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for MFD_STMFX when selected by PINCTRL_STMFX
   WARNING: unmet direct dependencies detected for MFD_STMFX
     Depends on [n]: HAS_IOMEM [=n] && I2C [=y] && OF [=y]
     Selected by [y]:
     - PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && OF_GPIO [=y]

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-26 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 16:36 [PATCH] gpio: of: drop dependency on HAS_IOMEM Bartosz Golaszewski
2024-10-26 11:13 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox