Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp416475lqp; Tue, 11 Jun 2024 08:09:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXTLo6FyzpmVK/BFIH5Nxn6hHeopti6gs5pdbq+xR/ar4nBV+7Mf93aD12Kwzz8aH0eWAE2PDydsZtjjqzRDcNcQ0V4BQyyIa3lsjCOg== X-Google-Smtp-Source: AGHT+IGjGCvVAyjrWm/llJnqImXBt91S+EtnE6IeNzzY8Pgl0qu700i3cfKsgRxJxIiQ+cURyhod X-Received: by 2002:a05:6214:4a4e:b0:6b0:74b5:cd0 with SMTP id 6a1803df08f44-6b074b512a1mr68606436d6.49.1718118583151; Tue, 11 Jun 2024 08:09:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718118583; cv=pass; d=google.com; s=arc-20160816; b=IOLaDh7/0VH6apXBSoWaNN/DoCvM8oZvFnAUFCVADXEFTJT+t9/rh5gxvgH3GdaS31 FfNEy3fqt1Mxrk69Lf3Qa889P/ytQFNhfZKWm2PCl6FgPQrs8oG2UZ3xjpmnGFIa0546 klWldbxAuR0kX9JK9LqEarLiSw3Nk7UkvbuqrwisFo/SddvnYudR7gAZsEkX1dNN4LGu y6HfuDS3c7xwJ1FkXJc94o0UTrSb5d8iaA5P458/hoZp5XfLRK7Yz2r/uwqp4irbAAeN lKhIRpfqVQ+7Xf7Rg63BNYrlKqjdIH4vwumSvy0FFIOoEDihuKb3lkEsAawv9YW29trh kZDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=B0aa0B8ChIF+mHezAp/R9HTe7kWW9pZH2yyyhrXiFF0=; fh=0Glcw7RBki3KfGdwu4bsUQHx5cfZZIKaK4tPxOnlS7o=; b=0ha4XM/CZIJe6g9o32V7I9DsTWLhqqbaOPYo2fOeouU+D/Ncodl1lzOrWD4FkMKwIT qvNd59wek9J2InBcFmo03/VkSsCSn3X06TzfuY3sY9vRwsdi9cFVYtQ/wCvnwrlQgpnK +jRbDt4fq6PDCXtH15aJIWuSsOAt03nvLXBtUQRqs0f32exU1Q55sJbhuslmCZjHxsid ZtNcHxkDVM8fNELq7UJdwWtCTpx1X9/H+RSC/gAGvUDtc9YnJnTDtshzVcRdtaTFxtg/ vqQZbCe5nrNxQ7OUAT9sdifoij+dICFpdfOblisXBbvfgXS2K9pNtFiZKp5AG+LW9WQv qicg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FRFMNOCB; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-210132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b081c9a7fbsi41561956d6.502.2024.06.11.08.09.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 08:09:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FRFMNOCB; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-210132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 17FFC1C23E60 for ; Tue, 11 Jun 2024 15:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2481E2628D; Tue, 11 Jun 2024 15:06:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FRFMNOCB" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 24ECB2110F for ; Tue, 11 Jun 2024 15:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718118389; cv=none; b=Ncy4LA4mySM0tFnTpLIQuY9p04VBg5UokvuxX3dBcGWZU5/XDzJ+xaw1+tmUlR3ickMTSp6IQtxyDa3BrCbPXQ4y47+A3mUNW2zEOBXqIrtaMljg1Wb/1PVB7hlKf592q3gsnwbaQAO4CsvsQHjAFP5E70kUn2Lg33t6T2VNDQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718118389; c=relaxed/simple; bh=nOt5urHZ6YolUIcMwNLT/hdMPG5CeiZgEvDlqVxEjdA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lZw1BOH/ZyUiTJK2V8gGPAOHwBGkKE0VKegKfSH5EmR3KA+zRi2gik7x+gLV/EfydEnpytEvL7kry7lm2Wv9FZn4gIfw2zyxREwv+LiNGFZ9CXfplm4/kGQ7L/8Q3NE3ZKRL/KNKPgOVSkL1hue2CxsM9byj0D1fEQXzxSdDM4g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=FRFMNOCB; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: andrew@lunn.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1718118385; h=from:from: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; bh=B0aa0B8ChIF+mHezAp/R9HTe7kWW9pZH2yyyhrXiFF0=; b=FRFMNOCBURkGgNiRwdQjskn6JC0c3uRW0W52Sszed5ab4rK3EMuOb2lX1zLJw+gZ4/f4Oi WblrkxY5Q8yAx838JJ5gvifUL1VI54QrRA7IXFlHRSNoprkWuE5BgRyNftiNJgx6drVdyo tTtzOHtRFOCKwwI7UOuEiy5939UO/g0= X-Envelope-To: radhey.shyam.pandey@amd.com X-Envelope-To: netdev@vger.kernel.org X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: michal.simek@amd.com X-Envelope-To: kuba@kernel.org X-Envelope-To: linux@armlinux.org.uk X-Envelope-To: pabeni@redhat.com X-Envelope-To: edumazet@google.com X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: davem@davemloft.net Message-ID: <68c47426-f459-4b83-9cf9-b38cd9d65a94@linux.dev> Date: Tue, 11 Jun 2024 11:06:19 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next 1/3] net: xilinx: axienet: Use NL_SET_ERR_MSG instead of netdev_err To: Andrew Lunn Cc: Radhey Shyam Pandey , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michal Simek , Jakub Kicinski , Russell King , Paolo Abeni , Eric Dumazet , linux-kernel@vger.kernel.org, "David S . Miller" References: <20240610231022.2460953-1-sean.anderson@linux.dev> <20240610231022.2460953-2-sean.anderson@linux.dev> <42fff229-ee8c-4738-854b-6093f254408f@lunn.ch> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson In-Reply-To: <42fff229-ee8c-4738-854b-6093f254408f@lunn.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 6/10/24 19:49, Andrew Lunn wrote: > On Mon, Jun 10, 2024 at 07:10:20PM -0400, Sean Anderson wrote: >> This error message can be triggered by userspace. Use NL_SET_ERR_MSG so >> the message is returned to the user and to avoid polluting the kernel >> logs. > > This has nothing to do with statistics. So it would be better to post > it as a standalone patch. It is the sort of trivial patch that should > get merged quickly. I included it in the series since patch 3 touches lines near it. But upon reviewing that patch, it seems that these lines are not in that patch's context. So I will resumbit this separately. > I would also comment about the change from EFAULT to EBUSY in the > commit message. OK. --Sean