Re: [PATCH 1/2] net: netfilter: Remove typedef from "typedef struct field_t"

From: kbuild test robot
Date: Sun Mar 26 2017 - 21:26:38 EST


Hi Arushi,

[auto build test ERROR on nf-next/master]
[also build test ERROR on v4.11-rc4 next-20170324]
[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/Arushi-Singhal/net-netfilters-Remove-typedef/20170327-073013
base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All errors (new ones prefixed by >>):

In file included from net/netfilter/nf_conntrack_h323_asn1.c:147:0:
>> net/netfilter/nf_conntrack_h323_types.c:8:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:14:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:18:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ipSourceRoute_routing[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:23:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ipSourceRoute[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:32:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ipxAddress[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:38:29: error: array type has incomplete element type
static const struct field_t _TransportAddress_ip6Address[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:44:29: error: array type has incomplete element type
static const struct field_t _H221NonStandard[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:50:29: error: array type has incomplete element type
static const struct field_t _NonStandardIdentifier[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:56:29: error: array type has incomplete element type
static const struct field_t _NonStandardParameter[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:62:29: error: array type has incomplete element type
static const struct field_t _TransportAddress[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:78:29: error: array type has incomplete element type
static const struct field_t _AliasAddress[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:88:29: error: array type has incomplete element type
static const struct field_t _Setup_UUIE_sourceAddress[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:92:29: error: array type has incomplete element type
static const struct field_t _VendorIdentifier[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:98:29: error: array type has incomplete element type
static const struct field_t _GatekeeperInfo[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:103:29: error: array type has incomplete element type
static const struct field_t _H310Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:110:29: error: array type has incomplete element type
static const struct field_t _H320Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:117:29: error: array type has incomplete element type
static const struct field_t _H321Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:124:29: error: array type has incomplete element type
static const struct field_t _H322Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:131:29: error: array type has incomplete element type
static const struct field_t _H323Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:138:29: error: array type has incomplete element type
static const struct field_t _H324Caps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:145:29: error: array type has incomplete element type
static const struct field_t _VoiceCaps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:152:29: error: array type has incomplete element type
static const struct field_t _T120OnlyCaps[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:159:29: error: array type has incomplete element type
static const struct field_t _SupportedProtocols[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:174:29: error: array type has incomplete element type
static const struct field_t _GatewayInfo_protocol[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:178:29: error: array type has incomplete element type
static const struct field_t _GatewayInfo[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:185:29: error: array type has incomplete element type
static const struct field_t _McuInfo[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:191:29: error: array type has incomplete element type
static const struct field_t _TerminalInfo[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:196:29: error: array type has incomplete element type
static const struct field_t _EndpointType[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:213:29: error: array type has incomplete element type
static const struct field_t _Setup_UUIE_destinationAddress[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:217:29: error: array type has incomplete element type
static const struct field_t _Setup_UUIE_destExtraCallInfo[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:221:29: error: array type has incomplete element type
static const struct field_t _Setup_UUIE_destExtraCRV[] = { /* SEQUENCE OF */
^
net/netfilter/nf_conntrack_h323_types.c:225:29: error: array type has incomplete element type
static const struct field_t _Setup_UUIE_conferenceGoal[] = { /* CHOICE */
^
net/netfilter/nf_conntrack_h323_types.c:234:29: error: array type has incomplete element type
static const struct field_t _Q954Details[] = { /* SEQUENCE */
^
net/netfilter/nf_conntrack_h323_types.c:239:29: error: array type has incomplete element type
static const struct field_t _QseriesOptions[] = { /* SEQUENCE */

vim +8 net/netfilter/nf_conntrack_h323_types.c

d05291868 net/netfilter/nf_conntrack_h323_types.c Jing Min Zhao 2007-05-24 1 /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 2 *
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 3 * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@xxxxxxxxxxxxxxxxxxxxx>
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 4 *
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 5 * This source code is licensed under General Public License version 2.
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 6 */
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 7
905e3e8ec net/netfilter/nf_conntrack_h323_types.c Jan Engelhardt 2008-01-31 @8 static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 9 {FNAME("ip") OCTSTR, FIXD, 4, 0, DECODE,
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 10 offsetof(TransportAddress_ipAddress, ip), NULL},
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 11 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 12 };
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 13
905e3e8ec net/netfilter/nf_conntrack_h323_types.c Jan Engelhardt 2008-01-31 14 static const struct field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 15 {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
5e35941d9 net/ipv4/netfilter/ip_conntrack_helper_h323_types.c Jing Min Zhao 2006-03-20 16 };

:::::: The code at line 8 was first introduced by commit
:::::: 905e3e8ec5899ae618846c9ac6f38dd6c22e604e [NETFILTER]: nf_conntrack_h323: constify and annotate H.323 helper

:::::: TO: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip