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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 17 Mar 2012 21:13:30 +0000 From: Arnd Bergmann <arnd@...db.de> To: Sascha Hauer <s.hauer@...gutronix.de> Cc: "Turquette, Mike" <mturquette@...com>, Paul Walmsley <paul@...an.com>, linux-arm-kernel@...ts.infradead.org, Amit Kucheria <amit.kucheria@...aro.org>, Nicolas Pitre <nicolas.pitre@...aro.org>, linaro-dev@...ts.linaro.org, Linus Walleij <linus.walleij@...aro.org>, Grant Likely <grant.likely@...retlab.ca>, Saravana Kannan <skannan@...eaurora.org>, Jeremy Kerr <jeremy.kerr@...onical.com>, Magnus Damm <magnus.damm@...il.com>, Deepak Saxena <dsaxena@...aro.org>, patches@...aro.org, Rob Herring <rob.herring@...xeda.com>, Russell King <linux@....linux.org.uk>, Thomas Gleixner <tglx@...utronix.de>, Richard Zhao <richard.zhao@...aro.org>, Shawn Guo <shawn.guo@...escale.com>, Linus Walleij <linus.walleij@...ricsson.com>, Mark Brown <broonie@...nsource.wolfsonmicro.com>, Stephen Boyd <sboyd@...eaurora.org>, linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v7 1/3] Documentation: common clk API On Saturday 17 March 2012, Sascha Hauer wrote: > On Sat, Mar 17, 2012 at 11:02:11AM -0700, Turquette, Mike wrote: > > > > Much like experimental I'm not sure how needed this change is. The > > help section does say to leave it disabled by default, if unsure. If > > you merge it I won't object but this might be fixing an imaginary > > problem. > > Architectures without common clock support won't build with this option > enabled (multiple definition of clk_enable etc), so I think this should > not be user visible. I've applied this patch now. Arnd commit c173033d154e9792b1b5059783b802f82536d48f Author: Arnd Bergmann <arnd@...db.de> Date: Sat Mar 17 21:10:51 2012 +0000 clk: make CONFIG_COMMON_CLK invisible All platforms that use the common clk infrastructure should select COMMON_CLK from platform code, and on all other platforms, it must not be enabled, so there is no point making the option visible to users, and when it is visible, we break randconfig builds. Signed-off-by: Arnd Bergmann <arnd@...db.de> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 2eaf17e..82bcfbd 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -10,18 +10,14 @@ config HAVE_MACH_CLKDEV bool menuconfig COMMON_CLK - bool "Common Clock Framework" + bool select HAVE_CLK_PREPARE ---help--- The common clock framework is a single definition of struct clk, useful across many platforms, as well as an implementation of the clock API in include/linux/clk.h. Architectures utilizing the common struct clk should select - this automatically, but it may be necessary to manually select - this option for loadable modules requiring the common clock - framework. - - If in doubt, say "N". + this option. if COMMON_CLK -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists