Re: [2/4] coccinelle: platform_get_irq: handle 2-statement branches
From: Markus Elfring
Date: Wed Nov 20 2019 - 04:38:57 EST
> Sorry, I seem to have done something quite wrong on this patch.
> I will fix it.
Development will be continued:
>> How do you think about to use the following SmPL code variant?
> And the benefit is what?
>> + ret =
>> +)(E, ...);
>> + if ( \( ret < 0 \| ret <= 0 \) )
>> + S
* I suggest to use a different coding style for the specification of
two function names in the SmPL disjunction.
* Would you like to avoid the mixing of code items in the first text column?