From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796050817; b=3rf5URifEPMq4aHZGqWTS0d0w7iGetQFcmUVIqkbFEwkfr6ubA1fQFZYn3sZrUyOtOfI idNtwmDcWHkO63VCEibRLku6AvBsHp07yWdcHrrYtpjzsuFmAfnw9RlU7QusH2YbqSpZV /WsiQFI/VWjAlscq/q1KZIZfSyTUUQHrOrTrxjcs9/qp3KaR/ycAL7JOZjNuvU0Fgx33d R5wQ3SDw45ZBP3nwS5GXxWRUyISXPsEeBE+59FfojIPA/rfSRIFIMGY+gzNSJWxU0LzpZ bqQktR9UK7vsXSGJ9c0QfinXlD6yiiOebM9HfKe2O7uKRQU2lEzqpc+XvfEu4DMRbAA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796050817; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=dzw0CQHZS1U15RFQ7htII316fIEQHVDz501KHIRPtNc=; b=OUzpwmWlX4F0BE0tbKFJus6OYQqpivSsFmY/9ZuC/fWC6uCjpPv4vHEmHol+CX/JtP/8 nXaIOl4NMOzZBo7/09HQSOaGCS43gNaGSLHv8jLIhEAo9oldqHcXRE9nJi6zWuVAXedV9 djjz7MyUzH54xi1EMvK9vILLSAlqLZxTG4kquKvt5q7/YSF1Yed7CCR+mYUSEhMF8k6Z1 XqVfyTheg0+rD0ThBYa8UYJMaQ2AQu53mGvlV1IeK+OWea0ud8qWARSjz9jQxM+ouUL66 fWQzV1eu++ZOFqIeMIzOpKfUlva/Y/GxqRxtRW6FkQ62K84Xiv2wmAuMD153mQEyTag== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=b+pL0UFu; arc=none smtp.remote-ip=192.198.163.13 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BE66606A320 for ; Mon, 30 Nov 2026 15:00:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5BE66606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=b+pL0UFu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796050817; x=1827586817; h=date:from:to:cc:subject:message-id; bh=dzw0CQHZS1U15RFQ7htII316fIEQHVDz501KHIRPtNc=; b=b+pL0UFugZdq8U9lt0Fi01mz6YuyMOssNz4YY1Yp1Wa/2RD6+0OQkDOt XmqM40P2DZyiGmniZsGFD2ZmggSucM0hHyBOiWeT84wGccMCzh2DzINOS ii/5WbUfg42OqWB69QujDDeDLxR/XmWXdpR5xyNZKG8N26enHsfFda9no 2/IutDEgYpeGFrEvRvORu92i8KELEupaMI0jC214yKZJw6WRCJVTUtBCQ kEo8ymUgU7Vs/32LfOIjefsXrswjls1aX4PxYE/3lfcM+t0vawirmYpVb ZAus8tSKJlzPkpbL0lCAdfLnDJGNcnAluSBLEHgsRicKA7dh3yvhOS2PD A==; X-CSE-ConnectionGUID: wJ/dMr3KRo+5If74WXideg== X-CSE-MsgGUID: im8zgUjsTl+r2T9qoiL3Rw== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4847852" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4847852" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 07:00:16 -0800 X-CSE-ConnectionGUID: elJrcmI4Q0CUxXXYJh06zQ== X-CSE-MsgGUID: B+n5ivmtT4GCbCON/2kefQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="13284812" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by fmviesa006.fm.intel.com with ESMTP; 30 Nov 2026 07:00:15 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xY2rU-000000001OE-1rUm; Mon, 30 Nov 2026 15:00:12 +0000 Date: Mon, 30 Nov 2026 15:59:13 +0100 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com Subject: drivers/mtd/spi-nor/sst.c:280:9: sparse: warning: Initializer entry defined twice Message-ID: <20261130155016.yR2ECYzb-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list :::::: :::::: Manual check reason: "low confidence static check warning: drivers/mtd/spi-nor/sst.c:280:9: sparse: warning: Initializer entry defined twice" :::::: BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: linux-kernel@vger.kernel.org TO: Miquel Raynal CC: Michael Walle tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fe6ff8d5d675c01793b9f051d16055dd4aa75244 commit: af9bc9f9c5dcbc1a351ac00d9a4b86400bc442b8 mtd: spi-nor: Create the concept of fixup table with match function date: 3 months ago :::::: branch date: 17 hours ago :::::: commit date: 3 months ago config: x86_64-randconfig-2302-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130155016.yR2ECYzb-lkp@intel.com/config) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) sparse: v0.6.5-rc1-94-g0d159c10 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130155016.yR2ECYzb-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 | Fixes: af9bc9f9c5dc ("mtd: spi-nor: Create the concept of fixup table with match function") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/r/20261130155016.yR2ECYzb-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/mtd/spi-nor/sst.c:280:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/sst.c:281:9: sparse: also defined here -- >> drivers/mtd/spi-nor/macronix.c:354:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/macronix.c:355:9: sparse: also defined here -- >> drivers/mtd/spi-nor/issi.c:147:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/issi.c:148:9: sparse: also defined here -- >> drivers/mtd/spi-nor/micron-st.c:663:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/micron-st.c:664:9: sparse: also defined here drivers/mtd/spi-nor/micron-st.c:670:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/micron-st.c:671:9: sparse: also defined here -- >> drivers/mtd/spi-nor/winbond.c:552:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/winbond.c:553:9: sparse: also defined here -- >> drivers/mtd/spi-nor/spansion.c:1159:9: sparse: warning: Initializer entry defined twice drivers/mtd/spi-nor/spansion.c:1160:9: sparse: also defined here vim +280 drivers/mtd/spi-nor/sst.c c53b3f92b405d6 Boris Brezillon 2020-03-13 278 af9bc9f9c5dcbc Miquel Raynal 2026-09-04 279 static const struct spi_nor_fixup sst_fixups[] = { af9bc9f9c5dcbc Miquel Raynal 2026-09-04 @280 { .fixups = &sst_nor_fixups }, af9bc9f9c5dcbc Miquel Raynal 2026-09-04 281 { .id = SNOR_ID(0xbf, 0x26, 0x42), .fixups = &sst26vf_nor_fixups }, af9bc9f9c5dcbc Miquel Raynal 2026-09-04 282 { .id = SNOR_ID(0xbf, 0x26, 0x43), .fixups = &sst26vf_nor_fixups }, af9bc9f9c5dcbc Miquel Raynal 2026-09-04 283 }; af9bc9f9c5dcbc Miquel Raynal 2026-09-04 284 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki