tree:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git 
rtc-next
head:   4c6106406eb18a5aded19540c4b50d262717b959
commit: 524bc1fcaae8e2bc7d1b5a9b42588642bc3ff777 [21/27] rtc: sun6i: Add some 
locking
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 524bc1fcaae8e2bc7d1b5a9b42588642bc3ff777
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

Note: the abelloni/rtc-next HEAD 4c6106406eb18a5aded19540c4b50d262717b959 
builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from include/linux/wait.h:8:0,
                    from include/linux/fs.h:5,
                    from drivers/rtc/rtc-sun6i.c:25:
   drivers/rtc/rtc-sun6i.c: In function 'sun6i_rtc_probe':
>> drivers/rtc/rtc-sun6i.c:371:18: error: 'rtc' undeclared (first use in this 
>> function)
     spin_lock_init(&rtc->lock);
                     ^
   include/linux/spinlock.h:296:17: note: in definition of macro 
'spin_lock_init'
     spinlock_check(_lock);    \
                    ^~~~~
   drivers/rtc/rtc-sun6i.c:371:18: note: each undeclared identifier is reported 
only once for each function it appears in
     spin_lock_init(&rtc->lock);
                     ^
   include/linux/spinlock.h:296:17: note: in definition of macro 
'spin_lock_init'
     spinlock_check(_lock);    \
                    ^~~~~

vim +/rtc +371 drivers/rtc/rtc-sun6i.c

   365          struct resource *res;
   366          int ret;
   367  
   368          chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL);
   369          if (!chip)
   370                  return -ENOMEM;
 > 371          spin_lock_init(&rtc->lock);
   372  
   373          platform_set_drvdata(pdev, chip);
   374          chip->dev = &pdev->dev;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: .config.gz
Description: application/gzip

Reply via email to