All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL
@ 2020-05-26  9:48 Patrick Delaunay
  2020-05-26 13:51 ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Delaunay @ 2020-05-26  9:48 UTC (permalink / raw)
  To: u-boot

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in
common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---

 doc/README.log | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/README.log b/doc/README.log
index 1057981f45..170e4ba24e 100644
--- a/doc/README.log
+++ b/doc/README.log
@@ -60,13 +60,13 @@ Enabling logging
 The following options are used to enable logging at compile time:
 
    CONFIG_LOG		- Enables the logging system
-   CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled
+   CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
 				out)
    CONFIG_LOG_CONSOLE	- Enable writing log records to the console
 
 If CONFIG_LOG is not set, then no logging will be available.
 
-The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
+The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.
 
 
 Temporary logging within a single file
-- 
2.17.1

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

* [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL
  2020-05-26  9:48 [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL Patrick Delaunay
@ 2020-05-26 13:51 ` Heinrich Schuchardt
  2020-05-26 16:27   ` Patrick DELAUNAY
  0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-05-26 13:51 UTC (permalink / raw)
  To: u-boot

On 26.05.20 11:48, Patrick Delaunay wrote:
> Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in
> common/Kconfig:
> line 668:config LOG_MAX_LEVEL
> line 688:config SPL_LOG_MAX_LEVEL
> line 708:config TPL_LOG_MAX_LEVEL
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>

> ---
>
>  doc/README.log | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/README.log b/doc/README.log
> index 1057981f45..170e4ba24e 100644
> --- a/doc/README.log
> +++ b/doc/README.log
> @@ -60,13 +60,13 @@ Enabling logging
>  The following options are used to enable logging at compile time:
>
>     CONFIG_LOG		- Enables the logging system
> -   CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled
> +   CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
>  				out)
>     CONFIG_LOG_CONSOLE	- Enable writing log records to the console
>
>  If CONFIG_LOG is not set, then no logging will be available.
>
> -The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
> +The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.

Please mention TPL and CONFIG_TPL_LOG_MAX_LEVEL here too.

@Simon:
It would be good to reformat the whole file as restructured text and add
it to the HTML documentation.

Best regards

Heinrich

>
>
>  Temporary logging within a single file
>

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

* [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL
  2020-05-26 13:51 ` Heinrich Schuchardt
@ 2020-05-26 16:27   ` Patrick DELAUNAY
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2020-05-26 16:27 UTC (permalink / raw)
  To: u-boot

Hi,

> From: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Sent: mardi 26 mai 2020 15:51
> 
> On 26.05.20 11:48, Patrick Delaunay wrote:
> > Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in
> > common/Kconfig:
> > line 668:config LOG_MAX_LEVEL
> > line 688:config SPL_LOG_MAX_LEVEL
> > line 708:config TPL_LOG_MAX_LEVEL
> >
> > Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> 
> > ---
> >
> >  doc/README.log | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/doc/README.log b/doc/README.log index
> > 1057981f45..170e4ba24e 100644
> > --- a/doc/README.log
> > +++ b/doc/README.log
[...]
> >
> > -The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
> > +The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.
> 
> Please mention TPL and CONFIG_TPL_LOG_MAX_LEVEL here too.

Yes, I prepare a V2.

Regards.

Patrick

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

end of thread, other threads:[~2020-05-26 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  9:48 [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL Patrick Delaunay
2020-05-26 13:51 ` Heinrich Schuchardt
2020-05-26 16:27   ` Patrick DELAUNAY

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.