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>] [day] [month] [year] [list]
Message-Id: <20160912154035.3222156-1-arnd@arndb.de>
Date:   Mon, 12 Sep 2016 17:39:58 +0200
From:   Arnd Bergmann <arnd@...db.de>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Akash Goel <akash.goel@...el.com>,
        Tom Zanussi <tzanussi@...il.com>,
        Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: [PATCH] relay: select CONFIG_IRQ_WORK

The relay code was changed to use irq_work, and it now fails to build
if that is disabled:

kernel/relay.o: In function `__relay_reset':
relay.c:(.text.__relay_reset+0xb0): undefined reference to `irq_work_sync'
kernel/relay.o: In function `relay_close_buf':
relay.c:(.text.relay_close_buf+0x14): undefined reference to `irq_work_sync'
kernel/relay.o: In function `relay_switch_subbuf':

This adds the necessary Kconfig select statement.

Signed-off-by: Arnd Bergmann <arnd@...db.de>
Fixes: c37d49250a7b ("relay: Use irq_work instead of plain timer for deferred wakeup")
---
 init/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index 3a00753bc38e..602c42bf1d30 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1276,6 +1276,7 @@ config SYSFS_DEPRECATED_V2
 
 config RELAY
 	bool "Kernel->user space relay support (formerly relayfs)"
+	select IRQ_WORK
 	help
 	  This option enables support for relay interface support in
 	  certain file systems (such as debugfs).
-- 
2.9.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ