Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2617340lqt; Mon, 22 Apr 2024 16:57:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcurovTCaZ1/UjshLjJ80Ej+5ol0+CamUuBDvXyaI+BNnRbp5vMY0fvQ8cWBDox1E69uwPqKUguQu+6KQxANh8VWr5QS2yLVv8HoF+AA== X-Google-Smtp-Source: AGHT+IErJ+lmDsQc7EVxuy0w+nAt4gQ3epUKeLqCDvTEB/AaFqcaVKJdJpWrn5jkOKx5GPjb9fxn X-Received: by 2002:a17:902:db07:b0:1e4:bd90:f1d4 with SMTP id m7-20020a170902db0700b001e4bd90f1d4mr14198720plx.40.1713830233082; Mon, 22 Apr 2024 16:57:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713830233; cv=pass; d=google.com; s=arc-20160816; b=SU/kORULx2EdOQaQtk+qod63EW9uSdNn4GYzTs7cvjWTeXDuiVlgItEvebbQmW+F2n jjLeuspreTG4vzD33TI50QXIh1EmatQ+fk6+fhXbsP16LqGG3d660862NvsPIZFfMb5V YIb5uIy5HZUZ5gGr0ASxkZkU/MqtY4ptK5NTLw8nWl19/3yyOJcyhBJ5NSBmerv+dqyI PPmzTGV7xgOi+nC88XE4cIDw8s5RRv6l/0Y3hSo4a0VUCi4BFuxnw0Ep9imy6WrVfAvH uVua8BbOvKunOG2axmizw+wk24wbsujyB3tNcuZTeztSr7Gm3kvjOUMMCqMWzglU3n4v dXoQ== 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=oV2rilDACRGG3Sdf0w7IaYABAzDPmTQsqLTOnBjeGwE=; fh=iT69aLAFCaAL1ECVELFGqnZRVt9iikoJcvzeKR1Ry4g=; b=x9wDYTRmjuvYWfAPt5Oh/IhGBIOY6IrwL4xfSlMIJ7qZtyEny2/NZ6H3QrB+RAWBdZ Vjx8C5+6KqatvH0bDy+peluIEedLvQT8GawCQ6LKI3rfI5TBRKYF93cymTmPl6o6ozAf +UYFAizOczR5zs4h6BBLLEhhaXOwTL4WwzmIZ3EeoD8LEisaU85DEo+rKJYnX1qLCcdJ SYWbyBWQTOJXz1aHjqIkR+p0FjRyCrmXfrummNqwXfd1RQo0EbxGvXc/+QFLb7iLEQ1G la1mOIPcE+mwusaZXU++2fQgBrCv/L8rc3PZ7sWtPeHCYxmEdAa5WbNk62IvYr9mD2N/ WZEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=UHZDGDqB; 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-154207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z15-20020a170902d54f00b001ea02747ee4si768835plf.588.2024.04.22.16.57.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 16:57:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=UHZDGDqB; 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-154207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154207-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 787422866BF for ; Mon, 22 Apr 2024 23:48:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DA3D4644C; Mon, 22 Apr 2024 23:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="UHZDGDqB" 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 448C44594A; Mon, 22 Apr 2024 23:48:14 +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=1713829696; cv=none; b=u86qN63pYzm07tWN7TLeXva83Ql1d36XzdSbIek2aM/NNOtQ/jG4AvUtt16W/nXqccDIrJzz3oiBPznT8uYhhjTdOcceKXSiZIQEyAqgfWJm4BLGMPNqeCG7XWNBIed33/+0GxPGVWxjBFZeZJ05nB/CB1ku8AAJmGJfe04zAJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713829696; c=relaxed/simple; bh=Yc7YfWV2OqvmkQgm70k9rhjjb7dMSGGm3abJbjnnWc4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ghj9A/BVjpLOHggjWe4wncsYAehhdD5Vi8ZwD4brDl34VoUD70X5k7RxRFg6boBo1JP3WBSRQ9KZkrH1QhbExwSgSzXSt2hrOBMBNrv21weR8OOfu6yuXKFyV7qamaAsR7OCopcpeSipz3ndwy6PjCTS84wPaKNz07f0Z/pScL4= 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=UHZDGDqB; 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=oV2rilDACRGG3Sdf0w7IaYABAzDPmTQsqLTOnBjeGwE=; b=UHZDGDqBNYq7P1mjDd30ejFhUc it+/XVOFbwFOFYcEmqzHgU5B+bQvioDGkQ4IZZk1iWQqglQo2sTpWVQrA7mZWdsC4l3SRu2hwyJkj lcht0YVXUDwGFNXyVsSlNuZjkr477iAxbt8wYUDY2gTQ+SDBZk8KCDDZaCsTXvbfmRic=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rz3OE-00DezN-Dt; Tue, 23 Apr 2024 01:48:02 +0200 Date: Tue, 23 Apr 2024 01:48:02 +0200 From: Andrew Lunn To: Parthiban Veerasooran Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, saeedm@nvidia.com, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, horatiu.vultur@microchip.com, ruanjinjie@huawei.com, steen.hegelund@microchip.com, vladimir.oltean@nxp.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, Pier.Beruto@onsemi.com, Selvamani.Rajagopal@onsemi.com, Nicolas.Ferre@microchip.com, benjamin.bigler@bernformulastudent.ch Subject: Re: [PATCH net-next v4 02/12] net: ethernet: oa_tc6: implement register write operation Message-ID: <358658e7-70b8-41c3-8999-0d6ebbc8c9b8@lunn.ch> References: <20240418125648.372526-1-Parthiban.Veerasooran@microchip.com> <20240418125648.372526-3-Parthiban.Veerasooran@microchip.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: <20240418125648.372526-3-Parthiban.Veerasooran@microchip.com> > +/** > + * oa_tc6_write_registers - function for writing multiple consecutive registers. > + * @tc6: oa_tc6 struct. > + * @address: address of the first register to be written in the MAC-PHY. > + * @value: values to be written from the starting register address @address. > + * @length: number of consecutive registers to be written from @address. > + * > + * Maximum of 128 consecutive registers can be written starting at @address. > + * > + * Returns 0 on success otherwise failed. > + */ I think the static analyser tools are getting more picky, and what 'Return:' . https://elixir.bootlin.com/linux/latest/source/Documentation/doc-guide/kernel-doc.rst#L86 All the examples use Return: That document also says: The documentation format is verified by the kernel build when it is requested to perform extra gcc checks:: make W=n And if patchwork can apply your patches, it also checks for problems like this. Andrew