From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7C99606A31F for ; Sun, 6 Dec 2026 06:07:23 +0000 (UTC) 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=DH2PcGJu Received: by kanga.kvack.org (Postfix) id 0667F6B05B2; Sun, 6 Dec 2026 01:07:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 016BA6B05B3; Sun, 6 Dec 2026 01:07:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E95886B05B4; Sun, 6 Dec 2026 01:07:22 -0500 (EST) 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 C1A1E6B05B2 for ; Sun, 6 Dec 2026 01:07:22 -0500 (EST) Received: from smtpin02.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 46446C0772 for ; Sun, 6 Dec 2026 06:07:22 +0000 (UTC) X-FDA: 85512525924.02.8FFF429 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by imf17.hostedemail.com (Postfix) with ESMTP id 772BC4000B for ; Sun, 6 Dec 2026 06:07:19 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DH2PcGJu; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; d=hostedemail.com; s=arc-20220608; cv=none; t=1796537240; b=nUqcpGy5vjr2MmnoYSAxN/P+qV7spJNOW3eKzTiZX4PIG8NQRZBoYlF/LIScCz506EwLpf BuacPdH1WwxuZtMOVldSZsa7CkSXcDtSrX42zOQA2xncu2PoKLe3TRR35ClMbVuuqPMKgv pkS8upIjJ0w7pn0LHbNuQos9WPFs3SM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1796537240; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=o0nneX+GqSPiachJ6bk3FLpyDkWwA1BgtBwbvPSy2XQ=; b=W1kVkOFL/kQoQ5Dl/6BrIEhjZmiVEAxL9gYdHsuC8SiehBYklI+y5477bSbaONzzQtnwCc wWkba7C9Uscv08vqrF4nWRf6BC1dXupPzaxikD4up06BjgJHfNdkpBBGC39tMIvuo/q8vf 2yVZW9miI8QZCUrrjiITohA1DJalOQk= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DH2PcGJu; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796537240; x=1828073240; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=o0nneX+GqSPiachJ6bk3FLpyDkWwA1BgtBwbvPSy2XQ=; b=DH2PcGJuTVtnzhEBgOgS+n6kBwVwu3trRAwndY97dh1XHfnal6OV3SWq bB7ICzQqwy0iUdY4N/XboBjm4nKX8vEZP4XONGzsTeZKCenOqxEnKfq6U kvezGO3nakkHJdW4y67x+o2k5QytGahbMFhQRlzuq8nOySsJDFIV3t7P5 NBx9StNRSU4yMDkAho5vP4RoDbFavYtW2OMfICbmTf/uyfYwOL8P+0+Ro fNYjY6Rb2f5Nm0JbpadCHWeIotRsnjd9oXoIySHFL5LKvYliy3BJCmLE9 iByiMNiyxY9Ct/qeuO91pvfQMaTsOyq/kAT+sskpnGD4VPCzRg2Y1i5YM A==; X-CSE-ConnectionGUID: o4sgeA/eQACmi3TzysRtiA== X-CSE-MsgGUID: tebE5TBbR16fmxRnRDAXCA== X-IronPort-AV: E=McAfee;i="6800,10657,11987"; a="5355639" X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="5355639" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2026 22:07:17 -0800 X-CSE-ConnectionGUID: RnJFcp1YRMmmQH7qE2R8+Q== X-CSE-MsgGUID: WipZ19e4TPmrs9mAJyx0kw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="14202357" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 05 Dec 2026 22:07:13 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xa5Ov-00000001nTr-2Iwm; Sun, 06 Dec 2026 06:07:09 +0000 Date: Sun, 6 Dec 2026 14:06:54 +0800 From: kernel test robot To: =?iso-8859-1?Q?Andr=E9?= Almeida , Peter Zijlstra , Juri Lelli , Vincent Guittot , Steven Rostedt , Christian Brauner , Kees Cook , Shuah Khan , willy@infradead.org, mathieu.desnoyers@efficios.com, David Laight , Linus Torvalds , akpm@linux-foundation.org, Yafang Shao , andrii.nakryiko@gmail.com, arnaldo.melo@gmail.com, Petr Mladek Cc: oe-kbuild-all@lists.linux.dev, LKML , kernel-dev@igalia.com, linux-mm@kvack.org, linux-api@vger.kernel.org, linux-trace-kernel@vger.kernel.org, =?iso-8859-1?Q?Andr=E9?= Almeida Subject: Re: [PATCH v9 3/7] treewide: Prepare for expanding comm length Message-ID: <20261206140116.zrAx71sd-lkp@intel.com> References: <20261205-tonyk-long_name-v9-3-98244983d8b3@igalia.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261205-tonyk-long_name-v9-3-98244983d8b3@igalia.com> X-Stat-Signature: tx1hqeaqphkfqhe6dw7n8b55i891xzee X-Rspam-User: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Rspamd-Queue-Id: 772BC4000B X-Rspamd-Server: rspam01 X-HE-Tag: 1796537239-730744 X-HE-Meta: U2FsdGVkX186RJ/o0wTf3NKQ14Cz+dlaLikHUrRXyr/qvdIcvwzS+wb3qIIGSu91gA54em2iuG/Mg/K6l8ivT812yvOCSniUFrOsA9kCpRwL1b1P3jLA3T4JohW77l8uO22BPX1qlBkamH+lUZvWa8qVBXl5CZ5w6hYx1PmXXkX6AsjBwUFfOVsp4eHLrqtjgxPR0hew84LEhlm6G7KD4KCm+romgUPCAwi3ddJVmvz/N0aXkU/EZ28FnTDmPeHoHk6EhLTzoIcEMoVvNAq/4TQ82gHNzyzOdFt9H96KpUyYtycSOzzPy+/nawDLytExZ4l2JMimTvDLDOsOgMOEP8hOpfljxGn4Kg1v4K9XKKhkrOkjextO+CdKnY+YgkGJlI80F98T+3eZjzT0OA9Pp+p+3iBxMuqFxVVDegcj+uoa3tKvDFuhR3S2XdZz9w7fhfj/bHC4GwpOTgK6p8EJmNdDar/I15jmT7x2QJJ+VJUmvS3rIsC1U51u/tNV1v7rHLJjtid2ACHrOOUuDP+WEDlnzDxchHCy2ipgGtGxbf3jgSAKy/jxBpT0et33ZonpZyVRY2lhzEUddDMvWYh/Cnr5HQ8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IG0q2gy6Qxr5PXBBMvxtdi+Q4jvYU= Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi André, kernel test robot noticed the following build errors: [auto build test ERROR on 1f9c740f15dae336d5dea23faf51e451e7e9f55b] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/treewide-Get-rid-of-get_task_comm/20261205-223915 base: 1f9c740f15dae336d5dea23faf51e451e7e9f55b patch link: https://lore.kernel.org/r/20261205-tonyk-long_name-v9-3-98244983d8b3%40igalia.com patch subject: [PATCH v9 3/7] treewide: Prepare for expanding comm length config: csky-randconfig-1001-20261206 (https://download.01.org/0day-ci/archive/20261206/20261206140116.zrAx71sd-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261206/20261206140116.zrAx71sd-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/20261206140116.zrAx71sd-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/bitmap.h:13, from include/linux/cpumask.h:11, from include/linux/smp.h:13, from include/linux/interrupt_rc.h:18, from include/linux/spinlock.h:60, from include/linux/sched.h:38, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/pm_runtime.h:11, from drivers/hwtracing/stm/core.c:10: drivers/hwtracing/stm/core.c: In function 'stm_char_write': >> include/linux/string.h:115:29: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 115 | const char *__src = (src); \ | ^ include/linux/string.h:83:9: note: in expansion of macro 'sized_strscpy_pad' 83 | sized_strscpy_pad(dst, src, sizeof(dst) + __must_be_array(dst) + \ | ^~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__strscpy_pad0' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/string.h:146:9: note: in expansion of macro 'CONCATENATE' 146 | CONCATENATE(__strscpy_pad, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__) | ^~~~~~~~~~~ drivers/hwtracing/stm/core.c:637:17: note: in expansion of macro 'strscpy_pad' 637 | strscpy_pad(comm, TASK_COMM_LEN); | ^~~~~~~~~~~ -- In file included from include/linux/bitmap.h:13, from include/linux/cpumask.h:11, from include/linux/smp.h:13, from include/linux/interrupt_rc.h:18, from include/linux/spinlock.h:60, from include/linux/sched.h:38, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/pm_runtime.h:11, from core.c:10: core.c: In function 'stm_char_write': >> include/linux/string.h:115:29: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 115 | const char *__src = (src); \ | ^ include/linux/string.h:83:9: note: in expansion of macro 'sized_strscpy_pad' 83 | sized_strscpy_pad(dst, src, sizeof(dst) + __must_be_array(dst) + \ | ^~~~~~~~~~~~~~~~~ include/linux/args.h:25:24: note: in expansion of macro '__strscpy_pad0' 25 | #define __CONCAT(a, b) a ## b | ^ include/linux/args.h:26:27: note: in expansion of macro '__CONCAT' 26 | #define CONCATENATE(a, b) __CONCAT(a, b) | ^~~~~~~~ include/linux/string.h:146:9: note: in expansion of macro 'CONCATENATE' 146 | CONCATENATE(__strscpy_pad, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__) | ^~~~~~~~~~~ core.c:637:17: note: in expansion of macro 'strscpy_pad' 637 | strscpy_pad(comm, TASK_COMM_LEN); | ^~~~~~~~~~~ vim +115 include/linux/string.h e6584c3964f2ff Kees Cook 2023-09-20 71 e6584c3964f2ff Kees Cook 2023-09-20 72 /* e6584c3964f2ff Kees Cook 2023-09-20 73 * The 2 argument style can only be used when dst is an array with a e6584c3964f2ff Kees Cook 2023-09-20 74 * known size. e6584c3964f2ff Kees Cook 2023-09-20 75 */ e6584c3964f2ff Kees Cook 2023-09-20 76 #define __strscpy0(dst, src, ...) \ 559048d156ff33 Kees Cook 2024-08-05 77 sized_strscpy(dst, src, sizeof(dst) + __must_be_array(dst) + \ 559048d156ff33 Kees Cook 2024-08-05 78 __must_be_cstr(dst) + __must_be_cstr(src)) 559048d156ff33 Kees Cook 2024-08-05 79 #define __strscpy1(dst, src, size) \ 559048d156ff33 Kees Cook 2024-08-05 80 sized_strscpy(dst, src, size + __must_be_cstr(dst) + __must_be_cstr(src)) e6584c3964f2ff Kees Cook 2023-09-20 81 8366d124ec937c Kees Cook 2024-02-02 82 #define __strscpy_pad0(dst, src, ...) \ 559048d156ff33 Kees Cook 2024-08-05 83 sized_strscpy_pad(dst, src, sizeof(dst) + __must_be_array(dst) + \ 559048d156ff33 Kees Cook 2024-08-05 84 __must_be_cstr(dst) + __must_be_cstr(src)) 559048d156ff33 Kees Cook 2024-08-05 85 #define __strscpy_pad1(dst, src, size) \ 559048d156ff33 Kees Cook 2024-08-05 86 sized_strscpy_pad(dst, src, size + __must_be_cstr(dst) + __must_be_cstr(src)) 458a3bf82df4fe Tobin C. Harding 2019-04-05 87 e6584c3964f2ff Kees Cook 2023-09-20 88 /** e6584c3964f2ff Kees Cook 2023-09-20 89 * strscpy - Copy a C-string into a sized buffer e6584c3964f2ff Kees Cook 2023-09-20 90 * @dst: Where to copy the string to e6584c3964f2ff Kees Cook 2023-09-20 91 * @src: Where to copy the string from e6584c3964f2ff Kees Cook 2023-09-20 92 * @...: Size of destination buffer (optional) e6584c3964f2ff Kees Cook 2023-09-20 93 * e6584c3964f2ff Kees Cook 2023-09-20 94 * Copy the source string @src, or as much of it as fits, into the e6584c3964f2ff Kees Cook 2023-09-20 95 * destination @dst buffer. The behavior is undefined if the string e6584c3964f2ff Kees Cook 2023-09-20 96 * buffers overlap. The destination @dst buffer is always NUL terminated, e6584c3964f2ff Kees Cook 2023-09-20 97 * unless it's zero-sized. e6584c3964f2ff Kees Cook 2023-09-20 98 * e6584c3964f2ff Kees Cook 2023-09-20 99 * The size argument @... is only required when @dst is not an array, or e6584c3964f2ff Kees Cook 2023-09-20 100 * when the copy needs to be smaller than sizeof(@dst). e6584c3964f2ff Kees Cook 2023-09-20 101 * e6584c3964f2ff Kees Cook 2023-09-20 102 * Preferred to strncpy() since it always returns a valid string, and e6584c3964f2ff Kees Cook 2023-09-20 103 * doesn't unnecessarily force the tail of the destination buffer to be e6584c3964f2ff Kees Cook 2023-09-20 104 * zero padded. If padding is desired please use strscpy_pad(). e6584c3964f2ff Kees Cook 2023-09-20 105 * e6584c3964f2ff Kees Cook 2023-09-20 106 * Returns the number of characters copied in @dst (not including the e6584c3964f2ff Kees Cook 2023-09-20 107 * trailing %NUL) or -E2BIG if @size is 0 or the copy from @src was e6584c3964f2ff Kees Cook 2023-09-20 108 * truncated. e6584c3964f2ff Kees Cook 2023-09-20 109 */ e6584c3964f2ff Kees Cook 2023-09-20 110 #define strscpy(dst, src, ...) \ e6584c3964f2ff Kees Cook 2023-09-20 111 CONCATENATE(__strscpy, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__) 458a3bf82df4fe Tobin C. Harding 2019-04-05 112 8366d124ec937c Kees Cook 2024-02-02 113 #define sized_strscpy_pad(dest, src, count) ({ \ 8366d124ec937c Kees Cook 2024-02-02 114 char *__dst = (dest); \ 8366d124ec937c Kees Cook 2024-02-02 @115 const char *__src = (src); \ 8366d124ec937c Kees Cook 2024-02-02 116 const size_t __count = (count); \ 8366d124ec937c Kees Cook 2024-02-02 117 ssize_t __wrote; \ 8366d124ec937c Kees Cook 2024-02-02 118 \ 8366d124ec937c Kees Cook 2024-02-02 119 __wrote = sized_strscpy(__dst, __src, __count); \ 8366d124ec937c Kees Cook 2024-02-02 120 if (__wrote >= 0 && __wrote < __count) \ 8366d124ec937c Kees Cook 2024-02-02 121 memset(__dst + __wrote + 1, 0, __count - __wrote - 1); \ 8366d124ec937c Kees Cook 2024-02-02 122 __wrote; \ 8366d124ec937c Kees Cook 2024-02-02 123 }) 8366d124ec937c Kees Cook 2024-02-02 124 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki