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 08A99FC6186 for ; Sat, 14 Sep 2024 00:32:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F3FBE6B0083; Fri, 13 Sep 2024 20:32:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EEF6A6B0085; Fri, 13 Sep 2024 20:32:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DB7096B0088; Fri, 13 Sep 2024 20:32:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id BC55E6B0083 for ; Fri, 13 Sep 2024 20:32:40 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 274EA1C5465 for ; Sat, 14 Sep 2024 00:32:40 +0000 (UTC) X-FDA: 82561468080.15.1967409 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by imf04.hostedemail.com (Postfix) with ESMTP id 9119B40019 for ; Sat, 14 Sep 2024 00:32:36 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=OkZxAw3r; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf04.hostedemail.com: domain of lkp@intel.com designates 192.198.163.10 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1726273878; a=rsa-sha256; cv=none; b=RyMhJprO9DAUYUePtT7/XrPgrGr/qaGzZ6iM/oSqfHe3TQTPHUJfn/pWsgJZbxDenxRGE2 ePCJHAyauPFUWEQhiqa6DjFfnCsIUX2ItSCUvkC4nEBtczxFJlLonoh8yhtOw53mjfPNic KJuysgo+uV51vF0O9CuuSt0AwM8KJyc= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=OkZxAw3r; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf04.hostedemail.com: domain of lkp@intel.com designates 192.198.163.10 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=1726273878; 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=6gqDPRyoS2PAF8UbW2XlZWM/o0Afraywnx3LRsjypcE=; b=4ZfAU4PbEUKobtP5zlCrLXq+tRZX3wI/YzWr6gge9BY8I7FA+rhamgzpkqF5U3BEMpBP0+ SO6ulBVCl54t1OhGAs8nRhxuwnGPZ6vVHneqLpLi6801BdOhtb3YyMkttwAGnbRMHyOLes c6jYDTQ7qOLb0Nvpef7/e660HWX8LRA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726273957; x=1757809957; h=date:from:to:cc:subject:message-id:mime-version; bh=y9oAR1zhMd0phbw31nDtpxdgJeE4g3AYzeT5piRYY0U=; b=OkZxAw3r+5DCNA5PGdP2ay5yPa7yy7XUJWPXblDN2sYqwir/cKSI6XAu vsArKIeKfchn3DqVv+iR9rB3xrJWY8PHs6yMLKx+XNp2mHWm+pG3RQ1AM DS3FmO3xDLSvaXAGvCY3+Lp6NMrhLwg+sKdGySaetc+Eab0IzHKVH3un+ o7kJT/zEppVSqMFdbxSDnwbqcIxL6Le2sQA6BgH2Z8Jb4ILLmcxzMoXQy Sxsdvc/mGvxDGvAh4H9i28Kfd3dcodBxYIG7x5mjYUf35hEwRmmFEOSZh zR+Are7s5ldjrtc5Vdwx+73U1ZWVR2zf09u9htlXzFiyH8+Bwm9eZ3m1Q A==; X-CSE-ConnectionGUID: 04gI14UQTFK7OewvVotcOg== X-CSE-MsgGUID: SC4k9d3mQrySXsh9uRcCeA== X-IronPort-AV: E=McAfee;i="6700,10204,11194"; a="36570016" X-IronPort-AV: E=Sophos;i="6.10,227,1719903600"; d="scan'208";a="36570016" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2024 17:32:35 -0700 X-CSE-ConnectionGUID: kKJNQxuKQ1CqFSKleY8DlA== X-CSE-MsgGUID: MhAKU4tdQs6Wb3cHeSUKUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,227,1719903600"; d="scan'208";a="98918598" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 13 Sep 2024 17:32:33 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1spGiE-0007C6-2x; Sat, 14 Sep 2024 00:32:30 +0000 Date: Sat, 14 Sep 2024 08:31:49 +0800 From: kernel test robot To: Thomas =?iso-8859-1?Q?Hellstr=F6m?= Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Matthew Auld Subject: [linux-next:master 11040/11962] include/uapi/linux/const.h:20:25: error: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '34359738368' to '0' Message-ID: <202409140802.RRGueyxp-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 9119B40019 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 45wbza6d6sp5aqm4nzuu1e96kjurr88u X-HE-Tag: 1726273956-692455 X-HE-Meta: U2FsdGVkX18bXMwjaZNLCafTQYiMQ9Nngn2qH3IL31e+C1O0aOG63Q26w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pzx8xFFNZVDCWpm0nfUZkFvpLMclkUIVJBfTHSNx4+PsXm5X4coTn1gDyK6BgrjeZXC+Nxy9W3Mh7Xv2zYfeMomvGQKfOtxbinuaTddmxulDe9NufEVH9ILeBzV3UJgr5xLiQwMrbQTEb3uceB8R9KTzZkmZkcjCXB0+65r4A7801vLpHPMxlrEviGlwRE5D7cdWzXizfze/iEfogDm6yEX5WTufH6lp6R3wReJijkWxlXo7j6AawvF4Zob4xtwWxe1ef/6zia6bfvP4FIb9KyEQ3P4MdIUZ8+dVE7ss= 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5acd9952f95fb4b7da6d09a3be39195a80845eb6 commit: 5a90b60db5e6765367d9bb2c03f66b14d72946d2 [11040/11962] drm/xe: Add a xe_bo subtest for shrinking / swapping config: csky-randconfig-002-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140802.RRGueyxp-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140802.RRGueyxp-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/202409140802.RRGueyxp-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/vdso/const.h:5, from include/linux/const.h:4, from arch/csky/include/asm/bug.h:7, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/mm.h:6, from include/linux/pagemap.h:8, from include/drm/ttm/ttm_tt.h:30, from drivers/gpu/drm/xe/xe_bo.h:9, from drivers/gpu/drm/xe/xe_bo.c:6: drivers/gpu/drm/xe/tests/xe_bo.c: In function 'shrink_test_run_device': >> include/uapi/linux/const.h:20:25: error: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '34359738368' to '0' [-Werror=overflow] 20 | #define __AC(X,Y) (X##Y) | ^ include/uapi/linux/const.h:21:25: note: in expansion of macro '__AC' 21 | #define _AC(X,Y) __AC(X,Y) | ^~~~ include/linux/sizes.h:49:41: note: in expansion of macro '_AC' 49 | #define SZ_32G _AC(0x800000000, ULL) | ^~~ drivers/gpu/drm/xe/tests/xe_bo.c:456:17: note: in expansion of macro 'SZ_32G' 456 | limit = SZ_32G; | ^~~~~~ include/uapi/linux/const.h:20:25: error: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '17179869184' to '0' [-Werror=overflow] 20 | #define __AC(X,Y) (X##Y) | ^ include/uapi/linux/const.h:21:25: note: in expansion of macro '__AC' 21 | #define _AC(X,Y) __AC(X,Y) | ^~~~ include/linux/sizes.h:48:41: note: in expansion of macro '_AC' 48 | #define SZ_16G _AC(0x400000000, ULL) | ^~~ drivers/gpu/drm/xe/tests/xe_bo.c:459:25: note: in expansion of macro 'SZ_16G' 459 | limit = SZ_16G; | ^~~~~~ cc1: all warnings being treated as errors vim +20 include/uapi/linux/const.h 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 6 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 7 /* Some constant macros are used in both assembler and 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 8 * C code. Therefore we cannot annotate them always with 6df95fd7ad9a84 include/linux/const.h Randy Dunlap 2007-05-08 9 * 'UL' and other type specifiers unilaterally. We 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 10 * use the following macros to deal with this. 74ef649fe847fd include/linux/const.h Jeremy Fitzhardinge 2008-01-30 11 * 74ef649fe847fd include/linux/const.h Jeremy Fitzhardinge 2008-01-30 12 * Similarly, _AT() will cast an expression with a type in C, but 74ef649fe847fd include/linux/const.h Jeremy Fitzhardinge 2008-01-30 13 * leave it unchanged in asm. 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 14 */ 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 15 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 16 #ifdef __ASSEMBLY__ 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 17 #define _AC(X,Y) X 74ef649fe847fd include/linux/const.h Jeremy Fitzhardinge 2008-01-30 18 #define _AT(T,X) X 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 19 #else 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 @20 #define __AC(X,Y) (X##Y) 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 21 #define _AC(X,Y) __AC(X,Y) 74ef649fe847fd include/linux/const.h Jeremy Fitzhardinge 2008-01-30 22 #define _AT(T,X) ((T)(X)) 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 23 #endif 9d291e787b2b71 include/asm-x86_64/const.h Vivek Goyal 2007-05-02 24 :::::: The code at line 20 was first introduced by commit :::::: 9d291e787b2b71d1b57e5fbb24ba9c70e748ed84 [PATCH] x86-64: Assembly safe page.h and pgtable.h :::::: TO: Vivek Goyal :::::: CC: Andi Kleen -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki