linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org
Cc: willemb@google.com, mputtash@linux.vnet.com, fw@strlen.de,
	sachinp@linux.vnet.com, abdhalee@linux.vnet.ibm.com,
	edumazet@google.com, kuba@kernel.org, davem@davemloft.net
Subject: [Bisected] [1b4fa28a8b07] Build failure "net/core/gso_test.c"
Date: Thu, 12 Oct 2023 13:07:39 +0530	[thread overview]
Message-ID: <79fbe35c-4dd1-4f27-acb2-7a60794bc348@linux.vnet.ibm.com> (raw)

Greetings,

[net-next] [6.6-rc4] Build failure "net/core/gso_test.c"

--- Traces ---

make -j 33 -s && make modules_install && make install
net/core/gso_test.c:58:48: error: initializer element is not constant
    58 |                 .segs = (const unsigned int[]) { gso_size },
       |                                                ^
net/core/gso_test.c:58:48: note: (near initialization for ‘cases[0]’)
net/core/gso_test.c:65:48: error: initializer element is not constant
    65 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size, 1 },
       |                                                ^
net/core/gso_test.c:65:48: note: (near initialization for ‘cases[1]’)
net/core/gso_test.c:72:49: error: initializer element is not constant
    72 |                 .frags = (const unsigned int[]) { gso_size, 1 },
       |                                                 ^
net/core/gso_test.c:72:49: note: (near initialization for ‘cases[2]’)
net/core/gso_test.c:74:48: error: initializer element is not constant
    74 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size, 1 },
       |                                                ^
net/core/gso_test.c:74:48: note: (near initialization for ‘cases[2]’)
net/core/gso_test.c:80:49: error: initializer element is not constant
    80 |                 .frags = (const unsigned int[]) { gso_size, 
gso_size, 2 },
       |                                                 ^
net/core/gso_test.c:80:49: note: (near initialization for ‘cases[3]’)
net/core/gso_test.c:82:48: error: initializer element is not constant
    82 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size, 2 },
       |                                                ^
net/core/gso_test.c:82:48: note: (near initialization for ‘cases[3]’)
net/core/gso_test.c:89:49: error: initializer element is not constant
    89 |                 .frags = (const unsigned int[]) { gso_size, 3 },
       |                                                 ^
net/core/gso_test.c:89:49: note: (near initialization for ‘cases[4]’)
net/core/gso_test.c:91:48: error: initializer element is not constant
    91 |                 .segs = (const unsigned int[]) { 2 * gso_size, 3 },
       |                                                ^
net/core/gso_test.c:91:48: note: (near initialization for ‘cases[4]’)
net/core/gso_test.c:99:53: error: initializer element is not constant
    99 |                 .frag_skbs = (const unsigned int[]) { gso_size, 
gso_size },
       |                                                     ^
net/core/gso_test.c:99:53: note: (near initialization for ‘cases[5]’)
net/core/gso_test.c:101:48: error: initializer element is not constant
   101 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size, gso_size },
       |                                                ^
net/core/gso_test.c:101:48: note: (near initialization for ‘cases[5]’)
net/core/gso_test.c:107:53: error: initializer element is not constant
   107 |                 .frag_skbs = (const unsigned int[]) { gso_size, 
gso_size },
       |                                                     ^
net/core/gso_test.c:107:53: note: (near initialization for ‘cases[6]’)
net/core/gso_test.c:109:48: error: initializer element is not constant
   109 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size },
       |                                                ^
net/core/gso_test.c:109:48: note: (near initialization for ‘cases[6]’)
net/core/gso_test.c:117:53: error: initializer element is not constant
   117 |                 .frag_skbs = (const unsigned int[]) { gso_size, 
1, gso_size, 2 },
       |                                                     ^
net/core/gso_test.c:117:53: note: (near initialization for ‘cases[7]’)
net/core/gso_test.c:119:48: error: initializer element is not constant
   119 |                 .segs = (const unsigned int[]) { gso_size, 
gso_size, gso_size, 3 },
       |                                                ^
net/core/gso_test.c:119:48: note: (near initialization for ‘cases[7]’)
make[4]: *** [scripts/Makefile.build:243: net/core/gso_test.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/core] Error 2
make[3]: *** Waiting for unfinished jobs....

make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/root/net-next/Makefile:1913: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2

gitbisect points to below commit, reverting the below commit resolves 
the issue

commit 1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627
     net: parametrize skb_segment unit test to expand coverage

-- 
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center


             reply	other threads:[~2023-10-12  7:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12  7:37 Tasmiya Nalatwad [this message]
2023-10-12  9:57 ` [Bisected] [1b4fa28a8b07] Build failure "net/core/gso_test.c" Florian Westphal
2023-10-12 12:01   ` Tasmiya Nalatwad
2023-10-12 16:29   ` Kees Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79fbe35c-4dd1-4f27-acb2-7a60794bc348@linux.vnet.ibm.com \
    --to=tasmiya@linux.vnet.ibm.com \
    --cc=abdhalee@linux.vnet.ibm.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mputtash@linux.vnet.com \
    --cc=netdev@vger.kernel.org \
    --cc=sachinp@linux.vnet.com \
    --cc=willemb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).