From: Dan Carpenter Date: Sat, 30 Mar 2013 10:53:54 +0000 (+0200) Subject: usb: chipidea: fix precedence bug in ci_requests_show() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8618e067907407ec84001adc11bc1f184d19a6;p=pandora-kernel.git usb: chipidea: fix precedence bug in ci_requests_show() The intent here was to have parenthesis around the (ci->hw_ep_max / 2) so that it counts like "0 1 2 0 1 2". In the current code, the mod operation happens first so it counts like "0 0 1 1 2 2". Signed-off-by: Dan Carpenter [rebased on top of debug.c changes] Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed