From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.10 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796315412; b=VQpvGSuqUenEvGrHTAwgnsSK1LamH9vQSbh3b75g59EKoZqN0EEZ98ccrEhvsG2WkWPT VeDwJBQYYK6D9Eo/vYr2UYyOX28CmJ9kExW3rCls++qp+ZESwty00aMbrjxSFWI8ZQvnp mQ7qF56xC5aljmqM87Dl1B6ZkemEZIuDVKcsLhOagmM1Xk26TEnT66vizrGnY8YDnVgaa TbwJzXvMkCOjIbaud+7PPadOd5x9dO/jdOwXowWLF5xwQUYbkVI01oypVE0ftKD0eoJ9o ouI2+YbVNWoEM2pJOjnnuVodEXPX7B8QdBND5IiAHfIod1GyOO+N5SEL3oxCNPB3MVQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796315412; 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=4HMds4xE6r5D+GletoyRoIlk6iRq6bdcDV3cQ21MPV8=; b=oFf41kYLQlvtuGDqoM1E8dW8WEyygoYNaqx27D0pv5sp6u7kSlFrFaJukW4013Luq0Vv IRHGy1OyzGJBQqQOYqrShLy0jl8+dNiPM1opu9FoMoPqxC8nYuUhMnDsk3a9pUQWfJu7H fNPqnJDiUEtcAEi7FaZy2T13dl0VArn/3TQTxIZruh1aCdXEE+he3NOQboUZExnD9ng03 Los4IWqa+VqzaMoNk9mbu2I59+GHbQNHt+DWWdCjqaKkvJGnFxxR7kL/qVVrlmF5ybm5d ClVI4SssZAUFkepE7hDPJdszBXSQUA3+tLuIH8bA8k+UFHE4bdSIEL5Qbzt4Jl1cgYQ== 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="FHebT/63"; arc=none smtp.remote-ip=198.175.65.10 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 5EC17606A332 for ; Thu, 3 Dec 2026 16:30:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5EC17606A332 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=FHebT/63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796315412; x=1827851412; h=date:from:to:cc:subject:message-id; bh=4HMds4xE6r5D+GletoyRoIlk6iRq6bdcDV3cQ21MPV8=; b=FHebT/63pqTBgysD44GVZP2ZTPWFwTHA0KlgImafT9OfkCAFoDNzVxKA 830SsiWmNjbyuMgwCub3ZryYLpI6Gl9ywtKgytzoLkFhbttA1JOAaMK6P VI3HOjH+QPj4qbIZtUsDPh5t1r+uMNW5U/TLAluGUF6QTzU4SvaoBL4X+ yQ0m+2as/LtmTasVkE9NUygVI6LPISyWvPET/FwTIZlAh05r1MjGmErlL g4FbEu+MSWxrmJE3I5MrqnICBVYhJbMTNb7FhjRzizzm/miH5db0pzDyh avvMbB5ggHwejObJ+8WaHEhYsGSEQRpkZM2exhX9LHASdnOnKtLWIgQc4 A==; X-CSE-ConnectionGUID: zCb2TlIVT1uNu7KkZVvvSg== X-CSE-MsgGUID: lZuF3D4wR6OnFIY1I9tDGQ== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5218933" X-IronPort-AV: E=Sophos;i="6.29,248,1794902400"; d="scan'208";a="5218933" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 08:30:12 -0800 X-CSE-ConnectionGUID: iscxz9/2QZKKvHeVhr81og== X-CSE-MsgGUID: x2SZpIcGTliJfnXy/mWY+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,248,1794902400"; d="scan'208";a="13773958" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa006.jf.intel.com with ESMTP; 03 Dec 2026 08:30:11 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xZ9hA-000000003pI-39YQ; Thu, 03 Dec 2026 16:30:08 +0000 Date: Thu, 03 Dec 2026 17:29:25 +0100 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com Subject: drivers/s390/char/sclp_config.c:96:41: sparse: sparse: Initializer entry defined twice Message-ID: <20261203172654.vrOGMPti-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: "sparse: Initializer entry defined twice" :::::: BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: linux-kernel@vger.kernel.org TO: Heiko Carstens CC: Alexander Gordeev tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106 commit: 8587af9cff43aa114ee69b401b8ac3e2c5aea4d3 s390/sclp: Remove SCLP_OFB Kconfig option date: 7 months ago :::::: branch date: 15 hours ago :::::: commit date: 7 months ago config: s390-randconfig-r2304-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203172654.vrOGMPti-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project c81a35549c5c976f799dc394e6eaf41da1ff2f64) sparse: v0.6.5-rc1-94-g0d159c10 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203172654.vrOGMPti-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: 8587af9cff43 ("s390/sclp: Remove SCLP_OFB Kconfig option") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/r/20261203172654.vrOGMPti-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/s390/char/sclp_config.c:96:41: sparse: sparse: Initializer entry defined twice drivers/s390/char/sclp_config.c:96:41: sparse: also defined here vim +96 drivers/s390/char/sclp_config.c 2fc2d1e9ffcde78 Heiko Carstens 2007-04-27 87 c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 88 static int sclp_ofb_send_req(char *ev_data, size_t len) c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 89 { c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 90 static DEFINE_MUTEX(send_mutex); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 91 struct sclp_ofb_sccb *sccb; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 92 int rc, response; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 93 c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 94 if (len > OFB_DATA_MAX) c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 95 return -EINVAL; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 @96 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 97 if (!sccb) c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 98 return -ENOMEM; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 99 /* Setup SCCB for Control-Program Identification */ c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 100 sccb->header.length = sizeof(struct sclp_ofb_sccb); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 101 sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 102 sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 103 sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 104 memcpy(sccb->ofb_evbuf.ev_data, ev_data, len); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 105 c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 106 if (!(sclp_conf_register.sclp_receive_mask & EVTYP_CONFMGMDATA_MASK)) c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 107 pr_warn("SCLP receiver did not register to receive " c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 108 "Configuration Management Data Events.\n"); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 109 c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 110 mutex_lock(&send_mutex); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 111 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 112 mutex_unlock(&send_mutex); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 113 if (rc) c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 114 goto out; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 115 response = sccb->header.response_code; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 116 if (response != 0x0020) { c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 117 pr_err("Open for Business request failed with response code " c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 118 "0x%04x\n", response); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 119 rc = -EIO; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 120 } c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 121 out: c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 122 free_page((unsigned long)sccb); c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 123 return rc; c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 124 } c6f70d3b8a32fde Jochen Schweflinghaus 2015-11-26 125 :::::: The code at line 96 was first introduced by commit :::::: c6f70d3b8a32fdec60d3f78cb59423f056f16688 s390/sclp: add open for business support :::::: TO: Jochen Schweflinghaus :::::: CC: Martin Schwidefsky -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki