[PATCH] staging: usbip: Fix build on Debian ppc

Dan Carpenter dan.carpenter at oracle.com
Thu Sep 19 09:12:44 UTC 2013


On Thu, Sep 19, 2013 at 10:55:18AM +0200, Tobias Polzer wrote:
> When testing usbip under powerpc, it (unexpectedly) worked, but only after
> removing the following lines from vhch_hcd.c:
> 
> 1004         /* will be removed */
> 1005         if (pdev->dev.dma_mask) {
> 1006                 dev_info(&pdev->dev, "vhci_hcd DMA not supported\n");
> 1007                 return -EINVAL;
> 1008         }
> 
> We encountered no problems without those lines. Is it safe to remove this
> check?

Hehe.  No.

Also which vhch_hcd.c are you talking about?  "find -name vhch_hcd.c"
doesn't show anything.

What the error message?

regards,
dan carpenter



More information about the devel mailing list