Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A49DC10F13 for ; Thu, 11 Apr 2019 20:59:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02B8920850 for ; Thu, 11 Apr 2019 20:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727022AbfDKU6i (ORCPT ); Thu, 11 Apr 2019 16:58:38 -0400 Received: from mga18.intel.com ([134.134.136.126]:34689 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726577AbfDKU6i (ORCPT ); Thu, 11 Apr 2019 16:58:38 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2019 13:57:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,338,1549958400"; d="scan'208";a="139495653" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 11 Apr 2019 13:57:36 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1hEglM-0008Es-05; Fri, 12 Apr 2019 04:57:35 +0800 Date: Fri, 12 Apr 2019 04:56:48 +0800 From: kbuild test robot To: Tom Herbert Cc: kbuild-all@01.org, davem@davemloft.net, netdev@vger.kernel.org, Tom Herbert Subject: Re: [PATCH v2 net-next 3/6] exthdrs: Registration of TLV handlers and parameters Message-ID: <201904120442.4KDu1o9N%lkp@intel.com> References: <1554836993-5056-4-git-send-email-tom@quantonium.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554836993-5056-4-git-send-email-tom@quantonium.net> X-Patchwork-Hint: ignore User-Agent: Mutt/1.5.23 (2014-03-12) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Tom, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Tom-Herbert/exthdrs-Create-exthdrs_options-c/20190412-024542 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' sparse warnings: (new ones prefixed by >>) net/ipv6/exthdrs_options.c:205:30: sparse: symbol 'ipv6_tlv_param_table' redeclared with different type (originally declared at include/net/ipv6.h:418) - different address spaces >> net/ipv6/exthdrs_options.c:209:30: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct tlv_param_table *tlv_param_table @@ got struct tlv_param_struct tlv_param_table *tlv_param_table @@ net/ipv6/exthdrs_options.c:209:30: expected struct tlv_param_table *tlv_param_table net/ipv6/exthdrs_options.c:209:30: got struct tlv_param_table [noderef] * net/ipv6/exthdrs_options.c:216:23: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct tlv_param_table *tlv_param_table @@ got struct tlv_param_struct tlv_param_table *tlv_param_table @@ net/ipv6/exthdrs_options.c:216:23: expected struct tlv_param_table *tlv_param_table net/ipv6/exthdrs_options.c:216:23: got struct tlv_param_table [noderef] * vim +209 net/ipv6/exthdrs_options.c 204 > 205 struct tlv_param_table __rcu ipv6_tlv_param_table; 206 207 static int __init ipv6_exthdrs_init(void) 208 { > 209 return exthdrs_init(&ipv6_tlv_param_table, tlv_init_params, 210 ARRAY_SIZE(tlv_init_params)); 211 } 212 module_init(ipv6_exthdrs_init); 213 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation