Re: [PATCH 2/2] i2c: mux: annotate the nested rt_mutex usage

From: kbuild test robot
Date: Sat May 26 2018 - 06:25:13 EST


Hi Peter,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.17-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Peter-Rosin/rtmutex-allow-specifying-a-subclass-for-nested-locking/20180526-140421
config: i386-randconfig-s0-201820 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

WARNING: vmlinux: 'mutex_lock_nested' exported twice. Previous export was in vmlinux
>> ERROR: "rt_mutex_lock_nested" [drivers/i2c/i2c-mux.ko] undefined!
>> ERROR: "rt_mutex_lock_nested" [drivers/i2c/i2c-core.ko] undefined!

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

Attachment: .config.gz
Description: application/gzip