lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Probable false positive in checkpatch
From
Date
On Fri, 2012-09-28 at 15:50 -0400, Alan Stern wrote:
> Here's what I just got from checkpatch:
>
> ERROR: space prohibited after that '-' (ctx:BxW)
> #22: FILE: drivers/usb/host/ehci-sched.c:1419:
> + start += (next - start + period - 1) & (- period);
> ^
> This seems unlikely to be a real style violation. Or if it is, maybe
> it shouldn't be. After all, "(0 - period)" would be okay.

2c: I think the recommendation is proper and correct.





\
 
 \ /
  Last update: 2012-09-28 23:41    [W:0.031 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site