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 8E1D5C02188 for ; Mon, 27 Jan 2025 18:51:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 25577280195; Mon, 27 Jan 2025 13:51:51 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2051B280191; Mon, 27 Jan 2025 13:51:51 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0CD51280195; Mon, 27 Jan 2025 13:51:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id E322C280191 for ; Mon, 27 Jan 2025 13:51:50 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8A9B7C053C for ; Mon, 27 Jan 2025 18:51:50 +0000 (UTC) X-FDA: 83054125980.19.F0E0A7E Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by imf25.hostedemail.com (Postfix) with ESMTP id 450CFA0007 for ; Mon, 27 Jan 2025 18:51:48 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jrtEO5oQ; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf25.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738003908; a=rsa-sha256; cv=none; b=KuVa+OUSXAK8EUqF/zNQLldN3IiO33ihNBG9VMHQbq5IE+cxX3U2DfrqF5UlJTb5fRixuy vqC+ET1nYRpSq0pemM7g/QLmjY76uNShbxaJZkxpD4nm8dJPUl31t2FWTbg27NE137sL8K Em5QlbykVVjUeSlY+jEGVVomAxvfF7Y= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jrtEO5oQ; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf25.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 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=1738003908; 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=kVYG8OYqG9hsziyhv/hMLivFq+cWzvVfGvqL/Bkpn5I=; b=Kdl/cNyxJHn7R9nmcAqVOdsNWPcJR+AYkT47EpC9gHk5SOvYngOBsRwsPAYQYmolbFCvTk Fq3A8K7LM9bgrvfOhReTwJF44+pC+BviYjxqGbQ7jbrDsY+r8QdIOicRtgin46Bs+qxEBc kdzESEYPefEI1DFb2NZ7ovdRXTIbUTg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1738003909; x=1769539909; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BEU67Jkz3ucrAEQllixe1RsAKlKSc91WHtz43zYJWLo=; b=jrtEO5oQCQBvjVlxD/Qu3joOXUrvnRdO8JtJxFkhYuh541YzDqcsUimo /2MPeRp2Jykvr7o5K/hiM6yy7nq+L9gnMRNAL2uUyn6xazj9ndNUdwoC7 GlLhaKs13uLTVOiZYynnmUKSRX/f7+80lVJmBVnsUr1XCvMttqmDI1P8R PkXSyckrCVO0QWU0m0Fmd1xP1MLriYZeMNGkBf+u/tf8OdE0AcyqJHYsP 8jgzbDdv2c1UPbtx06SjtNwsveLh2a8vzkaSBQqrWJxlkZyEvEKNB+Gsi lhOLX/uEMOQYaIEUd2oKh2NvLp9R/N8+0/wpKqqaw3Z8OVFT3BkzlX/DF A==; X-CSE-ConnectionGUID: j1v+kdjIQMaeoVtq16uobw== X-CSE-MsgGUID: YIzgfy0YQ/yoGlY4/4AhSg== X-IronPort-AV: E=McAfee;i="6700,10204,11328"; a="42143667" X-IronPort-AV: E=Sophos;i="6.13,239,1732608000"; d="scan'208";a="42143667" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2025 10:51:40 -0800 X-CSE-ConnectionGUID: GYwJxa2RQZi3hB2yOG5nRg== X-CSE-MsgGUID: t4bxgcvKQlekElUQB2kg4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="113150935" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 27 Jan 2025 10:51:37 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tcUCs-000h4Z-32; Mon, 27 Jan 2025 18:51:34 +0000 Date: Tue, 28 Jan 2025 02:50:55 +0800 From: kernel test robot To: Lorenzo Stoakes , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , "Liam R . Howlett" , Vlastimil Babka , Jann Horn , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] mm: completely abstract unnecessary adj_start calculation Message-ID: <202501280232.qYHi6Rkt-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspam-User: X-Rspamd-Queue-Id: 450CFA0007 X-Rspamd-Server: rspam10 X-Stat-Signature: hy6dpidrcxhxjo1bmbecdjf88zzgy46b X-HE-Tag: 1738003908-839084 X-HE-Meta: U2FsdGVkX18QfQsHPzu/F4nN7O/tHmrznfSjgBpglee/EEGrDjrrZ5U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qnJKe/ypW2btasiQ8C9zpU4quh93rYKpsfyO4JSLD0mS+TChp09mymDi9T0oaWChpqtSRo7ro7pZZn/tPi3Qx8/Zhf8v7juH+plO589CRA6lUv26JfcNaspnOPOiIA8/J2L1Mwxb7vu/apsmXJG2fte3bBBPEDOdlQ4ze+4fLSWz2g1fk87670XENTGifRCvU289IXigfDYcP/OFPbuAhtbf3rnM1vLNNvPI5hvvk5iHh2Rix5Y= 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: Hi Lorenzo, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Stoakes/mm-simplify-vma-merge-structure-and-expand-comments/20250127-235322 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/ef00aec42a892fe6ac9557b3a11f18f30a2e51b3.1737929364.git.lorenzo.stoakes%40oracle.com patch subject: [PATCH 5/5] mm: completely abstract unnecessary adj_start calculation config: um-randconfig-001-20250128 (https://download.01.org/0day-ci/archive/20250128/202501280232.qYHi6Rkt-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250128/202501280232.qYHi6Rkt-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/202501280232.qYHi6Rkt-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:6, from include/linux/kasan-checks.h:5, from include/asm-generic/rwonce.h:26, from ./arch/x86/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:339, from include/linux/array_size.h:5, from include/linux/kernel.h:16, from include/linux/backing-dev.h:12, from mm/vma_internal.h:12, from mm/vma.c:7: mm/vma.c: In function '__split_vma': >> include/linux/stddef.h:8:14: warning: passing argument 4 of 'vma_adjust_trans_huge' makes integer from pointer without a cast [-Wint-conversion] 8 | #define NULL ((void *)0) | ^~~~~~~~~~~ | | | void * mm/vma.c:518:57: note: in expansion of macro 'NULL' 518 | vma_adjust_trans_huge(vma, vma->vm_start, addr, NULL); | ^~~~ In file included from include/linux/mm.h:1133, from arch/um/include/asm/tlbflush.h:9, from arch/um/include/asm/cacheflush.h:4, from include/linux/cacheflush.h:5, from include/linux/highmem.h:8, from include/linux/bvec.h:10, from include/linux/blk_types.h:10, from include/linux/writeback.h:13, from include/linux/backing-dev.h:16: include/linux/huge_mm.h:574:47: note: expected 'long int' but argument is of type 'void *' 574 | long adjust_next) | ~~~~~^~~~~~~~~~~ mm/vma.c: In function 'commit_merge': >> mm/vma.c:704:56: warning: passing argument 4 of 'vma_adjust_trans_huge' makes integer from pointer without a cast [-Wint-conversion] 704 | adj_middle ? vmg->middle : NULL); include/linux/huge_mm.h:574:47: note: expected 'long int' but argument is of type 'struct vm_area_struct *' 574 | long adjust_next) | ~~~~~^~~~~~~~~~~ mm/vma.c: In function 'vma_shrink': >> include/linux/stddef.h:8:14: warning: passing argument 4 of 'vma_adjust_trans_huge' makes integer from pointer without a cast [-Wint-conversion] 8 | #define NULL ((void *)0) | ^~~~~~~~~~~ | | | void * mm/vma.c:1141:48: note: in expansion of macro 'NULL' 1141 | vma_adjust_trans_huge(vma, start, end, NULL); | ^~~~ include/linux/huge_mm.h:574:47: note: expected 'long int' but argument is of type 'void *' 574 | long adjust_next) | ~~~~~^~~~~~~~~~~ vim +/vma_adjust_trans_huge +8 include/linux/stddef.h ^1da177e4c3f41 Linus Torvalds 2005-04-16 6 ^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL ^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0) 6e218287432472 Richard Knutsson 2006-09-30 9 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki