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 A1AF8C25B4E for ; Mon, 23 Jan 2023 02:17:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9CF556B0071; Sun, 22 Jan 2023 21:17:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9801C8E0001; Sun, 22 Jan 2023 21:17:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8475F6B0073; Sun, 22 Jan 2023 21:17:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 748B06B0071 for ; Sun, 22 Jan 2023 21:17:57 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 4A04D120A41 for ; Mon, 23 Jan 2023 02:17:57 +0000 (UTC) X-FDA: 80384453394.03.A9F224C Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf30.hostedemail.com (Postfix) with ESMTP id 53D1F80004 for ; Mon, 23 Jan 2023 02:17:54 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="icHC/ZyJ"; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674440275; 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=jjIVKPrU8DnYHA4Wwrd3wY1BYyZteKdlgiFfdbLgHdA=; b=UyPQvVW6XdQraf+Bebtz6BB05H47REc28V1qT9wfFxjfZBtByKp4x0ENLk5BB3cSk7XrsE Mrh37AWZFmdnS6c6YpY08T8a8hL+RAfWIK/6Fuvg2VlZ4Dmi3Ug8bEFQ1iY+dVCatQwWu4 1VGXySqfPOBZwxL5cYovnEJYOZv3t/A= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="icHC/ZyJ"; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674440275; a=rsa-sha256; cv=none; b=YA35wfWwlelDHbDJ0QPf8oTYscCo+u9d4B2BifZ3+YoM/mQWhrP6bZVrg0xSoiyoHtP41N zlh6VrmPQ5O+5kUIa6mf2K2EUu7UdCejKcvwECJg8bY0IhlPouNTCeR+QCHXO+aZKoHmlw SXN5UXC75Ueipv3d21IIVfxy35nCExA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674440274; x=1705976274; h=date:from:to:cc:subject:message-id:mime-version; bh=/E+LiiDU/twtlYAskEYNh25Pz28Xur05ABSKXv3qRss=; b=icHC/ZyJk5cr6vG4jE9DYxIoret9SgJ+fUr42j1oigW2juKBGnYcv05U 2+19rZbHBodYkjeJfBvoHiKyNUXmGKEYyui/cX348g6d+UHU25pIprkUW gO6yAmpZkjI9obnf3ZvILRWFaOiaPM1tqpzeQrrgkAsXfMPgKXOMRmDTz O0Vny8Mmot/ztA935I16vWqTa5IyF2Y2/vW7kIFxON7HglSIBHUx6efFS IIpZitaWgLe3BCUaVyjLpsoT6ke+iwh8UV9kC6WpEY1rWRp+egARaRFK1 1IF0HhMObUuYxRrGkEb16AewYbgze5pwsgY9Xb1svMWUxbbZ6loC0SgfG g==; X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="309536567" X-IronPort-AV: E=Sophos;i="5.97,238,1669104000"; d="scan'208";a="309536567" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2023 18:17:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="730015253" X-IronPort-AV: E=Sophos;i="5.97,238,1669104000"; d="scan'208";a="730015253" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 22 Jan 2023 18:17:50 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pJmP7-0005Mi-2M; Mon, 23 Jan 2023 02:17:49 +0000 Date: Mon, 23 Jan 2023 10:17:11 +0800 From: kernel test robot To: Christophe de Dinechin Cc: oe-kbuild-all@lists.linux.dev, Greg Kroah-Hartman , Andrew Morton , Linux Memory Management List Subject: [linux-stable-rc:linux-4.14.y 2224/4044] include/linux/nodemask.h:371:13: error: comparison of unsigned expression >= 0 is always true Message-ID: <202301231026.yRe8RaLy-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 53D1F80004 X-Stat-Signature: t45xzt46mfiao5wu48paitkgcchisn4g X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1674440274-84244 X-HE-Meta: U2FsdGVkX192FQPBiIB0Dya1qQFGvIdDyETR8HXkL6JsO7KeD3lH0wLD7jfJEWSfuo7RTnf1z+qRZ2FdDaaBSUEIEZLr3p/b2R8lf6x7mrxRPd5Pfh6vGt26oKxqEMMwspRNfZ7pxlrZ7HL48hZqVZ+pLZ1/Xkf7n8xbqu23Xze1AHFGjPK23lDwnhT7uLBiiwcI0vnvHMTPoPD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oucZOZB/BKehb6XqG0cug6MLX5x+c6q3fRSdfHBGh3LCDXT44DNjGu0lMzFbaL6AvWS5 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: Hi Christophe, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y head: a6d71d85fd0f5c89a0e3aa52de437d22485dfa61 commit: 339aab239d54368580b9a03ceca009d83a00cfb7 [2224/4044] nodemask.h: fix compilation error with GCC12 config: alpha-randconfig-r006-20230123 (https://download.01.org/0day-ci/archive/20230123/202301231026.yRe8RaLy-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 7.5.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=339aab239d54368580b9a03ceca009d83a00cfb7 git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git fetch --no-tags linux-stable-rc linux-4.14.y git checkout 339aab239d54368580b9a03ceca009d83a00cfb7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/mmzone.h:17:0, from include/linux/gfp.h:6, from include/linux/mm.h:10, from arch/alpha/mm/numa.c:12: arch/alpha/mm/numa.c: In function 'paging_init': >> include/linux/nodemask.h:371:13: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits] (node >= 0) && (node) < MAX_NUMNODES; \ ^ include/linux/nodemask.h:424:2: note: in expansion of macro 'for_each_node_mask' for_each_node_mask((__node), node_states[__state]) ^~~~~~~~~~~~~~~~~~ include/linux/nodemask.h:504:36: note: in expansion of macro 'for_each_node_state' #define for_each_online_node(node) for_each_node_state(node, N_ONLINE) ^~~~~~~~~~~~~~~~~~~ arch/alpha/mm/numa.c:305:2: note: in expansion of macro 'for_each_online_node' for_each_online_node(nid) { ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +371 include/linux/nodemask.h 367 368 #if MAX_NUMNODES > 1 369 #define for_each_node_mask(node, mask) \ 370 for ((node) = first_node(mask); \ > 371 (node >= 0) && (node) < MAX_NUMNODES; \ 372 (node) = next_node((node), (mask))) 373 #else /* MAX_NUMNODES == 1 */ 374 #define for_each_node_mask(node, mask) \ 375 for ((node) = 0; (node) < 1 && !nodes_empty(mask); (node)++) 376 #endif /* MAX_NUMNODES */ 377 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests