[PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

Rameshwar Sahu rsahu at apm.com
Sun Apr 19 20:08:18 PDT 2015


Hi Vinod,

On Fri, Apr 17, 2015 at 11:59 PM, Vinod Koul <vinod.koul at intel.com> wrote:
>
>>       /* Get DMA error interrupt */
>> @@ -2076,7 +2035,6 @@ static struct platform_driver xgene_dma_driver = {
>>       .remove = xgene_dma_remove,
>>       .driver = {
>>               .name = "X-Gene-DMA",
>> -             .owner = THIS_MODULE,
> I have already applied a patch for this

Okay, I didn't pull latest git

>
>>               .of_match_table = xgene_dma_of_match_ptr,
>>       },
>>  };
>> @@ -2085,6 +2043,5 @@ module_platform_driver(xgene_dma_driver);
>>
>>  MODULE_DESCRIPTION("APM X-Gene SoC DMA driver");
>>  MODULE_AUTHOR("Rameshwar Prasad Sahu <rsahu at apm.com>");
>> -MODULE_AUTHOR("Loc Ho <lho at apm.com>");
> And why this?

I saw below warning reported by the kbuild robot test

drivers/dma/xgene-dma.c:2088:1: sparse: symbol
'__UNIQUE_ID_author__COUNTER__' has multiple initializers (originally
initialized at drivers/dma/xgene-dma.c:2087)
So, I kept only one author here.


>
> Fixes looks good though
>
> --
> ~Vinod
>>  MODULE_LICENSE("GPL");
>>  MODULE_VERSION("1.0");
>> --
>> 1.8.2.1
>>
>
> --



More information about the linux-arm-kernel mailing list