Re: [PATCH v2 6/6] usb: host: tegra: Tegra30 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/06/2013 09:35 PM, Sergei Shtylyov wrote:
> Hello.
> 
[...]
>>
>> +	match = of_match_device(tegra_ehci_of_match, &pdev->dev);
>> +	if (!match) {
>> +		dev_err(&pdev->dev, "Error: No device match found\n");
>> +		return -ENODEV;
>> +	}
>> +	soc_config = (struct tegra_ehci_soc_config *)match->data;
> 
>     Aren't casts from 'const void *' automatic?
> 
> WBR, Sergei
> 

Indeed they are, but those explicit casts seem to be used in many places in the kernel.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux