mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stuart Little <achirvasub@gmail.com>
To: Dan Williams <dan.j.williams@intel.com>,
	Vishal Verma <vishal.l.verma@intel.com>,
	Dave Jiang <dave.jiang@intel.com>,
	linux-nvdimm@lists.01.org
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: PROBLEM: 5.9.0-rc6 fails to compile due to 'redefinition of ‘dax_supported’'
Date: Sun, 20 Sep 2020 21:03:59 -0400	[thread overview]
Message-ID: <20200921010359.GO3027113@arch-chirva.localdomain> (raw)

I am trying to compile for an x86_64 machine (Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz). The config file I am currently using is at

https://termbin.com/xin7

The build for 5.9.0-rc6 fails with the following errors:

--- cut here ---

drivers/dax/super.c:325:6: error: redefinition of ‘dax_supported’
  325 | bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
      |      ^~~~~~~~~~~~~
In file included from drivers/dax/super.c:16:
./include/linux/dax.h:162:20: note: previous definition of ‘dax_supported’ was here
  162 | static inline bool dax_supported(struct dax_device *dax_dev,
      |                    ^~~~~~~~~~~~~
  CC      lib/memregion.o
  CC [M]  drivers/gpu/drm/drm_gem_vram_helper.o
make[2]: *** [scripts/Makefile.build:283: drivers/dax/super.o] Error 1
make[1]: *** [scripts/Makefile.build:500: drivers/dax] Error 2
make[1]: *** Waiting for unfinished jobs....

--- end ---

That's earlier on, and then later, at the end of the (failed) build:

make: *** [Makefile:1784: drivers] Error 2

The full build log is at

https://termbin.com/ihxj

but I do not see anything else amiss. 5.9.0-rc5 built fine last week.

             reply	other threads:[~2020-09-21  1:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21  1:03 Stuart Little [this message]
2020-09-21  2:25 ` Stuart Little
2020-09-21  3:50   ` Robert Gadsdon
2020-09-21  6:04 ` Naresh Kamboju
2020-09-21  7:32   ` Greg KH
2020-09-21  8:02     ` Borislav Petkov
2020-09-21  8:49     ` Bhaskar Chowdhury
2020-09-21  9:50     ` Jan Kara
2020-09-21 10:08       ` Geert Uytterhoeven
2020-09-21 10:29         ` Stuart Little

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=20200921010359.GO3027113@arch-chirva.localdomain \
    --to=achirvasub@gmail.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@lists.01.org \
    --cc=vishal.l.verma@intel.com \
    /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

all inboxes | Powered by JetHome®