Am Donnerstag, 10. August 2017, 15:59:33 CEST schrieb Tudor Ambarus:
Hi Tudor,
On 08/10/2017 04:03 PM, Stephan Mueller wrote:
quoted
Is there a style requirement for that? checkpatch.pl does not complain. I
thought that one liners in a conditional should not have braces?
Linux coding style requires braces in both branches when you have a
branch with a statement and the other with multiple statements.
Checkpatch complains about this when you run it with --strict option.
Ok, then I will add it.
Thanks
Ciao
Stephan