[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=qtAcsyReu85AVT-cSf3dcvbnTpQYEF1JhxCRP0WgHUw@mail.gmail.com>
Date: Fri, 25 Jun 2021 22:34:29 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Miguel Ojeda <ojeda@...nel.org>
Subject: Re: [PATCH] ELF: add and use SUPRESS_WARN_UNUSED_RESULT
On Fri, Jun 25, 2021 at 9:52 PM Alexey Dobriyan <adobriyan@...il.com> wrote:
>
> +/*
> + * "(void)" is enough for clang but not for gcc.
> + */
> +#define SUPRESS_WARN_UNUSED_RESULT (void)!
While it is related to the attribute, this macro is not an attribute,
so please add it somewhere else.
By the way, the name has a typo.
Cheers,
Miguel
Powered by blists - more mailing lists