From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F28C3CEB9B for ; Mon, 27 Apr 2026 13:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777297491; cv=none; b=TGa9bMduerUoivMxdyUObU7DUmnSBWPsa+2Btm5fxMZn8P7nro6FA8WX2zesGeOnQ+gafZ3q7iK9YFQwPNgtpRG5rUMDLXYqMz3CK8mv3zlzsfVMMjjYzd6epHs9u4fBFdGV5D92Cx6Wlh/lIEaUUDNLdp7T44i4CMKm5uohLGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777297491; c=relaxed/simple; bh=w+dTdSpE+Y+1gg62RpUFxLsRiy9A/gMW1420jUsWT1E=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pD0cIywzUma8SPWJcfDkKp9G6xE6wpNVdzHxr2EMLexSy6SK7uvtvKTZz0730JVvQzrNafQLiSOGctvX7ZvDQU3StazP4YKSXKfEa/ogfBsEJJ7izumYjjCEzmDNxWInXxQk0J5rl2XZVgWxKBw5N4VvLExYQucjcxYizCqGFw4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MR+Oznlv; arc=none smtp.client-ip=209.85.215.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MR+Oznlv" Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-c70fb6aa323so3542467a12.3 for ; Mon, 27 Apr 2026 06:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777297487; x=1777902287; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:subject:cc:to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=hPKcNdGlF1/MHK+kyTy5aQ4mT8GX6zZr6hlWhe1cldA=; b=MR+OznlvTe6W9kHSTg+68fQAJbqe48Atw9+kyNcwm5BNUNqVPFtjnEyw06Kdba8MeQ PIkEUt9mAMYVvCLJ6eC6EjIaU/laqMDX93TOEf0cS6nBU8h7y+ZZPcWBN3z0hXojJmhh Lm7Xab2I1YJE6mQgKJojp5p7pvu6fbT2dKMEBRR2pYikvYV93APN54gkaimYaOeHX7rm pxXR3zs4jCuYRPgu+OFsQs1rs5KGMPQk1bOi86ctR3WcD+BCYfsZOz9Mvg10H33DIt/s FU3uxSMa4J6v/XVcraE7FlzBAL1fwpjSBXLLOe+jFTnqb8F/ymjvHZHa5Woa+5Jt5y3Y 5jEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777297487; x=1777902287; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:subject:cc:to:from:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hPKcNdGlF1/MHK+kyTy5aQ4mT8GX6zZr6hlWhe1cldA=; b=StmIZYZKLMWH0nApNkvz+Od3P1luff5YIr/2NywENrRWRtZnd902LE6XmKzdvJKQEO F6u4oe9UMWRMS5kft/hS196kOcUnXCgN2NdiGntSdXucqLXOzm2CsD6UX3W2NQVyPcnS WzUir/FUg3VEUO1JN9wJ1k6yLo7/s0VeFG3oKcSP1455oX4aJ8410PIirH3XREpGqGJf X0F9/Zf38n5ZLK6NrzaZKYzuxciESpZC9Sc6Ecz+BS1LO5/ppi5c9UHlMRIALY9604Mk NjPJu+pZbiwvtHyMdL3J121/VdbAVdBQqoR//TWM37a+BvsZMeuWtSWqA+FFk7aivts7 3FSA== X-Forwarded-Encrypted: i=1; AFNElJ9ePgVbJTAxOsTKeMydeHDJ1azXxJPyGOwVnOpK/d21WprgOypr0nX4FWH+YOe5Y1Bb7cD2o2INhQgRJQo=@vger.kernel.org X-Gm-Message-State: AOJu0Yyb+mv+9/pKrhUJFgcUbvu7ok6d29q2z12lCr+rUeAMY0m3X0qg HxOQNYIExk/dIR/e3MOD4Gw8iAi/CPEQqtjhQOCz/1CxqX7hhdL2pVDI X-Gm-Gg: AeBDieuLx1pzrBCyOE+77S7Y8zyjdZ3KLApTmXII4KkMNisIpzVD/Gm046Gk4x7noI/ 7BgQZcoKwQoSLFWbRdT+hcExLpNZjUkuN9RxFYpzlgtipfrar4H5lX6PLo3J8Cvt7hbZ8/lTf6H Ff1sqJdITY0F81H7Js3JSvuHIjqpH+9+Z8dUhEnjKHQGfETuVhDa8AQfmj5Yxh5FrfKgLugtYt/ IqQvLOKpiwitPLoFDfbWMifdvSN1JLwNKKRekxIvY3O6dWGFVaAJHX5mjCGE5iCiFavrbqnA2HN xzp1nITHRFdFYUi/LrvrWcZtKcG+j3Vxs+J3uE5KH7dv6A13Q2INkJLfwKM6xUteDeXBf1Gdxld MlQu5Fiie4dPfH3i0e8OLoHYV4GdQIUYRkb0K27Ffz8NhxIptIyZ8mNFB4d/mXNCTtG1i//mYnT m/3zRICD/JvN0Q3ZZbwl9YePesgKXCM8Jqh2yHbOt2oAA4sRs= X-Received: by 2002:a05:6a00:1307:b0:827:3b1b:43e6 with SMTP id d2e1a72fcca58-82f8c83bf5dmr42243914b3a.21.1777297486509; Mon, 27 Apr 2026 06:44:46 -0700 (PDT) Received: from yuwhisper-pc. ([49.213.140.88]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82f8e981a0asm33675914b3a.3.2026.04.27.06.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2026 06:44:45 -0700 (PDT) Message-ID: <69ef684d.a70a0220.2a0a5f.8511@mx.google.com> X-Google-Original-Message-ID: Date: Mon, 27 Apr 2026 21:44:41 +0800 From: Hsiu Che Yu To: Miguel Ojeda Cc: rust-for-linux@vger.kernel.org, Alexandre Courbot , Danilo Krummrich , Lorenzo Stoakes , Vlastimil Babka , "Liam R. Howlett" , Uladzislau Rezki , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , open list , Hsiu Che Yu Subject: Re: [PATCH v2 2/2] rust: alloc: fix `Vec::extend_with` SAFETY comment Mail-Followup-To: Miguel Ojeda , rust-for-linux@vger.kernel.org, Alexandre Courbot , Danilo Krummrich , Lorenzo Stoakes , Vlastimil Babka , "Liam R. Howlett" , Uladzislau Rezki , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , open list References: <20260425060823.76175-1-yu.whisper.personal@gmail.com> <18fc8eee2f057a6bfbcadae156d1d0b7c40d0077.1777111268.git.yu.whisper.personal@gmail.com> <69eedee0.170a0220.230e6f.9507@mx.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: On Mon, Apr 27, 2026 at 03:22:18PM +0200, Miguel Ojeda wrote: >If you only need to resend just for that, then what is usually done >instead is to reply with the tags here -- then they can be picked up >by maintainers or in the next version by the author, e.g. > > Fixes: ... > >(ideally without the indentation so that tools may pick it up automatically) > >By the way, an easy rule of thumb is using, for fixes, Reported-by: + >Closes: + Fixes:, while Suggested-by: + Link: for features (but there >are of course exceptions, e.g. someone may have suggested something >important in a fix etc., i.e. it depends -- please see >Documentation/process/submitting-patches.rst for the actual meaning). Thanks, that's very helpful! Fixes: 2aac4cd7dae3d ("rust: alloc: implement kernel `Vec` type") Thanks, Hsiu