Messages in this thread | | | Date | Thu, 23 Jul 2020 11:33:33 +0100 | From | Lee Jones <> | Subject | Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label |
| |
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
| |