On Tue, Jul 07, 2020 at 11:34:12AM +0300, Nikolay Borisov wrote:
>
>
> On 6.07.20 г. 17:59 ч., Marcos Paulo de Souza wrote:
> > From: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
> >
> > Without this change it's not possible to use these macros and having an
> > if-else construction without using braces.
> >
> > Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
>
> This change would have been better accompanied with another one showing
> intended usage. If it's part of a bigger rework then postpone it and
> send everything altogether.
I think the change is good as is, multi-statement macros should always be
enclosed in do {} while(0);