Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3338992lqp; Tue, 26 Mar 2024 06:45:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVS7GcpFKsAdpfC9ngyNQjaLQ/amxV7obHohh79yaCRuY2cYH4z7wzsXAR376tJPQTapwA2abs7VIS+NsKTVcjnj560wsQL1RJvQ+SNqQ== X-Google-Smtp-Source: AGHT+IFackei7tp2t+oo+xLK66vtlfiTbHw5ds+GLHf1DxuK1Sbv1CnyrPO1+1qKG44NBXwYoOrl X-Received: by 2002:a17:906:abc4:b0:a4a:35bc:2588 with SMTP id kq4-20020a170906abc400b00a4a35bc2588mr3766445ejb.43.1711460741959; Tue, 26 Mar 2024 06:45:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711460741; cv=pass; d=google.com; s=arc-20160816; b=wv04RYaYOl7R5sheBKdwt/VcbMfBWlOlvegjLm9OWd9rcyxQw0BBPtammm/5fdM8jf LRSjdbg8KHlxWLOEnNHhl7mgyLkTM7qHqAOgpm3rekKD23beiNq2ifRfIwXXp0Bb+hqv UE8ZZVnlksZrTXQkR+H6y4fR5F9ThRNQSpPxyU18dPJgyLHPtZDRDtW8dvHWeub5fzid zGRmTYgDGXEoHLtn3O1SVIA3KjKX42hT3LMwlS0mXK0OxNqa3YBzjfCOidiSaXt6hNDk mCHk+u4FnDg2PFUaQApqntGg2oIaKn9ftxBJC3wFdzhbxao+ntfM0j8QxFphhOsKKJcg kK+Q== 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=0H0SVVafNEIHPuTghJFK0QlcgLMitktxgy/wCbUNVnk=; fh=Tb8Yp7rnRgwgNTxALS8XkzalkP4DCmSxyuE1oIF4q2Y=; b=EqJ/oUmDcC4J+a0sd6uIRSy9Ewrf4vcD1nUVagKpAPUm194HeLfqYkdeYXyZMyxFJW RPlNG9uzO7qRG1c8Y8NpIgPTkFJXEKzNwYuChGdR7chsSjGds57LYk2/HOrrXRrDIIJ+ r0W41uy0LCr9F9t9ewaZrAh5aHzFHN6ADv+uJpvsabZ4enXr2GNpQoCG04jzAnpGX1XP AKM1hOQAvsD3raOlHvi+tha2T5Hhbw9nD7MhmCEgCkmSSHzh5GinBVFwdEgW25qz84dL fZU46YvAXyFQbg+vrTzJRSJ4gdJCllwaOMyeDOIUWPuAeAlgoOT/kHT9BWDq10wKyOT0 HNIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=jI+XzbRe; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-119080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q8-20020a170906360800b00a474fe51f14si2685355ejb.696.2024.03.26.06.45.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 06:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=jI+XzbRe; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-119080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 am.mirrors.kernel.org (Postfix) with ESMTPS id AF03F1F61ABF for ; Tue, 26 Mar 2024 13:45:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BEA3126F2B; Tue, 26 Mar 2024 13:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="jI+XzbRe" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 0060E8625E; Tue, 26 Mar 2024 13:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711460535; cv=none; b=gjDFrERoW8jrcqtTGeajdZuC7jCG6iqw16++RMl7HPEZjRowUyNWeqgH8QJEPdDr9xgvqxmJzDbud08PwVfF2PnSYUwv2fo2gmJIBv732l6sm9JOrtMtlFpSllyJfQ1k2fge+W1YtuxCR8QZhNbJgHSv8EFQHJeUUUHMU9MSWoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711460535; c=relaxed/simple; bh=GE384zJ2zl0wxnEset36cttK55sE59MZHr6t9/cvvFU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uJD69VgJUPl4UMl66B/Tl6Z3AM93lJLBcNDy9TERGfy5f5gAa7+9AhCaEYAfhKo9cEfYlhCH9eP9/aZhODEIJgQ7/3RsG4Hn5iYvTvo8D2rh+M0cyqB/ZJopLJpAI+HMvom3KyVLdoencNOVlHIJvaMf6ACZYss7Lt5GScae4iw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=jI+XzbRe; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=0H0SVVafNEIHPuTghJFK0QlcgLMitktxgy/wCbUNVnk=; b=jI+XzbRe3qobLyb6lupSjHudZo aXoopCP6oLAOqjRZeEWIpOv5wKAbu0Pui5EbWnOuxDN0TUQKnN6xVnLVttK50Vi/knvYDAMNr2HOY kzNU7wiCFigHmXgKw7OMJV/om0qEa8IZdtwKXbE3nMNaGPEuYNg2glwoKHGNKc7C+69o=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rp73z-00BHWB-Ri; Tue, 26 Mar 2024 14:42:03 +0100 Date: Tue, 26 Mar 2024 14:42:03 +0100 From: Andrew Lunn To: Suraj Gupta Cc: radhey.shyam.pandey@amd.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, michal.simek@amd.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, git@amd.com, harini.katakam@amd.com Subject: Re: [PATCH net-next RESEND] net: axienet: Fix kernel doc warnings Message-ID: <70fdb9ac-f532-49fc-9966-a0dab0ced56b@lunn.ch> References: <20240326055347.8919-1-suraj.gupta2@amd.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: <20240326055347.8919-1-suraj.gupta2@amd.com> On Tue, Mar 26, 2024 at 11:23:47AM +0530, Suraj Gupta wrote: > Add description of mdio enable, mdio disable and mdio wait functions. > Add description of skb pointer in axidma_bd data structure. > Remove 'phy_node' description in axienet local data structure since > it is not a valid struct member. > Correct description of struct axienet_option. > > Fix below kernel-doc warnings in drivers/net/ethernet/xilinx/: > 1) xilinx_axienet_mdio.c:1: warning: no structured comments found > 2) xilinx_axienet.h:379: warning: Function parameter or struct member > 'skb' not described in 'axidma_bd' > 3) xilinx_axienet.h:538: warning: Excess struct member 'phy_node' > description in 'axienet_local' > 4) xilinx_axienet.h:1002: warning: expecting prototype for struct > axiethernet_option. Prototype was for struct axienet_option instead > > Signed-off-by: Suraj Gupta > Reviewed-by: Radhey Shyam Pandey > > --- > Note: Earlier version didn't reached to mainline due to my email > configuration issues. So again sending out with resend tag. > > > drivers/net/ethernet/xilinx/xilinx_axienet.h | 4 ++-- > .../net/ethernet/xilinx/xilinx_axienet_mdio.c | 23 ++++++++++++++++--- > 2 files changed, 22 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet.h b/drivers/net/ethernet/xilinx/xilinx_axienet.h > index 807ead678551..d0d1ae3b4e2c 100644 > --- a/drivers/net/ethernet/xilinx/xilinx_axienet.h > +++ b/drivers/net/ethernet/xilinx/xilinx_axienet.h > @@ -359,6 +359,7 @@ > * @app2: MM2S/S2MM User Application Field 2. > * @app3: MM2S/S2MM User Application Field 3. > * @app4: MM2S/S2MM User Application Field 4. > + * @skb: Pointer to SKB transferred using DMA There looks to be some sort of tab vs spaces issue here? Andrew