Re: [PATCH] iommu: Make of_device_id array const

From: kiran . padwal
Date: Fri Sep 12 2014 - 08:44:56 EST




On Thursday, September 11, 2014 9:51am, "Will Deacon" <will.deacon@xxxxxxx> said:

> On Thu, Sep 11, 2014 at 02:37:36PM +0100, Kiran Padwal wrote:
>> Make of_device_id array const, because all OF functions handle it as const.
>>
>> Signed-off-by: Kiran Padwal <kiran.padwal@xxxxxxxxxxxxxxx>
>> ---
>> drivers/iommu/arm-smmu.c | 2 +-
>> drivers/iommu/omap-iommu.c | 2 +-
>> drivers/iommu/tegra-gart.c | 2 +-
>> drivers/iommu/tegra-smmu.c | 2 +-
>> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> Ha, I've seen a few of these patches recently. Did some tool just get
> support for detecting this?

No

>
> Anyway, looks fine and should probably go via Joerg.
>
> Will
>


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