lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
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/

\
 
 \ /
  Last update: 2020-07-16 17:01    [W:0.071 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site