From: Alan Stern Date: Wed, 30 Aug 2006 15:35:21 +0000 (-0400) Subject: usbmon: don't call mon_dmapeek if DMA isn't being used X-Git-Tag: v2.6.19-rc1~899^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6cd48380c4d361cc8ec34359df22377d85d202;p=pandora-kernel.git usbmon: don't call mon_dmapeek if DMA isn't being used This patch (as755b) fixes a bug in usbmon. Rather than assuming all USB host controllers use DMA, the code will check the usb_bus data structure. If DMA isn't used, we don't want to try peeking into a non-existent DMA buffer! Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed