[target:for-next 53/60] drivers/target/target_core_device.c:652:6: sparse: symbol 'se_dev_check_wce' was not declared. Should it be static?

From: kbuild test robot
Date: Tue May 26 2015 - 04:13:51 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next
head: 9cfc3ea41c4f9db514a7fdde9b77657b5aeaa46c
commit: 9c10e8080d9ac17ec5b0b9f7da1a5dd31215ef5e [53/60] target: simplify backend attribute implementation
reproduce:
# apt-get install sparse
git checkout 9c10e8080d9ac17ec5b0b9f7da1a5dd31215ef5e
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

drivers/target/target_core_device.c:249:38: sparse: incorrect type in initializer (different address spaces)
drivers/target/target_core_device.c:249:38: expected struct se_lun *lun
drivers/target/target_core_device.c:249:38: got struct se_lun [noderef] <asn:4>*_________p1
drivers/target/target_core_device.c:339:43: sparse: incorrect type in initializer (different address spaces)
drivers/target/target_core_device.c:339:43: expected struct se_lun *orig_lun
drivers/target/target_core_device.c:339:43: got struct se_lun [noderef] <asn:4>*_________p1
drivers/target/target_core_device.c:445:50: sparse: incorrect type in initializer (different address spaces)
drivers/target/target_core_device.c:445:50: expected struct se_lun *tmp_lun
drivers/target/target_core_device.c:445:50: got struct se_lun [noderef] <asn:4>*_________p1
>> drivers/target/target_core_device.c:652:6: sparse: symbol 'se_dev_check_wce' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/