lkml.org 
[lkml]   [2017]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/4] char/snsc: Delete unnecessary braces in five functions
From
Date
>>  		/* ...or if we want to block, then do so here */
>> - if (down_interruptible(&sd->sd_wbs)) {
>> + if (down_interruptible(&sd->sd_wbs))
>> /* something went wrong with wait */
>> return -ERESTARTSYS;
>> - }
>> }
>
> Multi-line indents get parenthesis.

How do you think about to add such an expectation to the section
“3) Placing Braces and Spaces” in the document “coding-style.rst”?

Regards,
Markus

\
 
 \ /
  Last update: 2017-10-17 11:12    [W:0.035 / U:0.332 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site