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

From: Rameshwar Sahu
Date: Sun Apr 19 2015 - 23:08:27 EST


Hi Vinod,

On Fri, Apr 17, 2015 at 11:59 PM, Vinod Koul <vinod.koul@xxxxxxxxx> 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@xxxxxxx>");
>> -MODULE_AUTHOR("Loc Ho <lho@xxxxxxx>");
> 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
>>
>
> --
--
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/