Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp714436rdb; Tue, 23 Jan 2024 12:30:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEtDMchxPJt9/XRqUzQwdzg7JfDgSGnm7twNNC2a+RxHpA/EG2oPeJF+SLU/MMwXnpANe3 X-Received: by 2002:a17:902:b78a:b0:1d7:330:25cc with SMTP id e10-20020a170902b78a00b001d7033025ccmr178398pls.13.1706041824738; Tue, 23 Jan 2024 12:30:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706041824; cv=pass; d=google.com; s=arc-20160816; b=S7JMgvT6dfuNbwsZiXxxzD2bxlZL3m5G3AZWleQIr1+R3pc0TqOy1C6LEItHTjKPaX dGMMoa411Gju7kcJKtB780be1Vfn44JyxjqJPGeFfngsTjI92UdO6wb0Xn6pQCyLVwq5 ioyl7px9FLJCVWnzkchufqSIzy2B5QWDfmhzsh56kdFG4YwHFaubuJPkovuDZ8JRmfgP zf4eKGSzDyMXeVU/TaIPqhw7Oa2UUraI2AlIYdbx30KZ3d4SbKs72Ks7C+2hC41mhgrc gfmeemQCveI/IhviDgV56YcgXPzyySzZvo2m7m5XBrLLzLS4wPJVyk4d1fh8Pe2yJBlF RQDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hKo2D+8zenI5j1s6bNIN32VPsRdQTHnd746P0LRBkPI=; fh=FCnPImnvdLruxcZ9F0Iklm8KjLMU/dEu306ieQqjhnw=; b=QUwtwIOL8+zGsn5aJR0WOlJyvsBSxRXZcULkureEdeXgRvc1iHeeFiPaTCzT5O3RN0 dVmyv2KXxOEDSvFeUV/ux6W9/DT65snebEOuhGq2jo+Oefi6OO0ADgFlulDt2EMwSbzt 2mNizl3w1ueqeR7+V34CU+FMmbJK+zb3eHOf5cTbbWOM2hNdKlSqjB6DKkfKvmc0BOnU fpM3C8MfPHaD3ELtoE9UF2jMEA6h20MCinAExpgnvlfHmQmWEuKtYZhFqNyFPrV2XMlk lMN3qBCJmRGZLZCByFxhvJCRa9+ihcl9XkWTWzJzBx8z7GT6YGSM5CGMIjog1wSHnoxk mvCw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bwKr99PE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x1-20020a1709028ec100b001d76ae4c91dsi2050254plo.78.2024.01.23.12.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 12:30:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bwKr99PE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 68699B24704 for ; Tue, 23 Jan 2024 19:51:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44E0D82D8D; Tue, 23 Jan 2024 19:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bwKr99PE" 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 64A708003E; Tue, 23 Jan 2024 19:50:52 +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=1706039452; cv=none; b=mg1QDX7TH33ZNS8Wi0qPpMFjwubI/flvWqrmRA/elVR/MH3W6zOUfNqlvKj5pnrpL8TT6iIjJhGouoT7ClNU1ZTvbTHaW3O84qvu6WIrco/Ogomxn5pbNBStcxUAk0KYxmL4PpBjDn/c7SI8QJ7aRbp+fkj8yRAYzp9YLmjDN6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706039452; c=relaxed/simple; bh=JdM9TTZCWN64d8b7V18qvRomhjSHitoxtF6sWalz8RI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=G39SukdsbX9eHEA7gP24EtAV487nkhq14RsDjfTmuHULaaFOCU63K9wQxn3BYEqulFgysiBkiDFI2XV1gPmSrJVSqsmYyDSkQ5sfQqSVVzr4FIR+OZyiu1lFWT6AETjV+bWdtKNEtVFZM3/luAaGFmvb/YP/PmUH9hZU/PzNtYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bwKr99PE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDEEDC433C7; Tue, 23 Jan 2024 19:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706039451; bh=JdM9TTZCWN64d8b7V18qvRomhjSHitoxtF6sWalz8RI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bwKr99PE3PLFylNmMkGyJg3i1edGMRoBYyQsyR4msDUYiyaKA+xo0PT+Ml39I6VCz 5KJzNMIGRbczBN3pyGyY4f2HijZ2uB9vOV0Elu/ityI2QNcsEeQGkNevri9zsn9HSS gORdqLmBQa58bsMPQMyiR2kCiZfserJZUXtRJFgvzXFKQ3X/dMnxzD7iKS7O1edEpW 52h+gTd7u/ldFMhdOpaGqpdravlexlwdaNkLrCZIbThxPgdgATJ4S2FfA6viLqqaOr ogvZG+zNWX8wyKhfsUI8v3yjgWBNgESlASo9SAoJIqviMl/MhG+oH/bBFBWaJwGDqA Vt5yFiXXnLoCw== Date: Tue, 23 Jan 2024 19:50:46 +0000 From: Simon Horman To: Furong Xu <0x1207@gmail.com> Cc: "David S. Miller" , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Joao Pinto , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xfr@outlook.com, rock.xu@nio.com Subject: Re: [PATCH net] net: stmmac: xgmac: fix safety error descriptions Message-ID: <20240123195046.GQ254773@kernel.org> References: <20240123085037.939471-1-0x1207@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-Disposition: inline In-Reply-To: <20240123085037.939471-1-0x1207@gmail.com> On Tue, Jan 23, 2024 at 04:50:37PM +0800, Furong Xu wrote: > Commit 56e58d6c8a56 ("net: stmmac: Implement Safety Features in > XGMAC core") prints safety error descriptions when safety error assert, > but missed some special errors, and mixed correctable errors and > uncorrectable errors together. > This patch complete the error code list and print the type of errors. > > Fixes: 56e58d6c8a56 ("net: stmmac: Implement Safety Features in XGMAC core") > Signed-off-by: Furong Xu <0x1207@gmail.com> I'm not entirely sure this is a fix rather than an enhancement. But the code change itself looks good to me. Reviewed-by: Simon Horman