linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
@ 2020-07-15 12:23 Lee Jones
  2020-07-16 15:00 ` Federico Vaga
  2020-07-23 20:43 ` Jonathan Corbet
  0 siblings, 2 replies; 5+ messages in thread
From: Lee Jones @ 2020-07-15 12:23 UTC (permalink / raw)
  To: lee.jones
  Cc: linux-kernel, Federico Vaga, Jonathan Corbet, linux-doc,
	clang-built-linux

Flag is __maybe_unused, not __maybe_used.

Cc: Federico Vaga <federico.vaga@vaga.pv.it>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: clang-built-linux@googlegroups.com
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 Documentation/translations/it_IT/process/coding-style.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/it_IT/process/coding-style.rst b/Documentation/translations/it_IT/process/coding-style.rst
index 6f4f85832deea..a346f1f2ce21f 100644
--- a/Documentation/translations/it_IT/process/coding-style.rst
+++ b/Documentation/translations/it_IT/process/coding-style.rst
@@ -1097,7 +1097,7 @@ la direttiva condizionale su di esse.
 
 Se avete una variabile o funzione che potrebbe non essere usata in alcune
 configurazioni, e quindi il compilatore potrebbe avvisarvi circa la definizione
-inutilizzata, marcate questa definizione come __maybe_used piuttosto che
+inutilizzata, marcate questa definizione come __maybe_unused piuttosto che
 racchiuderla in una direttiva condizionale del preprocessore.  (Comunque,
 se una variabile o funzione è *sempre* inutilizzata, rimuovetela).
 
-- 
2.25.1


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

* Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
  2020-07-15 12:23 [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label Lee Jones
@ 2020-07-16 15:00 ` Federico Vaga
  2020-07-23 10:33   ` Lee Jones
  2020-07-23 20:43 ` Jonathan Corbet
  1 sibling, 1 reply; 5+ messages in thread
From: Federico Vaga @ 2020-07-16 15:00 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, Jonathan Corbet, linux-doc, clang-built-linux

Of course, you are right! Thanks

On 2020-07-15 14:23, Lee Jones wrote:
> Flag is __maybe_unused, not __maybe_used.
> 
> Cc: Federico Vaga <federico.vaga@vaga.pv.it>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: clang-built-linux@googlegroups.com
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
>  Documentation/translations/it_IT/process/coding-style.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/translations/it_IT/process/coding-style.rst
> b/Documentation/translations/it_IT/process/coding-style.rst
> index 6f4f85832deea..a346f1f2ce21f 100644
> --- a/Documentation/translations/it_IT/process/coding-style.rst
> +++ b/Documentation/translations/it_IT/process/coding-style.rst
> @@ -1097,7 +1097,7 @@ la direttiva condizionale su di esse.
> 
>  Se avete una variabile o funzione che potrebbe non essere usata in 
> alcune
>  configurazioni, e quindi il compilatore potrebbe avvisarvi circa la 
> definizione
> -inutilizzata, marcate questa definizione come __maybe_used piuttosto 
> che
> +inutilizzata, marcate questa definizione come __maybe_unused piuttosto 
> che
>  racchiuderla in una direttiva condizionale del preprocessore.  
> (Comunque,
>  se una variabile o funzione è *sempre* inutilizzata, rimuovetela).

-- 
Federico Vaga
http://www.federicovaga.it/

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

* Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
  2020-07-16 15:00 ` Federico Vaga
@ 2020-07-23 10:33   ` Lee Jones
  2020-07-23 13:15     ` Jonathan Corbet
  0 siblings, 1 reply; 5+ messages in thread
From: Lee Jones @ 2020-07-23 10:33 UTC (permalink / raw)
  To: Federico Vaga; +Cc: linux-kernel, Jonathan Corbet, linux-doc, clang-built-linux

On Thu, 16 Jul 2020, Federico Vaga wrote:

> Of course, you are right! Thanks
> 
> On 2020-07-15 14:23, Lee Jones wrote:
> > Flag is __maybe_unused, not __maybe_used.
> > 
> > Cc: Federico Vaga <federico.vaga@vaga.pv.it>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Cc: linux-doc@vger.kernel.org
> > Cc: clang-built-linux@googlegroups.com
> > Signed-off-by: Lee Jones <lee.jones@linaro.org>

Any idea who will/should take this?

> > ---
> >  Documentation/translations/it_IT/process/coding-style.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/translations/it_IT/process/coding-style.rst
> > b/Documentation/translations/it_IT/process/coding-style.rst
> > index 6f4f85832deea..a346f1f2ce21f 100644
> > --- a/Documentation/translations/it_IT/process/coding-style.rst
> > +++ b/Documentation/translations/it_IT/process/coding-style.rst
> > @@ -1097,7 +1097,7 @@ la direttiva condizionale su di esse.
> > 
> >  Se avete una variabile o funzione che potrebbe non essere usata in
> > alcune
> >  configurazioni, e quindi il compilatore potrebbe avvisarvi circa la
> > definizione
> > -inutilizzata, marcate questa definizione come __maybe_used piuttosto
> > che
> > +inutilizzata, marcate questa definizione come __maybe_unused piuttosto
> > che
> >  racchiuderla in una direttiva condizionale del preprocessore.
> > (Comunque,
> >  se una variabile o funzione è *sempre* inutilizzata, rimuovetela).
> 

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
  2020-07-23 10:33   ` Lee Jones
@ 2020-07-23 13:15     ` Jonathan Corbet
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2020-07-23 13:15 UTC (permalink / raw)
  To: Lee Jones; +Cc: Federico Vaga, linux-kernel, linux-doc, clang-built-linux

On Thu, 23 Jul 2020 11:33:33 +0100
Lee Jones <lee.jones@linaro.org> wrote:

> On Thu, 16 Jul 2020, Federico Vaga wrote:
> 
> > Of course, you are right! Thanks
> > 
> > On 2020-07-15 14:23, Lee Jones wrote:  
> > > Flag is __maybe_unused, not __maybe_used.
> > > 
> > > Cc: Federico Vaga <federico.vaga@vaga.pv.it>
> > > Cc: Jonathan Corbet <corbet@lwn.net>
> > > Cc: linux-doc@vger.kernel.org
> > > Cc: clang-built-linux@googlegroups.com
> > > Signed-off-by: Lee Jones <lee.jones@linaro.org>  
> 
> Any idea who will/should take this?

It's a docs patch, I'll apply it once I get back to the queue....

Thanks,

jon

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

* Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
  2020-07-15 12:23 [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label Lee Jones
  2020-07-16 15:00 ` Federico Vaga
@ 2020-07-23 20:43 ` Jonathan Corbet
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2020-07-23 20:43 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, Federico Vaga, linux-doc, clang-built-linux

On Wed, 15 Jul 2020 13:23:28 +0100
Lee Jones <lee.jones@linaro.org> wrote:

> Flag is __maybe_unused, not __maybe_used.
> 
> Cc: Federico Vaga <federico.vaga@vaga.pv.it>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: clang-built-linux@googlegroups.com
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
>  Documentation/translations/it_IT/process/coding-style.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/translations/it_IT/process/coding-style.rst b/Documentation/translations/it_IT/process/coding-style.rst
> index 6f4f85832deea..a346f1f2ce21f 100644
> --- a/Documentation/translations/it_IT/process/coding-style.rst
> +++ b/Documentation/translations/it_IT/process/coding-style.rst
> @@ -1097,7 +1097,7 @@ la direttiva condizionale su di esse.
>  
>  Se avete una variabile o funzione che potrebbe non essere usata in alcune
>  configurazioni, e quindi il compilatore potrebbe avvisarvi circa la definizione
> -inutilizzata, marcate questa definizione come __maybe_used piuttosto che
> +inutilizzata, marcate questa definizione come __maybe_unused piuttosto che
>  racchiuderla in una direttiva condizionale del preprocessore.  (Comunque,

Applied, thanks.

jon

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

end of thread, other threads:[~2020-07-23 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 12:23 [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label Lee Jones
2020-07-16 15:00 ` Federico Vaga
2020-07-23 10:33   ` Lee Jones
2020-07-23 13:15     ` Jonathan Corbet
2020-07-23 20:43 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).