Probable false positive in checkpatch

From: Alan Stern
Date: Fri Sep 28 2012 - 15:50:47 EST


Andy:

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.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/