public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] kbuild/nconf: fix spaces damage
@ 2010-12-05  6:41 Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset() Arnaud Lacombe
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:41 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/nconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index 272a987..eda49ff 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -248,7 +248,7 @@ search_help[] = N_(
 "Only relevant lines are shown.\n"
 "\n\n"
 "Search examples:\n"
-"Examples: USB   = > find all symbols containing USB\n"
+"Examples: USB  => find all symbols containing USB\n"
 "          ^USB => find all symbols starting with USB\n"
 "          USB$ => find all symbols ending with USB\n"
 "\n");
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset()
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
@ 2010-12-05  6:41 ` Arnaud Lacombe
  2010-12-15  6:25   ` Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 3/5] kconfig: fix typos Arnaud Lacombe
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:41 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

This symbols is used by gconf.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/lkc.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 3633d5a..16eb416 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -14,6 +14,7 @@
 static inline const char *gettext(const char *txt) { return txt; }
 static inline void textdomain(const char *domainname) {}
 static inline void bindtextdomain(const char *name, const char *dir) {}
+static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c; }
 #endif
 
 #ifdef __cplusplus
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/5] kconfig: fix typos
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset() Arnaud Lacombe
@ 2010-12-05  6:41 ` Arnaud Lacombe
  2010-12-15  6:24   ` Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 4/5] kconfig/conf: merge duplicate switch's case Arnaud Lacombe
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:41 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/confdata.c |    6 +++---
 scripts/kconfig/symbol.c   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 6f2f3a4..b2d9486 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -992,7 +992,7 @@ static void randomize_choice_values(struct symbol *csym)
 	int cnt, def;
 
 	/*
-	 * If choice is mod then we may have more items slected
+	 * If choice is mod then we may have more items selected
 	 * and if no then no-one.
 	 * In both cases stop.
 	 */
@@ -1088,10 +1088,10 @@ void conf_set_all_new_symbols(enum conf_def_mode mode)
 
 	/*
 	 * We have different type of choice blocks.
-	 * If curr.tri equal to mod then we can select several
+	 * If curr.tri equals to mod then we can select several
 	 * choice symbols in one block.
 	 * In this case we do nothing.
-	 * If curr.tri equal yes then only one symbol can be
+	 * If curr.tri equals yes then only one symbol can be
 	 * selected in a choice block and we set it to yes,
 	 * and the rest to no.
 	 */
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index e42240d..3acce4d 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -688,7 +688,7 @@ const char *sym_get_string_default(struct symbol *sym)
 		switch (sym->type) {
 		case S_BOOLEAN:
 		case S_TRISTATE:
-			/* The visibility imay limit the value from yes => mod */
+			/* The visibility may limit the value from yes => mod */
 			val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri);
 			break;
 		default:
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/5] kconfig/conf: merge duplicate switch's case
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset() Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 3/5] kconfig: fix typos Arnaud Lacombe
@ 2010-12-05  6:41 ` Arnaud Lacombe
  2010-12-15  6:26   ` Arnaud Lacombe
  2010-12-05  6:41 ` [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration Arnaud Lacombe
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:41 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/conf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 1b58129..8e33aa7 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -541,8 +541,6 @@ int main(int ac, char **av)
 		}
 		break;
 	case savedefconfig:
-		conf_read(NULL);
-		break;
 	case silentoldconfig:
 	case oldaskconfig:
 	case oldconfig:
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
                   ` (2 preceding siblings ...)
  2010-12-05  6:41 ` [PATCH 4/5] kconfig/conf: merge duplicate switch's case Arnaud Lacombe
@ 2010-12-05  6:41 ` Arnaud Lacombe
  2010-12-15  6:25   ` Arnaud Lacombe
  2010-12-15  6:24 ` [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
  2010-12-15 13:44 ` Michal Marek
  5 siblings, 1 reply; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:41 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

This symbol is only exist if YYDEBUG is defined.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/lkc.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 16eb416..2b856a8 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -68,10 +68,12 @@ struct kconf_id {
 	enum symbol_type stype;
 };
 
+#ifdef YYDEBUG
+extern int zconfdebug;
+#endif
+
 int zconfparse(void);
 void zconfdump(FILE *out);
-
-extern int zconfdebug;
 void zconf_starthelp(void);
 FILE *zconf_fopen(const char *name);
 void zconf_initscan(const char *name);
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/5] kbuild/nconf: fix spaces damage
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
                   ` (3 preceding siblings ...)
  2010-12-05  6:41 ` [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration Arnaud Lacombe
@ 2010-12-15  6:24 ` Arnaud Lacombe
  2010-12-15 13:44 ` Michal Marek
  5 siblings, 0 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-15  6:24 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hi,

On Sun, Dec 5, 2010 at 1:41 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/nconf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
ping ?

 - Arnaud

> diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
> index 272a987..eda49ff 100644
> --- a/scripts/kconfig/nconf.c
> +++ b/scripts/kconfig/nconf.c
> @@ -248,7 +248,7 @@ search_help[] = N_(
>  "Only relevant lines are shown.\n"
>  "\n\n"
>  "Search examples:\n"
> -"Examples: USB   = > find all symbols containing USB\n"
> +"Examples: USB  => find all symbols containing USB\n"
>  "          ^USB => find all symbols starting with USB\n"
>  "          USB$ => find all symbols ending with USB\n"
>  "\n");
> --
> 1.7.2.30.gc37d7.dirty
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 3/5] kconfig: fix typos
  2010-12-05  6:41 ` [PATCH 3/5] kconfig: fix typos Arnaud Lacombe
@ 2010-12-15  6:24   ` Arnaud Lacombe
  0 siblings, 0 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-15  6:24 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hi,

On Sun, Dec 5, 2010 at 1:41 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/confdata.c |    6 +++---
>  scripts/kconfig/symbol.c   |    2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
ping ?

 - Arnaud

> diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
> index 6f2f3a4..b2d9486 100644
> --- a/scripts/kconfig/confdata.c
> +++ b/scripts/kconfig/confdata.c
> @@ -992,7 +992,7 @@ static void randomize_choice_values(struct symbol *csym)
>        int cnt, def;
>
>        /*
> -        * If choice is mod then we may have more items slected
> +        * If choice is mod then we may have more items selected
>         * and if no then no-one.
>         * In both cases stop.
>         */
> @@ -1088,10 +1088,10 @@ void conf_set_all_new_symbols(enum conf_def_mode mode)
>
>        /*
>         * We have different type of choice blocks.
> -        * If curr.tri equal to mod then we can select several
> +        * If curr.tri equals to mod then we can select several
>         * choice symbols in one block.
>         * In this case we do nothing.
> -        * If curr.tri equal yes then only one symbol can be
> +        * If curr.tri equals yes then only one symbol can be
>         * selected in a choice block and we set it to yes,
>         * and the rest to no.
>         */
> diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
> index e42240d..3acce4d 100644
> --- a/scripts/kconfig/symbol.c
> +++ b/scripts/kconfig/symbol.c
> @@ -688,7 +688,7 @@ const char *sym_get_string_default(struct symbol *sym)
>                switch (sym->type) {
>                case S_BOOLEAN:
>                case S_TRISTATE:
> -                       /* The visibility imay limit the value from yes => mod */
> +                       /* The visibility may limit the value from yes => mod */
>                        val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri);
>                        break;
>                default:
> --
> 1.7.2.30.gc37d7.dirty
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset()
  2010-12-05  6:41 ` [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset() Arnaud Lacombe
@ 2010-12-15  6:25   ` Arnaud Lacombe
  0 siblings, 0 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-15  6:25 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hi,

On Sun, Dec 5, 2010 at 1:41 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> This symbols is used by gconf.
>
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/lkc.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
ping ?

 - Arnaud

> diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
> index 3633d5a..16eb416 100644
> --- a/scripts/kconfig/lkc.h
> +++ b/scripts/kconfig/lkc.h
> @@ -14,6 +14,7 @@
>  static inline const char *gettext(const char *txt) { return txt; }
>  static inline void textdomain(const char *domainname) {}
>  static inline void bindtextdomain(const char *name, const char *dir) {}
> +static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c; }
>  #endif
>
>  #ifdef __cplusplus
> --
> 1.7.2.30.gc37d7.dirty
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration
  2010-12-05  6:41 ` [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration Arnaud Lacombe
@ 2010-12-15  6:25   ` Arnaud Lacombe
  0 siblings, 0 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-15  6:25 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hi,

On Sun, Dec 5, 2010 at 1:41 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> This symbol is only exist if YYDEBUG is defined.
>
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/lkc.h |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
>
ping ?

 - Arnaud

> diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
> index 16eb416..2b856a8 100644
> --- a/scripts/kconfig/lkc.h
> +++ b/scripts/kconfig/lkc.h
> @@ -68,10 +68,12 @@ struct kconf_id {
>        enum symbol_type stype;
>  };
>
> +#ifdef YYDEBUG
> +extern int zconfdebug;
> +#endif
> +
>  int zconfparse(void);
>  void zconfdump(FILE *out);
> -
> -extern int zconfdebug;
>  void zconf_starthelp(void);
>  FILE *zconf_fopen(const char *name);
>  void zconf_initscan(const char *name);
> --
> 1.7.2.30.gc37d7.dirty
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 4/5] kconfig/conf: merge duplicate switch's case
  2010-12-05  6:41 ` [PATCH 4/5] kconfig/conf: merge duplicate switch's case Arnaud Lacombe
@ 2010-12-15  6:26   ` Arnaud Lacombe
  0 siblings, 0 replies; 11+ messages in thread
From: Arnaud Lacombe @ 2010-12-15  6:26 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Hi,

On Sun, Dec 5, 2010 at 1:41 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/conf.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
ping ?

 - Arnaud

> diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
> index 1b58129..8e33aa7 100644
> --- a/scripts/kconfig/conf.c
> +++ b/scripts/kconfig/conf.c
> @@ -541,8 +541,6 @@ int main(int ac, char **av)
>                }
>                break;
>        case savedefconfig:
> -               conf_read(NULL);
> -               break;
>        case silentoldconfig:
>        case oldaskconfig:
>        case oldconfig:
> --
> 1.7.2.30.gc37d7.dirty
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/5] kbuild/nconf: fix spaces damage
  2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
                   ` (4 preceding siblings ...)
  2010-12-15  6:24 ` [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
@ 2010-12-15 13:44 ` Michal Marek
  5 siblings, 0 replies; 11+ messages in thread
From: Michal Marek @ 2010-12-15 13:44 UTC (permalink / raw)
  To: Arnaud Lacombe; +Cc: linux-kbuild

On Sun, Dec 05, 2010 at 01:41:14AM -0500, Arnaud Lacombe wrote:
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
>  scripts/kconfig/nconf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied this series to kbuild-2.6.git#kconfig.

Michal

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-15 13:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-05  6:41 [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
2010-12-05  6:41 ` [PATCH 2/5] kbuild/gconf: add dummy inline for bind_textdomain_codeset() Arnaud Lacombe
2010-12-15  6:25   ` Arnaud Lacombe
2010-12-05  6:41 ` [PATCH 3/5] kconfig: fix typos Arnaud Lacombe
2010-12-15  6:24   ` Arnaud Lacombe
2010-12-05  6:41 ` [PATCH 4/5] kconfig/conf: merge duplicate switch's case Arnaud Lacombe
2010-12-15  6:26   ` Arnaud Lacombe
2010-12-05  6:41 ` [PATCH 5/5] kconfig: fix `zconfdebug' extern declaration Arnaud Lacombe
2010-12-15  6:25   ` Arnaud Lacombe
2010-12-15  6:24 ` [PATCH 1/5] kbuild/nconf: fix spaces damage Arnaud Lacombe
2010-12-15 13:44 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox