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

From: Dan Carpenter
Date: Thu Sep 19 2013 - 05:13:58 EST


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

--
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/