Messages in this thread | | | Subject | Re: Probable false positive in checkpatch | From | Joe Perches <> | Date | Fri, 28 Sep 2012 13:59:17 -0700 |
| |
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.
| |