Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: > On 2014-09-22 23:53, Alexis Berlemont wrote: > > In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a > > custom path for the "auto.conf" file. > > > > The "*conf" programs were modified so as to work with the environment > > variable KCONFIG_AUTOCONFIG. > >

Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: > On 2014-09-22 23:53, Alexis Berlemont wrote: > > +#define PATH_MAXLENGTH 4096 > > +const char *conf_get_autoconfigdep_name(void) > > +{ > > + static char res_value[PATH_MAXLENGTH]; > > Please use the PATH_MAX macro instead. One month later, I take time to answer and

Re: [PATCH 01/15] kbuild: add support of custom paths for auto.conf* files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: On 2014-09-22 23:53, Alexis Berlemont wrote: +#define PATH_MAXLENGTH 4096 +const char *conf_get_autoconfigdep_name(void) +{ + static char res_value[PATH_MAXLENGTH]; Please use the PATH_MAX macro instead. One month later, I take time to answer and apologize... I

Re: [PATCH 01/15] kbuild: add support of custom paths for auto.conf* files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: On 2014-09-22 23:53, Alexis Berlemont wrote: In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the auto.conf file. The *conf programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. ---

Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-09-23 Thread Michal Marek
On 2014-09-22 23:53, Alexis Berlemont wrote: > +#define PATH_MAXLENGTH 4096 > +const char *conf_get_autoconfigdep_name(void) > +{ > + static char res_value[PATH_MAXLENGTH]; Please use the PATH_MAX macro instead. Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-09-23 Thread Michal Marek
On 2014-09-22 23:53, Alexis Berlemont wrote: > In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a > custom path for the "auto.conf" file. > > The "*conf" programs were modified so as to work with the environment > variable KCONFIG_AUTOCONFIG. > --- > scripts/Makefile.build |

Re: [PATCH 01/15] kbuild: add support of custom paths for auto.conf* files

2014-09-23 Thread Michal Marek
On 2014-09-22 23:53, Alexis Berlemont wrote: In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the auto.conf file. The *conf programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. --- scripts/Makefile.build | 3 ++-

Re: [PATCH 01/15] kbuild: add support of custom paths for auto.conf* files

2014-09-23 Thread Michal Marek
On 2014-09-22 23:53, Alexis Berlemont wrote: +#define PATH_MAXLENGTH 4096 +const char *conf_get_autoconfigdep_name(void) +{ + static char res_value[PATH_MAXLENGTH]; Please use the PATH_MAX macro instead. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-09-22 Thread Alexis Berlemont
In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the "auto.conf" file. The "*conf" programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. --- scripts/Makefile.build | 3 ++- scripts/kconfig/confdata.c | 27

[PATCH 01/15] kbuild: add support of custom paths for auto.conf* files

2014-09-22 Thread Alexis Berlemont
In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the auto.conf file. The *conf programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. --- scripts/Makefile.build | 3 ++- scripts/kconfig/confdata.c | 27