Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449549

Re: linux-next: build warning after merge of the tip tree

Path csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Rich Felker <dalias@libc.org>
Newsgroups linux.kernel
Subject Re: linux-next: build warning after merge of the tip tree
Date Mon, 25 Jul 2016 17:00:01 +0200
Message-ID <rYPwl-5P2-1@gated-at.bofh.it> (permalink)
References <rYkiR-3Tz-3@gated-at.bofh.it> <rYIlb-1ER-5@gated-at.bofh.it>
X-Original-To Thomas Gleixner <tglx@linutronix.de>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc Stephen Rothwell <sfr@canb.auug.org.au>, Ingo Molnar <mingo@elte.hu>, "H. Peter Anvin" <hpa@zytor.com>, Peter Zijlstra <peterz@infradead.org>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Lezcano <daniel.lezcano@linaro.org>
X-Original-Date Mon, 25 Jul 2016 10:48:46 -0400
X-Original-Message-ID <20160725144846.GS15995@brightrain.aerifal.cx>
X-Original-References <20160724153233.49f1574d@canb.auug.org.au> <alpine.DEB.2.11.1607250915160.5629@nanos>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1449549

Show key headers only | View raw


On Mon, Jul 25, 2016 at 09:16:48AM +0200, Thomas Gleixner wrote:
> On Sun, 24 Jul 2016, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> > produced this warning:
> > 
> > In file included from include/linux/clocksource.h:18:0,
> >                  from include/linux/clockchips.h:13,
> >                  from drivers/clocksource/jcore-pit.c:14:
> > include/linux/of.h:1004:20: warning: comparison of distinct pointer types lacks a cast
> >         .data = (fn == (fn_type)NULL) ? fn : fn  }
> >                     ^
> > include/linux/of.h:1020:3: note: in expansion of macro '_OF_DECLARE'
> >    _OF_DECLARE(table, name, compat, fn, of_init_fn_1_ret)
> >    ^
> > include/linux/clocksource.h:247:2: note: in expansion of macro 'OF_DECLARE_1_RET'
> >   OF_DECLARE_1_RET(clksrc, name, compat, fn)
> >   ^
> > drivers/clocksource/jcore-pit.c:277:1: note: in expansion of macro 'CLOCKSOURCE_OF_DECLARE'
> >  CLOCKSOURCE_OF_DECLARE(jcore_pit, "jcore,pit", jcore_pit_init);
> >  ^
> > 
> > Introduced by commits
> > 
> >   b7c4db861683 ("clocksource/drivers/clksrc-probe: Introduce init functions with return code")
> >   177cf6e52b0a ("clocksources: Switch back to the clksrc table")
> > 
> > interacting with commit
> > 
> >   e0aa0655c60b ("clocksource: add J-Core timer/clocksource driver")
> > 
> > from the sh tree.
> 
> And why is that driver coming through the superh tree and not through the
> clocksource maintainers? It's not only based on an old interface it's probably
> unreviewed as well ...

Drivers will go upstream through their proper subsystem maintainers,
not from my tree, but last time I got feedback that these drivers had
not seen any testing in linux-next. I can refrain from including
patches that I can't upstream directly in my for-next branch in the
future if you'd prefer but this way seemed to make less work for
others.

Rich

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the tip tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-07-24 07:40 +0200
  Re: linux-next: build warning after merge of the tip tree Thomas Gleixner <tglx@linutronix.de> - 2016-07-25 09:20 +0200
    Re: linux-next: build warning after merge of the tip tree Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-07-25 15:20 +0200
      Re: linux-next: build warning after merge of the tip tree Rich Felker <dalias@libc.org> - 2016-07-25 17:00 +0200
        Re: linux-next: build warning after merge of the tip tree Mark Brown <broonie@kernel.org> - 2016-07-25 18:50 +0200
          Re: linux-next: build warning after merge of the tip tree Rich Felker <dalias@libc.org> - 2016-07-25 20:00 +0200
    Re: linux-next: build warning after merge of the tip tree Rich Felker <dalias@libc.org> - 2016-07-25 17:00 +0200

csiph-web