From patchwork Wed May 26 08:47:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448151 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017214jac; Wed, 26 May 2021 01:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhz18ectI93ozi6LXgINxKGSTzAIlVZaGq4JasLFCqw7QYI1AqBgNvzgdDzFoeNxaTKxSj X-Received: by 2002:a17:90a:4a92:: with SMTP id f18mr2870036pjh.49.1622018887180; Wed, 26 May 2021 01:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018887; cv=none; d=google.com; s=arc-20160816; b=szWNGcuOtdaXQ6z3iRJIPD+NCrgpe5PAw3vTopXpd5Vn06t9gOJzjvNYQZsYbj/Ws+ pfEuC3N8VzcJY5cJSAd1DbRjLqf8m/OJXaG3DmrPjeT1IZsPnPFKmsp0ufruFzYDTdC7 p44ZoQMmC3tALkrXccB3eB010lRT9GI90HZoByfGN6UK+bWb+hOSH7/l13IBd7nlqSnC GbXVoirNu2qLO6d44HAssakH7RCLsVqE12vJVdvvRzoOEcPu2o9yGNUl+ociciwjXo9g LDPi0cRa+PwJ0p8VbtwqpwIU5IaSlvw43IMkzdZXh07/blCsAaCoeBMQPpzcxGHelpPQ YdWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=GVVV7oC3GvG0tegvbTxE0ubOyUevvEeKiALUSzwxEr50BAVi+Jd2nilwRKVSUnf/ak vp9TQCyE9BYljXXA0B9q8kjGLLHRE06iRrMD+kYJBJxJAPQYbR00ZhY13TIKWFC+Kprm NH62OnCOU2mvEKaYkxQ//c3h+9+sp/R4oNdeSR7G5anu9FZYPgPeLy8/cq9Mk0hPFYHo jrU49CYrWKynb1DrOPxvIBqkLTwhqEqMukdbAh0iFPXnVuXxwpFgsdy0QQNzTX1FP8fU mjvZefiKRuROq3MHkxIGVIbuwxG7yCVmjcM0oqAD33IL4lP31eHRwU01Gs8dlGPOGuI7 wHBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HNTh7zdU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id l11si24331473pgt.576.2021.05.26.01.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HNTh7zdU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 479AE6EC36; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E613E6EC2F for ; Wed, 26 May 2021 08:47:55 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id v12so205069wrq.6 for ; Wed, 26 May 2021 01:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=HNTh7zdUvwEtjEWA62LQCOv5WbZVwfiFak+3qFdaky7HvKVpVvwY4opo1mlTiR/meN WP6x3hiWK3l/gA1WqdHuuXaoJZZPW/6FNAur7QJr5Dy+04ye7p4buPeL+pvqMMBriARj arf+UEDOVQTSXNCioRBw3xKVZE2ClviZA+yuMCNkXKULUH3AaKGKpUahBxLV3HHyuJQS NljYpyEQQmc6uP/gq9zUSEaqvwrK776TkKxHAC9XDGl1IMaWrCxsCSGSTmD4gBYL4pD8 qr7KJhvkL0jsF8keu21jzl+o4JSzogjgYcXzffE2KH4dt10f7dRqJueXo8n9tO7sBzU2 UH7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=CfkLEJa2UBDILBfgsUuDHCuu0QSFe63TZ+gvmTh7l99STKj7HnqXmDfxb934kHoCrt sXiHUmVnfkgRO6i3c83uJmvENCbsyNRsXFhf0W94LiRaq3fiBFA/GefIs3Z9Ki1TOyQ/ 2sCK6vJz3Z2hFFLj8uIf9n+HUvsED/NE+dfdyQbsC5IWH+2/hCmE8P91Egb7GY6EAMhD uBfT6S/PydSwE0IvJisWmhfF831M9DzqJ6eYL0C7xJFkmnI+JO8IVcSpO36m9NWxmOVz iBrhP10VC1q2gF/iBRU9WMPwSJdsybUMw5ug506ryeu5PWPtFjKc1F+2UrK/iKMOlrdt 4Bcg== X-Gm-Message-State: AOAM530G9E/5HgJDLaZGMoneTDuusS0jAwtS7T2DFla9JREiXUrMAQIR ViQU0R5/ZaYAAVSCKdUv7o4IxA== X-Received: by 2002:a05:6000:104a:: with SMTP id c10mr31722911wrx.45.1622018874571; Wed, 26 May 2021 01:47:54 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:54 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/34] drm/amd/display/dmub/src/dmub_srv_stat: Convert function header to kernel-doc Date: Wed, 26 May 2021 09:47:15 +0100 Message-Id: <20210526084726.552052-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Meenakshikumar Somasundaram , David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , Jun Lei , =?utf-8?q?Chr?= =?utf-8?q?istian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv_stat.c:38: warning: Cannot understand ***************************************************************************** Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Jun Lei Cc: Meenakshikumar Somasundaram Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../drm/amd/display/dmub/src/dmub_srv_stat.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c index e6f3bfab33d3e..70766d534c9c8 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c @@ -35,20 +35,13 @@ */ /** - ***************************************************************************** - * Function: dmub_srv_stat_get_notification + * dmub_srv_stat_get_notification - Retrieves a dmub outbox notification, set up dmub notification + * structure with message information. Also a pending bit if queue + * is having more notifications + * @dmub: dmub srv structure + * @notify: dmub notification structure to be filled up * - * @brief - * Retrieves a dmub outbox notification, set up dmub notification - * structure with message information. Also a pending bit if queue - * is having more notifications - * - * @param [in] dmub: dmub srv structure - * @param [out] pnotify: dmub notification structure to be filled up - * - * @return - * dmub_status - ***************************************************************************** + * Returns: dmub_status */ enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub, struct dmub_notification *notify)