1. 13 4月, 2012 1 次提交
  2. 30 3月, 2012 2 次提交
  3. 25 3月, 2012 1 次提交
  4. 26 1月, 2012 1 次提交
    • A
      kconfig: fix new choices being skipped upon config update · 5d09598d
      Arnaud Lacombe 提交于
      Running `oldconfig' after any of the following configuration change:
      
      either trivial addition, such as:
      
      config A
      	bool "A"
      
      choice
      	prompt "Choice ?"
      	depends on A
      
      	config CHOICE_B
      		bool "Choice B"
      
      	config CHOICE_C
      		bool "Choice C"
      endchoice
      
      or more tricky change:
      
      OLD KCONFIG                      |  NEW KCONFIG
                                       |
                                       |  config A
                                       |          bool "A"
                                       |
      choice                           |  choice
              prompt "Choice ?"        |          prompt "Choice ?"
                                       |
              config CHOICE_C          |          config CHOICE_C
                      bool "Choice C"  |                  bool "Choice C"
                                       |
              config CHOICE_D          |          config CHOICE_D
                      bool "Choice D"  |                  bool "Choice D"
      endchoice                        |
                                       |          config CHOICE_E
                                       |                  bool "Choice E"
                                       |                  depends on A
                                       |  endchoice
      
      will not cause the choice to be considered as NEW, and thus not be
      asked. The cause of this behavior is that choice's novelty are computed
      statically right after the saved configuration has been read. At this
      point, the new dependency's value is still unknown and asserted to be
      `no'. Moreover, no update to this decision is made afterward.
      
      Correct this by dynamically evaluating a choice's novelty, and removing the
      static evaluation.
      Reported-and-tested-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5d09598d
  5. 16 1月, 2012 1 次提交
  6. 15 1月, 2012 7 次提交
  7. 14 1月, 2012 2 次提交
  8. 19 12月, 2011 2 次提交
    • P
      kconfig: adapt update-po-config to new UML layout · fa0ad657
      Paul Bolle 提交于
      Commit 5c48b108 ("um: take arch/um/sys-x86 to arch/x86/um") broke the
      make target update-po-config, as its symlink trick (again) fails.
      (Previous breakage was fixed with commit bdc69ca4 ("kconfig: change
      update-po-config to reflect new layout of arch/um").)
      
      The new UML layout allows to drop the symlick trick entirely. And if,
      one day, another architecture supports UML too, that should now work
      without again breaking this make target.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      fa0ad657
    • P
      kconfig: use xfwrite wrapper function to silence warnings · 70cc01e7
      Peter Foley 提交于
      Use the xfwrite wrapper function defined in lkc.h to check the return value of
      fwrite and silence these warnings.
      
        HOSTCC  scripts/kconfig/zconf.tab.o
      scripts/kconfig/zconf.tab.c: In function 'header_print_comment':
      /usr/src/lto/scripts/kconfig/confdata.c:551:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
      scripts/kconfig/zconf.tab.c: In function 'kconfig_print_comment':
      /usr/src/lto/scripts/kconfig/confdata.c:467:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      70cc01e7
  9. 12 12月, 2011 2 次提交
    • P
      kconfig: fix set but not used warnings · 4f0c28f7
      Peter Foley 提交于
      Remove set but not used variables to fix warnings.
      
        HOSTCC  scripts/kconfig/gconf.o
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'change_sym_value':
      /usr/src/lto/scripts/kconfig/gconf.c:833:11: warning: variable 'oldval' set but not used [-Wunused-but-set-variable]
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'update_tree':
      /usr/src/lto/scripts/kconfig/gconf.c:1281:19: warning: variable 'prop' set but not used [-Wunused-but-set-variable]
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      4f0c28f7
    • P
      kconfig: fix warnings by specifing format arguments · a7d6f6e4
      Peter Foley 提交于
      Specify format arguments to fix warnings.
      
        HOSTCC  scripts/kconfig/gconf.o
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_introduction1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:686:6: warning: format not a string literal and no format arguments
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_about1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:704:6: warning: format not a string literal and no format arguments
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_license1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:723:6: warning: format not a string literal and no format arguments
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      a7d6f6e4
  10. 09 9月, 2011 5 次提交
  11. 30 8月, 2011 3 次提交
  12. 08 8月, 2011 6 次提交
  13. 30 7月, 2011 1 次提交
  14. 25 7月, 2011 1 次提交
  15. 18 7月, 2011 1 次提交
  16. 13 7月, 2011 4 次提交