public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [driver-core:driver-core-next 4/11] include/linux/device.h:925:12: error: 'dev_vprintk_emit' def
Date: Tue, 02 Oct 2012 14:06:50 +0000	[thread overview]
Message-ID: <20121002140650.GA4560@localhost> (raw)
In-Reply-To: <20121002104127.GA31577@localhost>

On Tue, Oct 02, 2012 at 06:46:33AM -0700, Greg KH wrote:
> On Tue, Oct 02, 2012 at 06:41:27PM +0800, Fengguang Wu wrote:
> > Hi Joe,
> > 
> > FYI, kernel build failed on
> > 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next
> > head:   e0f21e6d52cc245e7d4f7e02ca4b7b6571660ec2
> > commit: 05e4e5b87aab74f994acf9dd4bed4a8f1367cd09 [4/11] dev: Add dev_vprintk_emit and dev_printk_emit
> > config: sh-allnoconfig
> > 
> > All error/warnings:
> > 
> > include/linux/device.h:925:12: error: 'dev_vprintk_emit' defined but not used [-Werror=unused-function]
> > cc1: all warnings being treated as errors
> 
> I can't duplicate this here, what is your .config?

make ARCH=sh allnoconfig

Sorry, but it's a bit complicated: driver-core-next HEAD is actually
fine.  The commit 05e4e5b87aab74f994acf9dd4bed4a8f1367cd09 is broken.

Since I'm not doing bisectibility tests on driver-core, I checked the
log and find that the error is actually first found when testing the
HEAD commit of 

        git://git.linaro.org/people/shawnguo/linux-2.6.git for-3.8
        
It seems to be based on linux-next, which includes an older version of
your tree. The build system bisected down the error to the first bad
commit 05e4e5b87aab74f994acf9dd4bed4a8f1367cd09, and then find that
it's not really in shawnguo's tree, but part of your tree. So it ends
up reporting against driver-core rather than shawnguo's tree.

Everything is working fine above, except that your tree HEAD has
advanced to a new point that the error already get fixed.

> And treating warnings as errors?  Good luck :)

I guess some dir in ARCH sh does that -Werror thing.

Thanks,
Fengguang

      parent reply	other threads:[~2012-10-02 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 10:41 [driver-core:driver-core-next 4/11] include/linux/device.h:925:12: error: 'dev_vprintk_emit' defined Fengguang Wu
2012-10-02 13:46 ` [driver-core:driver-core-next 4/11] include/linux/device.h:925:12: error: 'dev_vprintk_emit' def Greg Kroah-Hartman
2012-10-02 13:54 ` Joe Perches
2012-10-02 14:06 ` Fengguang Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121002140650.GA4560@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox