From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73C0F274B28; Thu, 19 Mar 2026 01:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773883756; cv=none; b=fxfNur/L3BJuBtJcqjbqiSmowzt4HLPDm/6baQFxv3im1Mj881DcrzThKvN03eS9mlp2riE0Zng8rzljAcrHizD3sbUqI5y2gNZy2/G+WbvMKCMELgudGGULen9UgTBzzWXL95ACkro49qbhUvY6EvPd8RrLEIQr1n8Cpwe4zSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773883756; c=relaxed/simple; bh=uesbNCuani5ZswAWIZ23FLTqykJO4QCLxGxunF6beRc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LkHGsGYE5W9jxQY0urLGGiCCvJq64hAHS04nAtNx0XHq6UGEOA+yy6tr6A3ztFeoIsVTXFh6knMDkt8MUQpZMUEX576+2R/Q+1XUdLPFGCIVmAiPxhOCZ3FHcJtHB4K/6rEjme/uJ1OYG4kqoXOK+LoZjSG+JfdIj9gsY8wjqik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=buj/u3Ne; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="buj/u3Ne" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA8CFC2BC87; Thu, 19 Mar 2026 01:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773883754; bh=uesbNCuani5ZswAWIZ23FLTqykJO4QCLxGxunF6beRc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=buj/u3NeK4KErQP/SgT757aSvQE9vS1jTpWjVkcps8g0kT46uakOpyZLQOzEYT4pL WP/LNbAxmILlipphX5ZYOxbxjZdozIGS7FVfGkCqJmjmPsKB9gyeG7nfBu7DsixDk1 Yw/oNjSE14KZQxCLBdqBx9ZWDAwqf8aeaIGPn0ln9PlpmIijrFzCMZ0nI7Gvhx7GKd y+RsrDGBf3kVo+7pG/uQOd+RRtBl3sXwtGzoLLPZ8/hV0fjupVKbGFFwHRGZULzM7Y LGpa1W2GBVXW0AJdTDsRu5Fdgmo5zcpECCwCnRa/CzPydRtNIgBjgXxfWL7aKNPkvV 5jUX1zoN5Pvcg== Date: Wed, 18 Mar 2026 18:29:12 -0700 From: Jakub Kicinski To: Rosen Penev Cc: netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH net-next] net: phy: microchip_rds_ptp: simplify allocation Message-ID: <20260318182912.06cff868@kernel.org> In-Reply-To: <20260315214527.4113-1-rosenp@gmail.com> References: <20260315214527.4113-1-rosenp@gmail.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=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 15 Mar 2026 14:45:27 -0700 Rosen Penev wrote: > Simplifies allocations by using a flexible array member in this struct. > > Remove memset as it's now allocated by kzalloc. Quoting documentation: Clean-up patches ~~~~~~~~~~~~~~~~ Netdev discourages patches which perform simple clean-ups, which are not in the context of other work. This is because it is felt that the churn that such changes produce comes at a greater cost than the value of such clean-ups. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#clean-up-patches -- pw-bot: reject