linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the rtc tree
@ 2017-04-10  6:04 Stephen Rothwell
  2017-04-10  7:45 ` Hans de Goede
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2017-04-10  6:04 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Hans de Goede

Hi Alexandre,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "legacy_pic" [drivers/rtc/rtc-cmos.ko] undefined!

Caused by commit

  d3e3a65c6a96 ("rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs")

"legacy_pic" is not exported to modules.

I have used the rtc tree from next-20170407 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2023-10-16  4:15 Stephen Rothwell
  2023-10-16  4:34 ` Alexandre Belloni
  2023-10-16  7:11 ` Uwe Kleine-König
  0 siblings, 2 replies; 29+ messages in thread
From: Stephen Rothwell @ 2023-10-16  4:15 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Uwe Kleine-König, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/rtc/rtc-at91rm9200.c:561:13: error: 'at91_rtc_remove' defined but not used [-Werror=unused-function]
  561 | static void at91_rtc_remove(struct platform_device *pdev)
      |             ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  48bc8830fbed ("rtc: at91rm9200: Convert to platform remove callback returning void")

This function lost its __exit attribute (which includes a "used"
attribute) and exit_p(x) is NULL when not being built with
CONFIG_MODULE set.  This build has CONFIG_RTC_DRV_AT91RM9200=y

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2021-09-27  3:10 Stephen Rothwell
  2021-09-27  7:16 ` Romain Perier
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2021-09-27  3:10 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Daniel Palmer, Romain Perier, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/rtc/rtc-msc313.c: In function 'msc313_rtc_read_alarm':
drivers/rtc/rtc-msc313.c:54:12: error: implicit declaration of function 'readw' [-Werror=implicit-function-declaration]
   54 |  seconds = readw(priv->rtc_base + REG_RTC_MATCH_VAL_L)
      |            ^~~~~
drivers/rtc/rtc-msc313.c: In function 'msc313_rtc_alarm_irq_enable':
drivers/rtc/rtc-msc313.c:75:2: error: implicit declaration of function 'writew' [-Werror=implicit-function-declaration]
   75 |  writew(reg, priv->rtc_base + REG_RTC_CTRL);
      |  ^~~~~~

Caused by commit

  be7d9c9161b9 ("rtc: Add support for the MSTAR MSC313 RTC")

I have used the rtc tree from next-20210924 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2021-08-10  5:54 Stephen Rothwell
  0 siblings, 0 replies; 29+ messages in thread
From: Stephen Rothwell @ 2021-08-10  5:54 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Cassio Neri, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR: modpost: missing MODULE_LICENSE() in drivers/rtc/lib_test.o

Caused by commit

  1d1bb12a8b18 ("rtc: Improve performance of rtc_time64_to_tm(). Add tests.")

I have used the rtc tree from next-20210809 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2020-03-16  5:15 Stephen Rothwell
  2020-03-16  6:58 ` Ran Bi
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2020-03-16  5:15 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Ran Bi

[-- Attachment #1: Type: text/plain, Size: 3607 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/rtc/rtc-mt2712.c: In function 'mt2712_rtc_set_alarm':
drivers/rtc/rtc-mt2712.c:235:6: warning: unused variable 'irqen' [-Wunused-variable]
  235 |  u16 irqen;
      |      ^~~~~
drivers/rtc/rtc-mt2712.c: At top level:
drivers/rtc/rtc-mt2712.c:409:1: error: expected ',' or ';' before 'static'
  409 | static struct platform_driver mt2712_rtc_driver = {
      | ^~~~~~
In file included from drivers/rtc/rtc-mt2712.c:14:
drivers/rtc/rtc-mt2712.c: In function 'mt2712_rtc_driver_init':
drivers/rtc/rtc-mt2712.c:418:24: error: 'mt2712_rtc_driver' undeclared (first use in this function); did you mean 'mt2712_rtc_probe'?
  418 | module_platform_driver(mt2712_rtc_driver);
      |                        ^~~~~~~~~~~~~~~~~
include/linux/platform_device.h:214:29: note: in definition of macro 'platform_driver_register'
  214 |  __platform_driver_register(drv, THIS_MODULE)
      |                             ^~~
include/linux/platform_device.h:244:2: note: in expansion of macro 'module_driver'
  244 |  module_driver(__platform_driver, platform_driver_register, \
      |  ^~~~~~~~~~~~~
drivers/rtc/rtc-mt2712.c:418:1: note: in expansion of macro 'module_platform_driver'
  418 | module_platform_driver(mt2712_rtc_driver);
      | ^~~~~~~~~~~~~~~~~~~~~~
drivers/rtc/rtc-mt2712.c:418:24: note: each undeclared identifier is reported only once for each function it appears in
  418 | module_platform_driver(mt2712_rtc_driver);
      |                        ^~~~~~~~~~~~~~~~~
include/linux/platform_device.h:214:29: note: in definition of macro 'platform_driver_register'
  214 |  __platform_driver_register(drv, THIS_MODULE)
      |                             ^~~
include/linux/platform_device.h:244:2: note: in expansion of macro 'module_driver'
  244 |  module_driver(__platform_driver, platform_driver_register, \
      |  ^~~~~~~~~~~~~
drivers/rtc/rtc-mt2712.c:418:1: note: in expansion of macro 'module_platform_driver'
  418 | module_platform_driver(mt2712_rtc_driver);
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/device.h:31,
                 from include/linux/platform_device.h:13,
                 from drivers/rtc/rtc-mt2712.c:14:
drivers/rtc/rtc-mt2712.c: In function 'mt2712_rtc_driver_exit':
drivers/rtc/rtc-mt2712.c:418:24: error: 'mt2712_rtc_driver' undeclared (first use in this function); did you mean 'mt2712_rtc_probe'?
  418 | module_platform_driver(mt2712_rtc_driver);
      |                        ^~~~~~~~~~~~~~~~~
include/linux/device/driver.h:266:17: note: in definition of macro 'module_driver'
  266 |  __unregister(&(__driver) , ##__VA_ARGS__); \
      |                 ^~~~~~~~
drivers/rtc/rtc-mt2712.c:418:1: note: in expansion of macro 'module_platform_driver'
  418 | module_platform_driver(mt2712_rtc_driver);
      | ^~~~~~~~~~~~~~~~~~~~~~
drivers/rtc/rtc-mt2712.c: In function 'mt2712_rtc_driver_init':
drivers/rtc/rtc-mt2712.c:418:1: warning: control reaches end of non-void function [-Wreturn-type]
  418 | module_platform_driver(mt2712_rtc_driver);
      | ^~~~~~~~~~~~~~~~~~~~~~
At top level:
drivers/rtc/rtc-mt2712.c:312:12: warning: 'mt2712_rtc_probe' defined but not used [-Wunused-function]
  312 | static int mt2712_rtc_probe(struct platform_device *pdev)
      |            ^~~~~~~~~~~~~~~~

Caused by commit

  00c36d73171b ("rtc: add support for the MediaTek MT2712 RTC")

I have used the version from next-20200313 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2019-10-04  4:37 Stephen Rothwell
  0 siblings, 0 replies; 29+ messages in thread
From: Stephen Rothwell @ 2019-10-04  4:37 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Jinke Fan

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/rtc/rtc-mc146818-lib.c: In function 'mc146818_set_time':
drivers/rtc/rtc-mc146818-lib.c:176:6: error: 'boot_cpu_data' undeclared (first use in this function); did you mean 'bootmem_data'?
  176 |  if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
      |      ^~~~~~~~~~~~~
      |      bootmem_data
drivers/rtc/rtc-mc146818-lib.c:176:6: note: each undeclared identifier is reported only once for each function it appears in
drivers/rtc/rtc-mc146818-lib.c:176:34: error: 'X86_VENDOR_AMD' undeclared (first use in this function); did you mean 'X86_VENDOR_ANY'?
  176 |  if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
      |                                  ^~~~~~~~~~~~~~
      |                                  X86_VENDOR_ANY
drivers/rtc/rtc-mc146818-lib.c:177:34: error: 'X86_VENDOR_HYGON' undeclared (first use in this function); did you mean 'X86_VENDOR_ANY'?
  177 |      boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  X86_VENDOR_ANY

Caused by commit

  1e2c8aadedbe ("rtc: cmos: fix the AltCentury value on AMD/Hygon platform")

This driver file is built for several different architecture, but
the added code is X86 specific :-(

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2019-02-11  5:24 Stephen Rothwell
  0 siblings, 0 replies; 29+ messages in thread
From: Stephen Rothwell @ 2019-02-11  5:24 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Martin Blumenstingl, Ben Dooks

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Hi all,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "rtc_nvmem_unregister" [drivers/rtc/rtc-meson.ko] undefined!

Caused by commit

  21358403bb29 ("rtc: support for the Amlogic Meson RTC")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2019-02-08  5:55 Stephen Rothwell
  0 siblings, 0 replies; 29+ messages in thread
From: Stephen Rothwell @ 2019-02-08  5:55 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Linus Walleij

[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]

Hi Alexandre,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/rtc/rtc-x1205: struct of_device_id is 200 bytes.  The last of 1 is:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x78 0x69 0x72 0x63 0x6f 0x6d 0x2c 0x78 0x31 0x32 0x30 0x35 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
FATAL: drivers/rtc/rtc-x1205: struct of_device_id is not terminated with a NULL entry!

Caused by commit

  08bb868190c2 ("rtc: x1205: Add DT probing support")

I have used the rtc tree from next-20190207 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2017-05-31  4:33 Stephen Rothwell
  2017-05-31  5:45 ` Heiner Kallweit
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2017-05-31  4:33 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, David Lowe,
	Heiner Kallweit

Hi Alexandre,

After merging the rtc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':
drivers/rtc/rtc-ds1307.c:1410:29: error: 'struct ds1307' has no member named 'client'
   if (chip->alarm && (ds1307->client->irq > 0 ||
                             ^

Caused by commit

  345b89453dda ("rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ")

interacting with commit

  11e5890b5342 ("rtc: ds1307: convert driver to regmap")

I have used the rtc tree from next-20170530 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2016-11-08  6:41 Stephen Rothwell
  2016-11-08 22:21 ` Alexandre Belloni
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2016-11-08  6:41 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: linux-next, linux-kernel, Paul Cercueil

Hi Alexandre,

After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:


Caused by commit

  f9eb69d1ae2f ("rtc: jz4740: Add support for acting as the system power controller")

I have used the rtc tree from next-20161028 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the rtc tree
@ 2015-12-17  5:03 Stephen Rothwell
  2015-12-17 11:21 ` Alexandre Belloni
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2015-12-17  5:03 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: linux-next, linux-kernel, Sasha Levin

Hi Alexandre,

After merging the rtc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/built-in.o: In function `rtc_time64_to_tm':
sunxi_sid.c:(.text+0x366e54): undefined reference to `__aeabi_ldivmod'
sunxi_sid.c:(.text+0x366e6c): undefined reference to `__aeabi_ldivmod'

Caused by commit

  bfad4c280be0 ("rtc: fix overflow and incorrect calculation in rtc_time64_to_tm")

I have used the rtc tree from next-20151216 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

end of thread, other threads:[~2023-10-16  7:12 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10  6:04 linux-next: build failure after merge of the rtc tree Stephen Rothwell
2017-04-10  7:45 ` Hans de Goede
2017-04-11  0:22   ` Stephen Rothwell
2017-04-11  5:55     ` Alexandre Belloni
2017-04-11  7:52       ` Stephen Rothwell
2017-04-14 10:09         ` Alexandre Belloni
2017-04-14 16:33           ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2023-10-16  4:15 Stephen Rothwell
2023-10-16  4:34 ` Alexandre Belloni
2023-10-16  7:11 ` Uwe Kleine-König
2021-09-27  3:10 Stephen Rothwell
2021-09-27  7:16 ` Romain Perier
2021-08-10  5:54 Stephen Rothwell
2020-03-16  5:15 Stephen Rothwell
2020-03-16  6:58 ` Ran Bi
2020-03-16 10:31   ` Alexandre Belloni
2019-10-04  4:37 Stephen Rothwell
2019-02-11  5:24 Stephen Rothwell
2019-02-08  5:55 Stephen Rothwell
2017-05-31  4:33 Stephen Rothwell
2017-05-31  5:45 ` Heiner Kallweit
2017-05-31  7:19   ` Alexandre Belloni
2016-11-08  6:41 Stephen Rothwell
2016-11-08 22:21 ` Alexandre Belloni
2015-12-17  5:03 Stephen Rothwell
2015-12-17 11:21 ` Alexandre Belloni
2015-12-18 15:30   ` Sasha Levin
2015-12-18 16:43     ` Alexandre Belloni
2015-12-22 19:27       ` Alexandre Belloni

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).