tree:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git 
rtc-next
head:   686fef81a6969cd25138448d5f96b91ad8ea31db
commit: 00c36d73171b81563c9c73a5501743995a12fba6 [53/55] rtc: add support for 
the MediaTek MT2712 RTC
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 00c36d73171b81563c9c73a5501743995a12fba6
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

   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:413:10: error: 'mt2712_pm_ops' undeclared here (not 
>> in a function); did you mean 'mt2712_rtc_ops'?
     413 |   .pm = &mt2712_pm_ops,
         |          ^~~~~~~~~~~~~
         |          mt2712_rtc_ops

vim +413 drivers/rtc/rtc-mt2712.c

   408  
   409  static struct platform_driver mt2712_rtc_driver = {
   410          .driver = {
   411                  .name = "mt2712-rtc",
   412                  .of_match_table = mt2712_rtc_of_match,
 > 413                  .pm = &mt2712_pm_ops,
   414          },
   415          .probe  = mt2712_rtc_probe,
   416  };
   417  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups 
"rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rtc-linux+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rtc-linux/202003161716.SZoi1fS0%25lkp%40intel.com.

Attachment: .config.gz
Description: application/gzip

Reply via email to