lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pp4odcpm.fsf@gmail.com>
Date:	Sun, 21 Jun 2015 22:32:37 +0200
From:	Nicolai Stange <nicstange@...il.com>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	Richard Weinberger <richard@....at>
Subject: [PATCH] clocksource: stm32: introduce dependency on HAS_IOMEM

Fix allmodconfig compilation failer for ARCH=um:
  drivers/clocksource/timer-stm32.c: In function 'stm32_clockevent_init':
  drivers/clocksource/timer-stm32.c:175:2:
    error: implicit declaration of function 'iounmap'
    [-Werror=implicit-function-declaration]
      iounmap(data->base);
      ^

Make CLKSRC_STM32 depend on HAS_IOMEM.

Signed-off-by: Nicolai Stange <nicstange@...il.com>
---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 60d7d3d..835e5c5 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -114,6 +114,7 @@ config CLKSRC_LPC32XX
 config CLKSRC_STM32
 	bool "Clocksource for STM32 SoCs" if COMPILE_TEST
 	depends on OF
+	depends on HAS_IOMEM
 	select CLKSRC_MMIO
 
 config ARM_ARCH_TIMER
-- 
2.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ