Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 2 Dec 2018 16:37:25 +0800
From: kbuild test robot <lkp@...el.com>
To: Alexander Popov <alex.popov@...ux.com>
Cc: kbuild-all@...org, kernel-hardening@...ts.openwall.com,
	Kees Cook <keescook@...omium.org>, Jann Horn <jannh@...gle.com>,
	Andy Lutomirski <luto@...nel.org>, Borislav Petkov <bp@...en8.de>,
	Thomas Gleixner <tglx@...utronix.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Masami Hiramatsu <mhiramat@...nel.org>,
	Florian Weimer <fweimer@...hat.com>,
	Richard Sandiford <richard.sandiford@....com>,
	Segher Boessenkool <segher@...nel.crashing.org>,
	Alexander Monakov <amonakov@...ras.ru>,
	Tycho Andersen <tycho@...ho.ws>, Laura Abbott <labbott@...hat.com>,
	Mark Rutland <mark.rutland@....com>,
	Emese Revfy <re.emese@...il.com>,
	Thomas Garnier <thgarnie@...gle.com>,
	Ingo Molnar <mingo@...nel.org>, Will Deacon <will.deacon@....com>,
	Alexei Starovoitov <ast@...nel.org>,
	Ard Biesheuvel <ard.biesheuvel@...aro.org>,
	H Peter Anvin <hpa@...or.com>, David S Miller <davem@...emloft.net>,
	linux-arm-kernel@...ts.infradead.org, gcc@....gnu.org,
	alex.popov@...ux.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] stackleak: Register the 'stackleak_cleanup' pass
 before the 'mach' pass

Hi Alexander,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc4 next-20181130]
[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/Alexander-Popov/stackleak-Register-the-stackleak_cleanup-pass-before-the-mach-pass/20181201-092818
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/scsi/fnic/fnic_fcs.c:38:37: error: invalid initializer
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   drivers/scsi/fnic/cq_enet_desc.h:142:39: warning: restricted __le16 degrades to integer
   include/scsi/fc/fc_fcoe.h:101:36: warning: cast truncates bits from constant value (efc becomes fc)
   include/scsi/fc/fc_fcoe.h:102:23: warning: cast truncates bits from constant value (efc00 becomes 0)
   drivers/scsi/fnic/fnic_fcs.c:1316:6: warning: context imbalance in 'fnic_handle_fip_timer' - different lock contexts for basic block
--
   drivers/soc/qcom/smem.c:413:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:413:16:    expected struct smem_header *header
   drivers/soc/qcom/smem.c:413:16:    got void [noderef] <asn:2>*virt_base
   drivers/soc/qcom/smem.c:498:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:498:16:    expected struct smem_header *header
   drivers/soc/qcom/smem.c:498:16:    got void [noderef] <asn:2>*virt_base
   drivers/soc/qcom/smem.c:511:50: warning: incorrect type in return expression (different address spaces)
   drivers/soc/qcom/smem.c:511:50:    expected void *
   drivers/soc/qcom/smem.c:511:50:    got void [noderef] <asn:2>*
   drivers/soc/qcom/smem.c:646:24: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:646:24:    expected struct smem_header *header
   drivers/soc/qcom/smem.c:646:24:    got void [noderef] <asn:2>*virt_base
>> drivers/soc/qcom/smem.c:668:23: error: incompatible types in comparison expression (different address spaces)
   drivers/soc/qcom/smem.c:670:23: error: incompatible types in comparison expression (different address spaces)
>> drivers/soc/qcom/smem.c:671:40: error: subtraction of different types can't work (different address spaces)
   drivers/soc/qcom/smem.c:686:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:686:16:    expected struct smem_header *header
   drivers/soc/qcom/smem.c:686:16:    got void [noderef] <asn:2>*virt_base
   drivers/soc/qcom/smem.c:697:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:697:16:    expected struct smem_ptable *ptable
   drivers/soc/qcom/smem.c:697:16:    got void [noderef] <asn:2>*
   drivers/soc/qcom/smem.c:719:57: warning: restricted __le32 degrades to integer
   drivers/soc/qcom/smem.c:738:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:738:16:    expected struct smem_partition_header *header
   drivers/soc/qcom/smem.c:738:16:    got void [noderef] <asn:2>*
   drivers/soc/qcom/smem.c:933:16: warning: incorrect type in assignment (different address spaces)
   drivers/soc/qcom/smem.c:933:16:    expected struct smem_header *header
   drivers/soc/qcom/smem.c:933:16:    got void [noderef] <asn:2>*virt_base
--
   kernel//trace/ftrace.c:1073:43:    expected struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1073:43:    got struct ftrace_hash *<noident>
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:1295:40: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1295:40:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1295:40:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1296:40: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1296:40:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1296:40:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:1957:54: warning: incorrect type in initializer (different address spaces)
   kernel//trace/ftrace.c:1957:54:    expected struct ftrace_hash *old_hash
   kernel//trace/ftrace.c:1957:54:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1488:39: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1488:39:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1488:39:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1489:40: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1489:40:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1489:40:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1490:40: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1490:40:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1490:40:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:1491:42: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:1491:42:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1491:42:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:1635:18: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1635:18:    expected struct ftrace_ops *ops
   kernel//trace/ftrace.c:1635:18:    got struct ftrace_ops [noderef] <asn:4>*static [addressable] [toplevel] ftrace_ops_list
   kernel//trace/ftrace.c:1636:43: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1636:43:    expected struct ftrace_ops *ops
   kernel//trace/ftrace.c:1636:43:    got struct ftrace_ops [noderef] <asn:4>*next
   kernel//trace/ftrace.c:1677:22: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1677:22:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1677:22:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1678:28: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1678:28:    expected struct ftrace_hash *other_hash
   kernel//trace/ftrace.c:1678:28:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:1683:22: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1683:22:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1683:22:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:1684:28: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:1684:28:    expected struct ftrace_hash *other_hash
   kernel//trace/ftrace.c:1684:28:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1935:50: warning: incorrect type in initializer (different address spaces)
   kernel//trace/ftrace.c:1935:50:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1935:50:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:1946:50: warning: incorrect type in initializer (different address spaces)
   kernel//trace/ftrace.c:1946:50:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:1946:50:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:2661:13: warning: symbol 'arch_ftrace_trampoline_free' was not declared. Should it be static?
   kernel//trace/ftrace.c:3020:24: warning: Using plain integer as NULL pointer
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:3112:14: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3112:14:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:3112:14:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:3121:22: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3121:22:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:3121:22:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:3415:6: warning: symbol 'arch_ftrace_trampoline_func' was not declared. Should it be static?
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:3573:22: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3573:22:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:3573:22:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:3576:22: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3576:22:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:3576:22:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:3654:6: warning: symbol 'arch_ftrace_match_adjust' was not declared. Should it be static?
   kernel//trace/ftrace.c:3940:27: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3940:27:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:3940:27:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:3942:27: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:3942:27:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:3942:27:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:4307:19: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4307:19:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4307:19:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:4444:19: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4444:19:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4444:19:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:4450:34: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4450:34:    expected struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:4450:34:    got struct ftrace_hash *[assigned] old_hash
   kernel//trace/ftrace.c:4702:27: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4702:27:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4702:27:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:4704:27: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4704:27:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4704:27:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:4741:37: warning: Using plain integer as NULL pointer
   kernel//trace/ftrace.c:4988:35: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4988:35:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4988:35:    got struct ftrace_hash [noderef] <asn:4>**<noident>
   kernel//trace/ftrace.c:4992:35: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:4992:35:    expected struct ftrace_hash **orig_hash
   kernel//trace/ftrace.c:4992:35:    got struct ftrace_hash [noderef] <asn:4>**<noident>
>> kernel//trace/ftrace.c:5109:29: error: incompatible types in comparison expression (different address spaces)
   kernel//trace/ftrace.c:5112:29: error: incompatible types in comparison expression (different address spaces)
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:5226:21: error: incompatible types in comparison expression (different address spaces)
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:5254:21: error: incompatible types in comparison expression (different address spaces)
   kernel//trace/ftrace.c:5305:36: error: incompatible types in comparison expression (different address spaces)
   kernel//trace/ftrace.c:5309:36: error: incompatible types in comparison expression (different address spaces)
   kernel//trace/ftrace.c:5628:18: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:5628:18:    expected struct ftrace_ops *ops
   kernel//trace/ftrace.c:5628:18:    got struct ftrace_ops [noderef] <asn:4>*static [addressable] [toplevel] ftrace_ops_list
   kernel//trace/ftrace.c:2884:48: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:2884:48:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:2884:48:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:2885:49: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:2885:49:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:2885:49:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:2907:46: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:2907:46:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:2907:46:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:2908:47: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:2908:47:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:2908:47:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:2912:44: warning: incorrect type in argument 1 (different address spaces)
   kernel//trace/ftrace.c:2912:44:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:2912:44:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   kernel//trace/ftrace.c:5628:66: warning: incorrect type in assignment (different address spaces)
   kernel//trace/ftrace.c:5628:66:    expected struct ftrace_ops *ops
   kernel//trace/ftrace.c:5628:66:    got struct ftrace_ops [noderef] <asn:4>*next
   kernel//trace/ftrace.c:5669:59: warning: incorrect type in argument 2 (different address spaces)
   kernel//trace/ftrace.c:5669:59:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:5669:59:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:5670:59: warning: incorrect type in argument 2 (different address spaces)
   kernel//trace/ftrace.c:5670:59:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:5670:59:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:6027:62: warning: incorrect type in argument 2 (different address spaces)
   kernel//trace/ftrace.c:6027:62:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:6027:62:    got struct ftrace_hash [noderef] <asn:4>*filter_hash
   kernel//trace/ftrace.c:6028:62: warning: incorrect type in argument 2 (different address spaces)
   kernel//trace/ftrace.c:6028:62:    expected struct ftrace_hash *hash
   kernel//trace/ftrace.c:6028:62:    got struct ftrace_hash [noderef] <asn:4>*notrace_hash
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:6074:36: error: incompatible types in comparison expression (different address spaces)
   kernel//trace/ftrace.c:6163:13: warning: symbol 'arch_ftrace_update_trampoline' was not declared. Should it be static?
   kernel//trace/ftrace.c:6774:5: warning: symbol 'ftrace_graph_entry_stub' was not declared. Should it be static?
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   kernel//trace/ftrace.c:235:20: warning: dereference of noderef expression
   kernel//trace/ftrace.c:235:20: warning: dereference of noderef expression
   kernel//trace/ftrace.c:235:20: warning: dereference of noderef expression
--
>> net/ipv4/netfilter/nf_nat_snmp_basic_main.c:223:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_snmp_basic_main.c:230:9: error: incompatible types in comparison expression (different address spaces)
--
>> net/ipv4/netfilter/nf_nat_h323.c:596:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:597:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:598:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:599:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:600:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:601:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:602:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:603:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:604:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:613:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:614:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:615:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:616:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:617:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:618:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:619:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:620:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_h323.c:621:9: error: incompatible types in comparison expression (different address spaces)
--
>> net/ipv4/netfilter/nf_nat_pptp.c:305:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:308:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:311:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:314:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:320:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:321:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:322:9: error: incompatible types in comparison expression (different address spaces)
   net/ipv4/netfilter/nf_nat_pptp.c:323:9: error: incompatible types in comparison expression (different address spaces)
--
>> include/linux/rculist_bl.h:24:33: error: incompatible types in comparison expression (different address spaces)
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   include/linux/slab.h:332:43: warning: dubious: x & !y
   fs//gfs2/quota.c:315:9: warning: context imbalance in 'qd_put' - unexpected unlock
--
>> net/xfrm/xfrm_input.c:74:21: error: incompatible types in comparison expression (different address spaces)
   net/xfrm/xfrm_input.c:96:9: warning: context imbalance in 'xfrm_input_get_afinfo' - different lock contexts for basic block
   include/linux/rcupdate.h:659:9: warning: context imbalance in 'xfrm_rcv_cb' - unexpected unlock
--
>> include/net/xfrm.h:1806:16: error: incompatible types in comparison expression (different address spaces)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:826:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:835:42: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:835:42:    expected struct xfrm_state [noderef] <asn:4>*x
   net/xfrm/xfrm_state.c:835:42:    got struct xfrm_state *[assigned] x
   net/xfrm/xfrm_state.c:52:39: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:52:39:    expected struct refcount_struct [usertype] *r
   net/xfrm/xfrm_state.c:52:39:    got struct refcount_struct [noderef] <asn:4>*<noident>
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:851:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:860:42: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:860:42:    expected struct xfrm_state [noderef] <asn:4>*x
   net/xfrm/xfrm_state.c:860:42:    got struct xfrm_state *[assigned] x
   net/xfrm/xfrm_state.c:52:39: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:52:39:    expected struct refcount_struct [usertype] *r
   net/xfrm/xfrm_state.c:52:39:    got struct refcount_struct [noderef] <asn:4>*<noident>
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:953:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:970:9: warning: cast removes address space of expression (<asn:4>)
   net/xfrm/xfrm_state.c:1028:77: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1028:77:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1028:77:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1030:77: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1030:77:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1030:77:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1033:85: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1033:85:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1033:85:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1049:42: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:1049:42:    expected struct xfrm_state [noderef] <asn:4>*x
   net/xfrm/xfrm_state.c:1049:42:    got struct xfrm_state *[assigned] x
   net/xfrm/xfrm_state.c:52:39: warning: incorrect type in argument 1 (different address spaces)
   net/xfrm/xfrm_state.c:52:39:    expected struct refcount_struct [usertype] *r
   net/xfrm/xfrm_state.c:52:39:    got struct refcount_struct [noderef] <asn:4>*<noident>
   net/xfrm/xfrm_state.c:1136:61: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1136:61:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1136:61:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1139:61: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1139:61:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1139:61:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1145:69: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1145:69:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1145:69:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1257:69: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1257:69:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1257:69:    got struct hlist_head [noderef] <asn:4>*
   net/xfrm/xfrm_state.c:1259:69: warning: incorrect type in argument 2 (different address spaces)
   net/xfrm/xfrm_state.c:1259:69:    expected struct hlist_head *h
   net/xfrm/xfrm_state.c:1259:69:    got struct hlist_head [noderef] <asn:4>*
   include/linux/slab.h:332:43: warning: dubious: x & !y
   net/xfrm/xfrm_state.c:1814:69: warning: incorrect type in argument 2 (different address spaces)
..

vim +38 drivers/scsi/fnic/fnic_fcs.c

5df6d737d Abhijeet Joglekar 2009-04-17  37  
86001f248 Hiral Shah        2014-05-02 @38  static u8 fcoe_all_fcfs[ETH_ALEN] = FIP_ALL_FCF_MACS;
d3c995f1d Hiral Patel       2013-02-25  39  struct workqueue_struct *fnic_fip_queue;
5df6d737d Abhijeet Joglekar 2009-04-17  40  struct workqueue_struct *fnic_event_queue;
5df6d737d Abhijeet Joglekar 2009-04-17  41  

:::::: The code at line 38 was first introduced by commit
:::::: 86001f248e943b7b22c22b50151ffaee9447df2d fnic: assign FIP_ALL_FCF_MACS to fcoe_all_fcfs

:::::: TO: Hiral Shah <hishah@...co.com>
:::::: CC: Christoph Hellwig <hch@....de>

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

Download attachment ".config.gz" of type "application/gzip" (66640 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.