On Mon, Aug 20, 2018 at 4:06 PM, Tomas Vanek via OpenOCD-devel <
openocd-devel@lists.sourceforge.net> wrote:
> On 20.08.2018 15:42, Andreas Fritiofson (Code Review) wrote:
>
>> Line 66: while (!(*((volatile unsigned *)CMNSR) & TEND));
>> The style check complains that this empty while loop should look like
>> this:
>>
>> while (...)
>> ;
>>
>>
>> This should be mentioned in the style guide. Really not intuitive...
>
>
I don't know if it's an established style or simply an artifact of
checkpatch on a really uncommon construct (outside bare metal code).
/Andreas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel