diff mbox series

[23/34] drm/amd/display/dmub/src/dmub_srv_stat: Convert function header to kernel-doc

Message ID 20210526084726.552052-24-lee.jones@linaro.org
State New
Headers show
Series Rid W=1 warnings from GPU | expand

Commit Message

Lee Jones May 26, 2021, 8:47 a.m. UTC
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 <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Jun Lei <Jun.Lei@amd.com>
Cc: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 .../drm/amd/display/dmub/src/dmub_srv_stat.c  | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

-- 
2.31.1

Comments

Alex Deucher May 27, 2021, 4:27 a.m. UTC | #1
Applied.  Thanks!

On Wed, May 26, 2021 at 4:48 AM Lee Jones <lee.jones@linaro.org> wrote:
>

> 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 <harry.wentland@amd.com>

> Cc: Leo Li <sunpeng.li@amd.com>

> Cc: Alex Deucher <alexander.deucher@amd.com>

> Cc: "Christian König" <christian.koenig@amd.com>

> Cc: David Airlie <airlied@linux.ie>

> Cc: Daniel Vetter <daniel@ffwll.ch>

> Cc: Jun Lei <Jun.Lei@amd.com>

> Cc: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>

> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>

> Cc: amd-gfx@lists.freedesktop.org

> Cc: dri-devel@lists.freedesktop.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>

> ---

>  .../drm/amd/display/dmub/src/dmub_srv_stat.c  | 19 ++++++-------------

>  1 file changed, 6 insertions(+), 13 deletions(-)

>

> 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)

> --

> 2.31.1

>
diff mbox series

Patch

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)