public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: 5.9.0-rc6 fails to compile due to 'redefinition of ‘dax_supported’'
@ 2020-09-21  1:03 Stuart Little
  2020-09-21  2:25 ` Stuart Little
  2020-09-21  6:04 ` Naresh Kamboju
  0 siblings, 2 replies; 10+ messages in thread
From: Stuart Little @ 2020-09-21  1:03 UTC (permalink / raw)
  To: Dan Williams, Vishal Verma, Dave Jiang, linux-nvdimm; +Cc: kernel list

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.

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

end of thread, other threads:[~2020-09-21 10:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21  1:03 PROBLEM: 5.9.0-rc6 fails to compile due to 'redefinition of ‘dax_supported’' Stuart Little
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox