linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings
       [not found]     ` <20150427031315.GG2738@intel.com>
@ 2015-04-27  5:20       ` Fengguang Wu
  2015-06-12  0:36         ` Christopher Li
  0 siblings, 1 reply; 3+ messages in thread
From: Fengguang Wu @ 2015-04-27  5:20 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Rameshwar Sahu, dan.j.williams, dmaengine, Arnd Bergmann,
	linux-kernel, devicetree, linux-arm-kernel, jcm, patches,
	Christopher Li, Linux-Sparse

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@apm.com>");
> > >> -MODULE_AUTHOR("Loc Ho <lho@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.
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings
  2015-04-27  5:20       ` [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings Fengguang Wu
@ 2015-06-12  0:36         ` Christopher Li
  2015-06-12  1:00           ` Fengguang Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Li @ 2015-06-12  0:36 UTC (permalink / raw)
  To: Fengguang Wu
  Cc: Vinod Koul, Rameshwar Sahu, Dan Williams, dmaengine,
	Arnd Bergmann, linux-kernel, devicetree, linux-arm-kernel, jcm,
	patches, Linux-Sparse

On Sun, Apr 26, 2015 at 10:20 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
>> >
>> > 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

Sorry for the late reply.

That looks like the __COUNTER__ macro feature. It has been implemented in
sparse git tree already.

Chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings
  2015-06-12  0:36         ` Christopher Li
@ 2015-06-12  1:00           ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2015-06-12  1:00 UTC (permalink / raw)
  To: Christopher Li
  Cc: Vinod Koul, Rameshwar Sahu, Dan Williams, dmaengine,
	Arnd Bergmann, linux-kernel, devicetree, linux-arm-kernel, jcm,
	patches, Linux-Sparse

On Thu, Jun 11, 2015 at 05:36:00PM -0700, Christopher Li wrote:
> n Sun, Apr 26, 2015 at 10:20 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> >> >
> >> > 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
> 
> Sorry for the late reply.
> 
> That looks like the __COUNTER__ macro feature. It has been implemented in
> sparse git tree already.

That's great, I'll fetch the latest sparse code from

git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-12  1:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1429212673-22254-1-git-send-email-rsahu@apm.com>
     [not found] ` <20150417182937.GN30624@intel.com>
     [not found]   ` <CAFd313y-HfW_us0FVQFEkGAzf-ZCKpRtF6eYweaK0V94MBg4iQ@mail.gmail.com>
     [not found]     ` <20150427031315.GG2738@intel.com>
2015-04-27  5:20       ` [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings Fengguang Wu
2015-06-12  0:36         ` Christopher Li
2015-06-12  1:00           ` Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).