lkml.org 
[lkml]   [2015]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[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?
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


\
 
 \ /
  Last update: 2015-05-26 10:41    [W:0.055 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site