tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI head: 20d1543a043159e7c30eeeb5e59d1d1e9a6f71dd commit: 505e2249654ef375dc5d6a570f85577ace0841e9 [27/28] rtc: rtc-cmos: Fix wake alarm breakage config: mips-randconfig-r021-20221019 compiler: mipsel-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add drm-intel git://anongit.freedesktop.org/drm-intel git fetch --no-tags drm-intel topic/core-for-CI git checkout 505e2249654ef375dc5d6a570f85577ace0841e9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/rtc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/rtc/rtc-cmos.c: In function 'cmos_platform_probe': >> drivers/rtc/rtc-cmos.c:1482:9: error: implicit declaration of function 'rtc_wake_setup'; did you mean 'cmos_wake_setup'? [-Werror=implicit-function-declaration] 1482 | rtc_wake_setup(&pdev->dev); | ^~~~~~~~~~~~~~ | cmos_wake_setup cc1: some warnings being treated as errors vim +1482 drivers/rtc/rtc-cmos.c 1457 1458 /* Platform setup should have set up an RTC device, when PNP is 1459 * unavailable ... this could happen even on (older) PCs. 1460 */ 1461 1462 static int __init cmos_platform_probe(struct platform_device *pdev) 1463 { 1464 struct resource *resource; 1465 int irq, ret; 1466 1467 cmos_of_init(pdev); 1468 cmos_wake_setup(&pdev->dev); 1469 1470 if (RTC_IOMAPPED) 1471 resource = platform_get_resource(pdev, IORESOURCE_IO, 0); 1472 else 1473 resource = platform_get_resource(pdev, IORESOURCE_MEM, 0); 1474 irq = platform_get_irq(pdev, 0); 1475 if (irq < 0) 1476 irq = -1; 1477 1478 ret = cmos_do_probe(&pdev->dev, resource, irq); 1479 if (ret) 1480 return ret; 1481 > 1482 rtc_wake_setup(&pdev->dev); 1483 1484 return 0; 1485 } 1486 -- 0-DAY CI Kernel Test Service https://01.org/lkp