1. 29 4月, 2011 5 次提交
  2. 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
  3. 18 4月, 2011 1 次提交
  4. 15 4月, 2011 2 次提交
  5. 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
  6. 23 3月, 2011 5 次提交
  7. 17 3月, 2011 9 次提交
  8. 14 3月, 2011 1 次提交
  9. 10 3月, 2011 1 次提交
  10. 09 3月, 2011 2 次提交
  11. 04 3月, 2011 1 次提交
  12. 23 2月, 2011 1 次提交
  13. 21 2月, 2011 1 次提交
  14. 10 2月, 2011 1 次提交
  15. 09 2月, 2011 1 次提交
  16. 04 2月, 2011 1 次提交
  17. 27 1月, 2011 1 次提交
  18. 22 1月, 2011 1 次提交
    • T
      unifdef: update to upstream version 2.5 · 3cbea436
      Tony Finch 提交于
      Fix a long-standing cpp compatibility bug. The -DFOO argument
      (without an explicit value) should define FOO to 1 not to the empty
      string.
      
      Add a -o option to support overwriting a file in place, and a -S
      option to list the nesting depth of symbols. Include line numbers
      in debugging output. Support CRLF newlines.
      Signed-off-by: NTony Finch <dot@dotat.at>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      3cbea436
  19. 15 1月, 2011 3 次提交
  20. 14 1月, 2011 1 次提交
    • L
      decompressors: add boot-time XZ support · 3ebe1243
      Lasse Collin 提交于
      This implements the API defined in <linux/decompress/generic.h> which is
      used for kernel, initramfs, and initrd decompression.  This patch together
      with the first patch is enough for XZ-compressed initramfs and initrd;
      XZ-compressed kernel will need arch-specific changes.
      
      The buffering requirements described in decompress_unxz.c are stricter
      than with gzip, so the relevant changes should be done to the
      arch-specific code when adding support for XZ-compressed kernel.
      Similarly, the heap size in arch-specific pre-boot code may need to be
      increased (30 KiB is enough).
      
      The XZ decompressor needs memmove(), memeq() (memcmp() == 0), and
      memzero() (memset(ptr, 0, size)), which aren't available in all
      arch-specific pre-boot environments.  I'm including simple versions in
      decompress_unxz.c, but a cleaner solution would naturally be nicer.
      Signed-off-by: NLasse Collin <lasse.collin@tukaani.org>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Alain Knaff <alain@knaff.lu>
      Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
      Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3ebe1243