1. 17 5月, 2011 1 次提交
  2. 29 4月, 2011 7 次提交
  3. 19 4月, 2011 1 次提交
    • S
      nconfig: Silence unused return values from wattrset · 10175ba6
      Stephen Boyd 提交于
      Ignore the return value from wattrset since we ignore the return
      value in nconf.gui.c as well.
      
      scripts/kconfig/nconf.c: In function 'print_function_line':
      scripts/kconfig/nconf.c:376: warning: value computed is not used
      scripts/kconfig/nconf.c:380: warning: value computed is not used
      scripts/kconfig/nconf.c:387: warning: value computed is not used
      scripts/kconfig/nconf.c: In function 'show_menu':
      scripts/kconfig/nconf.c:956: warning: value computed is not used
      scripts/kconfig/nconf.c:961: warning: value computed is not used
      scripts/kconfig/nconf.c:963: warning: value computed is not used
      scripts/kconfig/nconf.c:965: warning: value computed is not used
      
      Cc: Nir Tzachar <nir.tzachar@gmail.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      10175ba6
  4. 18 4月, 2011 1 次提交
  5. 15 4月, 2011 2 次提交
  6. 08 4月, 2011 1 次提交
    • B
      kconfig: Avoid buffer underrun in choice input · 466de918
      Ben Hutchings 提交于
      commit 40aee729 ('kconfig: fix default
      value for choice input') fixed some cases where kconfig would select
      the wrong option from a choice with a single valid option and thus
      enter an infinite loop.
      
      However, this broke the test for user input of the form 'N?', because
      when kconfig selects the single valid option the input is zero-length
      and the test will read the byte before the input buffer.  If this
      happens to contain '?' (as it will in a mips build on Debian unstable
      today) then kconfig again enters an infinite loop.
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Cc: stable@kernel.org [2.6.17+]
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      466de918
  7. 09 2月, 2011 1 次提交
  8. 07 1月, 2011 1 次提交
  9. 30 12月, 2010 1 次提交
  10. 28 12月, 2010 1 次提交
  11. 22 12月, 2010 2 次提交
    • M
      kconfig: Make expr_copy() take a const argument · 17742dc7
      Michal Marek 提交于
      Fixes
      scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
      scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
      scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      17742dc7
    • A
      kconfig: simplify select-with-unmet-direct-dependency warning · 1137c56b
      Arnaud Lacombe 提交于
      This is an attempt to simplify the expressing printed by kconfig when a
      symbol is selected but still has direct unmet dependency.
      
      First, the symbol reverse dependency is split in sub-expression. Then,
      each sub-expression is checked to ensure that it does not contains the
      unmet dependency. This removes the false-positive symbols and fixed symbol
      which already have the correct dependency. Finally, only the symbol
      responsible of the "select" is printed, instead of its full dependency tree.
      
      CC: Catalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      1137c56b
  12. 16 12月, 2010 1 次提交
  13. 15 12月, 2010 7 次提交
  14. 22 11月, 2010 2 次提交
  15. 02 11月, 2010 2 次提交
  16. 29 10月, 2010 5 次提交
    • S
      kconfig: Have streamline_config process menuconfigs too · 8ef17fa2
      Steven Rostedt 提交于
      Some menuconfigs in the Kconfig files have prompts and dependencies.
      Currently, streamline_config misses these, and this can cause
      streamline_config to keep modules enabled that should not be, and
      even worse, not enable those that should.
      
      This patch makes streamline_config process menuconfigs just like it
      would process a config.
      Reported-by: Nmember graysky <graysky@archlinux.us>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      8ef17fa2
    • S
      kconfig: Fix streamline_config to read multi line deps in Kconfig files · 20d19047
      Steven Rostedt 提交于
      I noticed that some Kconfig files have multi line dependencies
      that continue with a backslash. Those dependencies on the next
      line will be missed by streamline_config.
      
      For example:
      
      config CS89x0
      	tristate "CS89x0 support"
      	depends on NET_ETHERNET && (ISA || EISA || MACH_IXDP2351 \
      		|| ARCH_IXDP2X01 || MACH_MX31ADS)
      
      The "|| ARCH_IXDP2X01 || MACH_MX31ADS)" will not be processed.
      
      This patch adds code to handle this case.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      20d19047
    • H
      kconfig: Fix missing declaration of variable $dir in streamline_config.pl · cf5a189d
      hiromu 提交于
      On Fri, Aug 17, 2010 at 01:43PM +0800, Américo Wang wrote:
      > Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
      >
      > BTW, I think we should add "use strict;" too.
      
      Then I added "use strict;" to streamline_config.pl, I saw another
      warning.
      
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 286.
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 287.
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 288.
      
      Then I added "my $dir;" to line 285.
      
      Cc: Américo Wang <xiyou.wangcong@gmail.com>
      Cc: Toralf Foerster <toralf.foerster@gmx.de>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: NHiromu Yakura <hiromu1996@gmail.com>
      LKML-Reference: <1282042158.7160.9.camel@hiromu-Macbook>
      
      [ changed to just add my in front of $dir instead of new line ]
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      cf5a189d
    • H
      kconfig: Fix variable name typo %prompts in streamline_config.pl · ccece60a
      hiromu yagura 提交于
      When I added "use strict;" to streamline_config.pl, I saw the following
      warnings:
      
      > Global symbol "%prompt" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 183.
      > Global symbol "%prompt" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 368.
      
      The declaration of %prompt was incorrect, and should have been %prompts.
      
      Cc: Toralf Foerster <toralf.foerster@gmx.de>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: NHiromu Yakura <hiromu1996@gmail.com>
      LKML-Reference: <1281845597.11566.5.camel@camp10-laptop>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      ccece60a
    • S
      kconfig: Make localmodconfig handle environment variables · 4908980b
      Steven Rostedt 提交于
      The commit 838a2e55
       kbuild: migrate all arch to the kconfig mainmenu upgrade
      
      Broke make localmodconfig. The reason was that it added a
      environment variable to the kconfig source, which the
      streamline_config.pl could not handle.
      
      This patch changes streamline_config.pl to handle kconfig sources
      using environment variables in their names.
      
      Cc: Arnaud Lacombe <lacombar@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      4908980b
  17. 12 10月, 2010 1 次提交
  18. 10 10月, 2010 2 次提交
  19. 04 10月, 2010 1 次提交