linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: "Daniel W. S. Almeida" <dwlsalmeida@gmail.com>
Cc: mchehab@kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 01/25] Documentation: amdgpu_device_suspend: Fix sphinx warning
Date: Fri, 17 Jul 2020 13:06:53 -0600	[thread overview]
Message-ID: <20200717130653.347d2f20@lwn.net> (raw)
In-Reply-To: <20200717185624.2009393-1-dwlsalmeida@gmail.com>

On Fri, 17 Jul 2020 15:56:00 -0300
"Daniel W. S. Almeida" <dwlsalmeida@gmail.com> wrote:

> From: "Daniel W. S. Almeida" <dwlsalmeida@gmail.com>
> 
> Fix this warning:
> 
> warning: Excess function parameter 'suspend' description in
> 'amdgpu_device_suspend'
> 
> Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index a027a8f7b2819..9e67abe8d0aad 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -3377,7 +3377,6 @@ void amdgpu_device_fini(struct amdgpu_device *adev)
>   * amdgpu_device_suspend - initiate device suspend
>   *
>   * @dev: drm dev pointer
> - * @suspend: suspend state
>   * @fbcon : notify the fbdev of suspend

Thanks for working to improve the docs build!  I do have a couple of
requests, though:

 - Use get_maintainer.pl to create a proper list of recipients for your
   patches.  Neither Mauro nor I should be applying patches to the DRM
   subsystem.

 - Please work on your subject lines; "fix warning" is rarely useful.
   What you have done here is to correct a kerneldoc comment, so the
   subject line should say "remove excess parameter in kerneldoc comment"
   or some such.  Also look at commits in the DRM subsystem and try to
   follow their conventions in general.

Those comments apply in similar form to the rest of the patches as well.

Thanks,

jon

      parent reply	other threads:[~2020-07-17 19:06 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 18:56 [PATCH 01/25] Documentation: amdgpu_device_suspend: Fix sphinx warning Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 02/25] Documentation: amdgpu_device_resume: " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 03/25] Documentation: amdgpu_vram_mgr_del: fix sphinx warnings Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 04/25] Documentation: amdgpu_gtt_mgr_del: " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 05/25] Documentation: serial_core.c: uart_get_rs485_mode: Fix " Daniel W. S. Almeida
2020-07-17 19:35   ` Randy Dunlap
2020-07-17 18:56 ` [PATCH 06/25] Documentation: usbstring: usb_validate_langid: " Daniel W. S. Almeida
2020-07-17 19:36   ` Randy Dunlap
2020-07-17 18:56 ` [PATCH 07/25] Documentation: gpio/driver.h: fix " Daniel W. S. Almeida
2020-07-17 19:37   ` Randy Dunlap
2020-07-17 19:48     ` Joe Perches
2020-07-17 21:18       ` Randy Dunlap
2020-07-17 18:56 ` [PATCH 08/25] Documentation: events/block.h: fix sphinx warning Daniel W. S. Almeida
2020-07-17 19:39   ` Randy Dunlap
     [not found]     ` <RO1PR80MB35622AF97F6C440884FF4B46A07C0@RO1PR80MB3562.lamprd80.prod.outlook.com>
2020-07-17 19:51       ` Jonathan Corbet
2020-07-17 18:56 ` [PATCH 09/25] Documentation: rcu/tree.c: rcu_nmi_enter: " Daniel W. S. Almeida
2020-07-17 19:40   ` Randy Dunlap
2020-07-17 18:56 ` [PATCH 10/25] Documentation: rculist.h: " Daniel W. S. Almeida
2020-07-17 19:40   ` Randy Dunlap
2020-07-17 18:56 ` [PATCH 11/25] Documentation: vmalloc.c: " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 12/25] Documentation/admin-guide/mm/index.rst: Fix " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 13/25] Documentation: watch_queue.rst: fix sphinx warnings Daniel W. S. Almeida
2020-07-17 19:42   ` Randy Dunlap
2020-07-17 19:50     ` Jonathan Corbet
2020-07-17 18:56 ` [PATCH 14/25] Documentation: kvm/api.rst: Fix " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 15/25] Documentation: staging/tee.rst: fix " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 16/25] Documentation/process/index.rst: Fix sphinx warning Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 17/25] Documentation/bpf/bpf_devel_QA.rst: fix " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 18/25] Documentation/bpf/ringbuf.rst: fix sphinx warnings Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 19/25] Documentation/core-api/printk-formats.rst: fix sphinx warning Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 20/25] Documentation/admin-guide/device-mapper/dm-ebs.rst: fix sphinx warnings Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 21/25] Documentation/admin-guide/index.rst: fix sphinx warning Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 22/25] Documentation/bpf/index.rst: fix sphinx warning: Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 23/25] Documentation/firmware-guide/acpi/index.rst: fix sphinx warning Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 24/25] Documentation/trace/index.rst: " Daniel W. S. Almeida
2020-07-17 18:56 ` [PATCH 25/25] Documentation/index.rst: Add watch_queue Daniel W. S. Almeida
2020-07-17 19:06 ` Jonathan Corbet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200717130653.347d2f20@lwn.net \
    --to=corbet@lwn.net \
    --cc=dwlsalmeida@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).