Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2283444lqt; Mon, 22 Apr 2024 06:52:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUY1DQ8YUepz7U5DBAy5SQovk2LR4MOmq+zZKQI/Jkx0ZVEVuZsAxdJ2yzgtT19OUg+IARcW2/0OsGNVpnxk56XNJfuS9jU6BBwhzD9Xw== X-Google-Smtp-Source: AGHT+IGlSm+DHuPPVqnsQ9OzxnnLLJjt5b9rrMG7jBGoRjIWGT+uKfHw6v79PxsmtuulgYRFoOhg X-Received: by 2002:a05:6a20:43a0:b0:1ac:f796:963c with SMTP id i32-20020a056a2043a000b001acf796963cmr9273798pzl.56.1713793944137; Mon, 22 Apr 2024 06:52:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713793944; cv=pass; d=google.com; s=arc-20160816; b=uBU2gUF7le5Y70cMr28IV/As8Lov9JQXlfAmAkzTM63gszualOXHSHxd3slTeAFvtR tT8zlr4j7Y4trq4BDiW8eFTpylbf1QFgtRUpIC5smLPBMiKDPokkxImZhFj0wuxdboOi U73By30kWWTfdt+aSR+JjG1wMuLaF0enB8sEmC5nCP+tlmn7WAvFms8VsW8yH/2YlkZO 2LN4kmSQ7SgyXkCJ0OAa9AifLRHK8orLrNgwTNeu2Gx5Cybjk0A6Mwnl0s0aeENavRsi 2LqTOG6cufQrx+9t6+fAvSsWxK6WlL37W5IMSiDaGUBsbrdvLLaRVAiOUBogbbHX0JPW bTwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=SJjYjznxGBCfpOCBWtP0dj9JIhOm2DN+x+GnGTRrtMw=; fh=t+VQ2nzNTq8VvvwZRpHSDybCQSsHFRN8PihDHC0Zx1w=; b=v7/3rvMyKKKiZEphaQ6xpNyw9zkMAJRkDvSyIuNrpA0EdwbdZTF0YnwtAyekc+SYsi 5E9oTGTRCawFx+gbddP5jm1kuXcP390u5Y7DkCG1RQkCAQo7vRXbbzR7xpVEQ7vxAaxn K/vfDIFVv97M5gFsbHFJgPwuSgN/4x1G2097KadlTet5Z35gwwz/VoAHVtE9EEer/wgv wF+MTIQm9rfgTiwO25Hfx9/dg32vhVeddSosSIObS7vRLKYtIKPggagpQX/g6vdwjYBi Dot/bU/alWPkKYd1nkMsyxlhiaHr0/bylrhzS5XVlOVTdE/kod5aEmP5bjIlk7mmAUdi f9mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kHIahNTS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-153463-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g1-20020a636b01000000b005f7515ac97dsi7593505pgc.85.2024.04.22.06.52.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 06:52:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153463-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=@bootlin.com header.s=gm1 header.b=kHIahNTS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-153463-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 22F41B234A3 for ; Mon, 22 Apr 2024 13:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECB291514D8; Mon, 22 Apr 2024 13:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kHIahNTS" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 4A0C715098F; Mon, 22 Apr 2024 13:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792970; cv=none; b=mextamYu45FPPOTOlxtanVUAVIvO6BjTOAD09a1WKuhKN4kAQlO1SADnLapD8rd2MblOuhim9w19Tds224W1YxohVx99qwK0MFZcPQkZLwQCrWoOBCIz5F0QMA1O1e1QT/XR1t/ruTjkKYwU1AZo4bC/SZf97CxR3lsaJbjnQF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792970; c=relaxed/simple; bh=bXi29gIZ4zvr8ZuPsErOR7MMJWSFxgIYO6IzdNg2uN4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gUmcTFLBJaadFNPSGY1YwQ8QEwlNJgWS/Itxc7LRAHPlHVidAlBTLr0N5pObWsBWHokFzFV8UeXXDtkXRf9AagTuX4CIcZjVhFzZTbkeF5/I6CxTVadCk+aR+fFPS4NYDvyQONjRhVjlwjopwrmIjy8qQFxN4cW2JXMk2r+jKbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kHIahNTS; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A41BE1C000B; Mon, 22 Apr 2024 13:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713792961; 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=SJjYjznxGBCfpOCBWtP0dj9JIhOm2DN+x+GnGTRrtMw=; b=kHIahNTSmfwXcFHJ/G+FlcgRVC0CRptEJhxaUPTq/AgDR15eQOZykngop4H6k47cIkASp6 Ro4DqA2XZGytehFHmvtUbJmB197/xO0lHUrhZUihn+/ASpGaiNz9DJL9sGbZN1e/zfz/EW s6XTx5cMpFtZd+1H0D6Nz+CcqCNcayDwOXO+DCx57jhy2qWo0fs1o6eczdR4AYnU7UsK5y 9AzfylSiF+CfOWl5ibH7tCWQl5I3DEPmMDcchEPGXfQNZ+IShwO1pDGFdByCz/lJ6UN28D GX0ooOOwp4HDpwHmhZwfT3ld7xnPUemQ2kjcmilxqZKAapyTtOD45KIZzxxM0w== From: "Kory Maincent (Dent Project)" Date: Mon, 22 Apr 2024 15:35:46 +0200 Subject: [PATCH net-next v2 1/3] net: pse-pd: pse_core: Add missing kdoc return description 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240422-fix_poe-v2-1-e58325950f07@bootlin.com> References: <20240422-fix_poe-v2-0-e58325950f07@bootlin.com> In-Reply-To: <20240422-fix_poe-v2-0-e58325950f07@bootlin.com> To: Oleksij Rempel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn Cc: Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kyle Swenson , Kory Maincent X-Mailer: b4 0.14-dev X-GND-Sasl: kory.maincent@bootlin.com From: Kory Maincent (Dent Project) Add missing kernel documentation return description. This allows to remove all warning from kernel-doc test script. Reviewed-by: Andrew Lunn Signed-off-by: Kory Maincent --- drivers/net/pse-pd/pse_core.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/net/pse-pd/pse_core.c b/drivers/net/pse-pd/pse_core.c index 31f23c454678..bad29eaa4d01 100644 --- a/drivers/net/pse-pd/pse_core.c +++ b/drivers/net/pse-pd/pse_core.c @@ -320,6 +320,8 @@ devm_pse_pi_regulator_register(struct pse_controller_dev *pcdev, /** * pse_controller_register - register a PSE controller device * @pcdev: a pointer to the initialized PSE controller device + * + * Return: 0 on success and failure value on error */ int pse_controller_register(struct pse_controller_dev *pcdev) { @@ -401,6 +403,8 @@ static void devm_pse_controller_release(struct device *dev, void *res) * Managed pse_controller_register(). For PSE controllers registered by * this function, pse_controller_unregister() is automatically called on * driver detach. See pse_controller_register() for more information. + * + * Return: 0 on success and failure value on error */ int devm_pse_controller_register(struct device *dev, struct pse_controller_dev *pcdev) @@ -627,6 +631,8 @@ EXPORT_SYMBOL_GPL(of_pse_control_get); * @psec: PSE control pointer * @extack: extack for reporting useful error messages * @status: struct to store PSE status + * + * Return: 0 on success and failure value on error */ int pse_ethtool_get_status(struct pse_control *psec, struct netlink_ext_ack *extack, @@ -704,6 +710,8 @@ static int pse_ethtool_podl_set_config(struct pse_control *psec, * @psec: PSE control pointer * @extack: extack for reporting useful error messages * @config: Configuration of the test to run + * + * Return: 0 on success and failure value on error */ int pse_ethtool_set_config(struct pse_control *psec, struct netlink_ext_ack *extack, -- 2.34.1