[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201710031550.zCVEjmBW%fengguang.wu@intel.com>
Date: Tue, 3 Oct 2017 15:46:26 +0800
From: kbuild test robot <lkp@...el.com>
To: Lin Zhang <xiaolou4617@...il.com>
Cc: kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
courmisch@...il.com, Lin Zhang <xiaolou4617@...il.com>
Subject: Re: [PATCH 1/2] net: phonet: mark header_ops as const
Hi Lin,
[auto build test ERROR on net-next/master]
[also build test ERROR on v4.14-rc3 next-20170929]
[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/Lin-Zhang/net-phonet-mark-header_ops-as-const/20171003-145726
config: x86_64-randconfig-x000-201740 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> net//phonet/af_phonet.c:152:25: error: conflicting type qualifiers for 'phonet_header_ops'
const struct header_ops phonet_header_ops = {
^~~~~~~~~~~~~~~~~
In file included from net//phonet/af_phonet.c:32:0:
include/linux/if_phonet.h:13:26: note: previous declaration of 'phonet_header_ops' was here
extern struct header_ops phonet_header_ops;
^~~~~~~~~~~~~~~~~
vim +/phonet_header_ops +152 net//phonet/af_phonet.c
151
> 152 const struct header_ops phonet_header_ops = {
153 .create = pn_header_create,
154 .parse = pn_header_parse,
155 };
156 EXPORT_SYMBOL(phonet_header_ops);
157
---
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" (27699 bytes)
Powered by blists - more mailing lists