1. 10 6月, 2011 5 次提交
  2. 25 5月, 2011 1 次提交
  3. 24 5月, 2011 3 次提交
  4. 29 4月, 2011 7 次提交
  5. 24 4月, 2011 1 次提交
    • B
      kconfig: Avoid buffer underrun in choice input · 3ba41621
      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: NLinus Torvalds <torvalds@linux-foundation.org>
      3ba41621
  6. 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
  7. 18 4月, 2011 1 次提交
  8. 15 4月, 2011 2 次提交
  9. 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
  10. 09 2月, 2011 1 次提交
  11. 07 1月, 2011 1 次提交
  12. 30 12月, 2010 1 次提交
  13. 28 12月, 2010 1 次提交
  14. 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
  15. 16 12月, 2010 1 次提交
  16. 15 12月, 2010 7 次提交
  17. 22 11月, 2010 2 次提交
  18. 02 11月, 2010 2 次提交