[lkml]   [2015]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drivers/usb/core: hcd.c: Removed all space warnings from
On Sat, 2015-04-11 at 03:04 -0700, Chase Metzger wrote:
> Removed all(except false positives, from calculations) space prohibited warnings generated by

False positives? Please describe them.

The only thing I believe you elided was the
use of a BitTime macro which in my opinion
should be used as a function.

drivers/usb/core/hcd.c: tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L;

as it is in the include file:

include/linux/usb/hcd.h: + (2083UL * (3 + BitTime(bytes))))/1000 \

 \ /
  Last update: 2015-04-11 19:01    [W:0.087 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site