From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10998CDB482 for ; Thu, 19 Oct 2023 19:27:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 95D33800AF; Thu, 19 Oct 2023 15:27:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 903A78D001A; Thu, 19 Oct 2023 15:27:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7AF48800AF; Thu, 19 Oct 2023 15:27:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 6ADF78D001A for ; Thu, 19 Oct 2023 15:27:33 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 3D1091CBE8A for ; Thu, 19 Oct 2023 19:27:33 +0000 (UTC) X-FDA: 81363195186.02.4106CEF Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by imf21.hostedemail.com (Postfix) with ESMTP id F0B351C0009 for ; Thu, 19 Oct 2023 19:27:30 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Dk3GiFfR; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697743651; a=rsa-sha256; cv=none; b=YZJrFHzD2n0jT5d1hkVvvpNfRAOXp0wrW9hq8V8G/ncbK3hPq78nkuuaOe457SzjgJj3FO LFkfWHFLw/8vy+9vuHrjQBkvyso9juO+8OwVS8RUrKrl8eLD9+Jm2ceC5+71Z55OZf/ANR 2FjhECZmcha0Lh1887UcUVIfRuTK+a0= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Dk3GiFfR; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1697743651; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=NHGlXxSRjYf+Q0HUz6AMwlLm4RK6ucsfRQkYbq4KFJ0=; b=f7kqAJ8HAyDHlQrPgyYSQhKgsXN5yGYx+3dVaCkJIVzpRm/CVTG4zhZ+MlQFvOw5ncJTnl ebxIJCaJhLzvLw6wpeVpuXlRnAUSMfmn2D2XZKbuwtwXtWj6oHwfQhREYDiTKL17RXc97b 6tWGpsGJ6y6zoMUl+vnLiklMrhzsLT8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697743651; x=1729279651; h=date:from:to:cc:subject:message-id:mime-version; bh=7XprC7XmJl/59bmG+J1zPFIoP4DSk0T/QLvDSbRTjb0=; b=Dk3GiFfRmuLU2ZmS4XbTGYKaf5bly7H4b/CeeKI4Glen7+UBAQfL/BV7 fxZBNTgvNXewYPCyXHK9GdPqaPJzzpvV2AumayG3P75lUdcAOyd2QVBWA Hryk4kHThX8IddNMBC4k4VdfeCOUm2gAUPmC5uzhx7sOBUMnGfq+YtvM+ NF+/PNAHf6UEc42EWf8wxkl2pcat0R6y/DbYZnc3XmCFv76PBLoYfPyph dMJ1v13mx9rT1u0aLUf8bnJ9j1zBxQh4659x6zAW9J4zxs1Yr5qAJJ79k 6TxGecO3OsoRPgFvw7ysEJYgztdJAKEqczQpZgZAFNG6bOldonUZFTeF0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="417467650" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="417467650" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 12:27:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="873616368" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="873616368" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 19 Oct 2023 12:27:26 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qtYg0-0002Vi-1C; Thu, 19 Oct 2023 19:27:24 +0000 Date: Fri, 20 Oct 2023 03:26:39 +0800 From: kernel test robot To: Willem de Bruijn Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Florian Westphal Subject: [linux-next:master 10512/13518] net/core/gso_test.c:52:34: error: initializer element is not constant Message-ID: <202310200345.b3Y2A2k0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: F0B351C0009 X-Stat-Signature: r4k9jufas8namnwm8a1wttpkrdghq7qg X-HE-Tag: 1697743650-603342 X-HE-Meta: U2FsdGVkX1/sfHGjIx7nJS/9v5qr+bPV3tWNsjiF1c63BsCag6PQ0ROYcgUZckvIW8DlpVUywFqYiJ0awuOXvAgKXFQRZ5Ko0rf4dDvGTa4ZH2JeUseETNh/hBPbZEIzjLPC0n//ifxFaor+6yp+IQcDj5GAvSDuQQty1iIKn4VttcVaMNroNkJ+mTSPTxzd+sJ3LdGS7CB7iOqLmF2pu53fDv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FnbkJkOBLAtudNRQhSFYW69A9HY4Gg9vHNMOnnFxMmqG67guWQwnrr+RDkKgAL X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4230ea146b1e64628f11e44290bb4008e391bc24 commit: 1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627 [10512/13518] net: parametrize skb_segment unit test to expand coverage config: x86_64-randconfig-071-20231020 (https://download.01.org/0day-ci/archive/20231020/202310200345.b3Y2A2k0-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231020/202310200345.b3Y2A2k0-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310200345.b3Y2A2k0-lkp@intel.com/ Note: the linux-next/master HEAD 4230ea146b1e64628f11e44290bb4008e391bc24 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> net/core/gso_test.c:52:34: error: initializer element is not constant 52 | .segs = (const unsigned int[]) { gso_size }, | ^ net/core/gso_test.c:52:34: note: (near initialization for 'cases[0]') net/core/gso_test.c:59:34: error: initializer element is not constant 59 | .segs = (const unsigned int[]) { gso_size, gso_size, 1 }, | ^ net/core/gso_test.c:59:34: note: (near initialization for 'cases[1]') net/core/gso_test.c:66:35: error: initializer element is not constant 66 | .frags = (const unsigned int[]) { gso_size, 1 }, | ^ net/core/gso_test.c:66:35: note: (near initialization for 'cases[2]') net/core/gso_test.c:68:34: error: initializer element is not constant 68 | .segs = (const unsigned int[]) { gso_size, gso_size, 1 }, | ^ net/core/gso_test.c:68:34: note: (near initialization for 'cases[2]') net/core/gso_test.c:74:35: error: initializer element is not constant 74 | .frags = (const unsigned int[]) { gso_size, gso_size, 2 }, | ^ net/core/gso_test.c:74:35: note: (near initialization for 'cases[3]') net/core/gso_test.c:76:34: error: initializer element is not constant 76 | .segs = (const unsigned int[]) { gso_size, gso_size, 2 }, | ^ net/core/gso_test.c:76:34: note: (near initialization for 'cases[3]') net/core/gso_test.c:83:35: error: initializer element is not constant 83 | .frags = (const unsigned int[]) { gso_size, 3 }, | ^ net/core/gso_test.c:83:35: note: (near initialization for 'cases[4]') net/core/gso_test.c:85:34: error: initializer element is not constant 85 | .segs = (const unsigned int[]) { 2 * gso_size, 3 }, | ^ net/core/gso_test.c:85:34: note: (near initialization for 'cases[4]') vim +52 net/core/gso_test.c 45 46 static struct gso_test_case cases[] = { 47 { 48 .id = GSO_TEST_NO_GSO, 49 .name = "no_gso", 50 .linear_len = gso_size, 51 .nr_segs = 1, > 52 .segs = (const unsigned int[]) { gso_size }, 53 }, 54 { 55 .id = GSO_TEST_LINEAR, 56 .name = "linear", 57 .linear_len = gso_size + gso_size + 1, 58 .nr_segs = 3, 59 .segs = (const unsigned int[]) { gso_size, gso_size, 1 }, 60 }, 61 { 62 .id = GSO_TEST_FRAGS, 63 .name = "frags", 64 .linear_len = gso_size, 65 .nr_frags = 2, 66 .frags = (const unsigned int[]) { gso_size, 1 }, 67 .nr_segs = 3, 68 .segs = (const unsigned int[]) { gso_size, gso_size, 1 }, 69 }, 70 { 71 .id = GSO_TEST_FRAGS_PURE, 72 .name = "frags_pure", 73 .nr_frags = 3, 74 .frags = (const unsigned int[]) { gso_size, gso_size, 2 }, 75 .nr_segs = 3, 76 .segs = (const unsigned int[]) { gso_size, gso_size, 2 }, 77 }, 78 { 79 .id = GSO_TEST_GSO_PARTIAL, 80 .name = "gso_partial", 81 .linear_len = gso_size, 82 .nr_frags = 2, 83 .frags = (const unsigned int[]) { gso_size, 3 }, 84 .nr_segs = 2, 85 .segs = (const unsigned int[]) { 2 * gso_size, 3 }, 86 }, 87 }; 88 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki