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 D28F7C47077 for ; Tue, 16 Jan 2024 22:55:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 500616B00B5; Tue, 16 Jan 2024 17:55:46 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4B02A6B00B6; Tue, 16 Jan 2024 17:55:46 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 39EDB6B00B7; Tue, 16 Jan 2024 17:55:46 -0500 (EST) 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 223316B00B5 for ; Tue, 16 Jan 2024 17:55:46 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E38A21A0B7C for ; Tue, 16 Jan 2024 22:55:45 +0000 (UTC) X-FDA: 81686683050.20.2D1AF4D Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf06.hostedemail.com (Postfix) with ESMTP id C8A0A18000F for ; Tue, 16 Jan 2024 22:55:43 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=uLGsK5J+; spf=pass (imf06.hostedemail.com: domain of nathan@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705445744; 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:in-reply-to:references:references:dkim-signature; bh=u7rJutbszVp6MeZ2jLvoqiAr44ilSdaG5AmwlgNIQb8=; b=jv0SfnbZn9ANu6555XdFIihMRm3FNT200uiNYtmDYmYHe5AD+WqudXkKnJJ387Fdvqxcqv T4NBWp531WrsXPetLSSV7dqJPupHf4U7w7daUXQucnutT6dZqZjvgR/jZvW0enQffaCyaW bXVv/0F9t4WbSkDQDNbJ2xuMIzYwDlU= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705445744; a=rsa-sha256; cv=none; b=tiAsT5Mwt4Kvb+n0Rz/CAneM/1s/B4cEJDYfTnWIxlDE5fN57546OXQhaAlCWTXh8er2vz Nub+rHIm0hIzBotqDz6qGnbYPSHljlhD2urP72NqtlxX3dGJAhhw+3vpGdRMqo46iMz+T+ VnFLLUcFoNNKbXmjL5ETJFFjFfVpGV0= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=uLGsK5J+; spf=pass (imf06.hostedemail.com: domain of nathan@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 5DFA2CE02C1; Tue, 16 Jan 2024 22:55:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 445C7C433F1; Tue, 16 Jan 2024 22:55:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705445738; bh=71axzYVePkdOhXMyOm7/PfyST3HfK/W4XQ2iKAJiU0s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uLGsK5J+EP+401FSdThFWDtXa1RvlnNZRWk8bybGaNlA8eOPFr/thZBeSr7cyvV18 CVUCSl5fQeyaIK/0XLCKar8Up6SjXQEiJbK+s7DZkAHap/kZsRkZO8NRYvyVRjd/hn I3btsF6mhppjjjWDTgPxG/qx4+tGAFqE2hNpR70VRTHaIV92AkQMWL+f/ep81BPC5e 1XdFB/YFrG4hmRfTLD/pk+RsFFSOVMfJCn3wkGPI55ICwNVrq0HZ3d2gnQAhwkyD94 3ouQrx7i2vILyFrFEbzlaVmde8pKtFY+n7QL9F5wFD6yObxSc0m1phRNcaXRaWOPsZ 4jkcvksR4VuEQ== Date: Tue, 16 Jan 2024 15:55:36 -0700 From: Nathan Chancellor To: Yury Norov , Andrew Morton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , kernel test robot Subject: Re: [akpm-mm:mm-nonmm-unstable 22/23] lib/group_cpus.c:352:16: error: array initializer must be an initializer list Message-ID: <20240116225536.GA3108998@dev-arch.thelio-3990X> References: <202401140117.pwAcsXAT-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202401140117.pwAcsXAT-lkp@intel.com> X-Rspamd-Queue-Id: C8A0A18000F X-Rspam-User: X-Stat-Signature: ht6itb4ezmzikw3y4ps7i38sor8d4zpq X-Rspamd-Server: rspam03 X-HE-Tag: 1705445743-541878 X-HE-Meta: U2FsdGVkX1/5pcQAZh+/kexllssE+T2hOG3yKRSMewcKnM67VMorUzOnGLVveXyMw4pteZHEEzoHUPvgUZYtKkpaya9kLBq42xXci0zm2JXDO8G4AC79ihUjmnbwEQy9+sLpurg6H0K/o/ZwrKWB4zma9c4TeOJGBsxnBNhxeBHEkKs5Jr+ue7kCgrAm1QfhxuLa3uAT/2/6kDZsnXKKRJOUXyjtHgcbNpWerQOoxrmc8/RPzvjyuFL0tVRqtVZX/GAUk3zwAhc1qiaZdX46PKrKaMmJKViDrMVQljTABX4tNsw1Wluqjpd4sEQD+VRm3PboPX2QLtVaVQOvCAPhqvsFl+QQTnWoHxd38xaIzlsO+16aEti7/48Y7y2yQlGgqIW+/SxUOkXfyy39iD0Rqu+3lU0I+w/b4ORAZvz5Oln6i4x0IJtBcESKaxO6fCD1wzD9L2tVc+btApx0kgwA7ElZAG6OvwhKHosmDZ7s2u9itYUQUdKs748ONc0TRvOovl2aJiOpKRixzB8fYb/NcXR6urXwldqAPQyGxW6EW2qb9H3n3iT5Be6wjkhKlFxFqtn0O66BYAmOv/0HWvAQv+2rXyh/N+xWroim+KyPSkWXaPJQpbaqeLV95vZhajnsCHMSaBlm/R5SxSCD2uqAKMaZs0xAAUES25sG9s33vaGxV4co5Ay5kvrMkLu0lFEdewapEwqH0a0nR7fDeORAuejg+FPMG02Eh75M881QIkyvWSFxS660xjs3uQqT+twqz+xEo02Ze///6gbtrzNQxp0wujDN1EO3QJPEGqcLLT2FAad0EHs+ZmhqCk3EGUVCz0fHxzKwq3mI+Zw61WaJcrhxgEYKTH4givY0grUrNQHVvPe4Wk/5OhLxi2SnALrmy076aeTzuHqwgYlWPIIiA3LiNHE5J7bvbCX85xPxHMsOOrdS3yVZLFSzEpaalAS8d3GzL+KYLZDYIFM9pvm +IQyF4H0 FzH6Br/kJ4S5fCctqXzfXmn0nS6acmrWG1On+IGKWzhs92vDArfIis/cr7yzArvRoR8tL4gX1jJdioXDQM028KJgb/Ve3Ygx9bAJCFJgF7E4JjOwnut4SJfpONLMGvTHRQ1Vh3oXNpFqhxGBhS77wrROl24+uyvR5PjNVydy/3FBC+R8Na+IqI5UrT6n4kY4eDm8ZDAYENkNHVRh24hDANXDwE/cm6njPRGUMX4DhcuLxTE9PuIJK5d/95K5NgNfnhYTZmh/F9zhXwF8KlPLabsQa+jmL0lossuzFstpK4BYfpU2VIWHK3zSh+D8x06hoYaW/hsFfswTq8xSw120iUf05jvZxfQMVVWlsqAUAZx1LAu9t95/QIE/yr63hbwm8NLzPGb3oIWp9JdyX2hI/EYpT7Qf5g7CzzG04mfXEUivbO2EpILtXSzO/7t9VdNPUvLmP5otps7sESxE3QqnoaoKC8A== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000097, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Sun, Jan 14, 2024 at 01:40:11AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable > head: 3d69c575710800c9a4a58e94c157697310e32027 > commit: a868f9c8816cb72f983d1ff940b0938737fe8ee7 [22/23] lib/group_cpus: fix initialization section in group_cpus_evenly() > config: i386-randconfig-011-20240113 (https://download.01.org/0day-ci/archive/20240114/202401140117.pwAcsXAT-lkp@intel.com/config) > compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240114/202401140117.pwAcsXAT-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/202401140117.pwAcsXAT-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> lib/group_cpus.c:352:16: error: array initializer must be an initializer list > 352 | cpumask_var_t npresmsk __free(free_cpumask_var) = NULL; > | ^ > 1 error generated. Not a compiler specific error, as evidenced by the GCC report: https://lore.kernel.org/202401160231.mSAgDn9b-lkp@intel.com/ Neither configuration has CONFIG_CPUMASK_OFFSTACK, which is not going to be enabled for most configurations, as it is not user selectable without CONFIG_DEBUG_PER_CPU_MAPS and there are only a few conditions where it is force selected. In other words, I suspect this error is going to be quite widespread if it hits -next. I can still reproduce it at the current mm-nonmm-unstable, commit 08be2d243fb7 ("lib/sort: Optimize heapsort with double-pop variation"). Cheers, Nathan