10 May
2012
10 May
'12
11:11 a.m.
On 10 May 2012 17:12, Dong Aisheng aisheng.dong@freescale.com wrote:
dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0); if (!dmares) {
- ret = -ENODEV;
The 'ret' is used below.
Right, good catch.
The following has the same issue.
dev_err(&pdev->dev, "failed to get dma resource: %d\n", ret);
I think we can remove the ret here since it does not help too much.
Ok, will do.
Regards, Shawn