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

From: Fengguang Wu
Date: Mon Apr 27 2015 - 01:20:56 EST


On Mon, Apr 27, 2015 at 08:43:15AM +0530, Vinod Koul wrote:
> On Mon, Apr 20, 2015 at 08:38:18AM +0530, Rameshwar Sahu wrote:
> > Hi Vinod,
> >> >> @@ -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.
> No that is not right, sparse shouldn't have cribbed here.
>
> Fengguang can we get the bot to ignore this please

OK, sorry for the noises! CC sparse maintainer btw.

Thanks,
Fengguang
--
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/