public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function
@ 2024-03-08  7:32 Yang Li
  2024-03-08 16:02 ` Randy Dunlap
  2024-03-13 20:03 ` Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2024-03-08  7:32 UTC (permalink / raw)
  To: rafael, lenb; +Cc: linux-acpi, linux-kernel, Yang Li

This patch adds proper kernel-doc comments to the
handle_eject_request function in the ACPI dock subsystem.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/acpi/dock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index a89bdbe00184..a7c00ef78086 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -380,6 +380,8 @@ static int dock_in_progress(struct dock_station *ds)
 
 /**
  * handle_eject_request - handle an undock request checking for error conditions
+ * @ds: The dock station to undock.
+ * @event: The ACPI event number associated with the undock request.
  *
  * Check to make sure the dock device is still present, then undock and
  * hotremove all the devices that may need removing.
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function
  2024-03-08  7:32 [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function Yang Li
@ 2024-03-08 16:02 ` Randy Dunlap
  2024-03-13 20:03 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-03-08 16:02 UTC (permalink / raw)
  To: Yang Li, rafael, lenb; +Cc: linux-acpi, linux-kernel



On 3/7/24 23:32, Yang Li wrote:
> This patch adds proper kernel-doc comments to the
> handle_eject_request function in the ACPI dock subsystem.
> 
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

LGTM. Thanks.

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  drivers/acpi/dock.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
> index a89bdbe00184..a7c00ef78086 100644
> --- a/drivers/acpi/dock.c
> +++ b/drivers/acpi/dock.c
> @@ -380,6 +380,8 @@ static int dock_in_progress(struct dock_station *ds)
>  
>  /**
>   * handle_eject_request - handle an undock request checking for error conditions
> + * @ds: The dock station to undock.
> + * @event: The ACPI event number associated with the undock request.
>   *
>   * Check to make sure the dock device is still present, then undock and
>   * hotremove all the devices that may need removing.

-- 
#Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function
  2024-03-08  7:32 [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function Yang Li
  2024-03-08 16:02 ` Randy Dunlap
@ 2024-03-13 20:03 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2024-03-13 20:03 UTC (permalink / raw)
  To: Yang Li; +Cc: rafael, lenb, linux-acpi, linux-kernel

On Fri, Mar 8, 2024 at 8:32 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> This patch adds proper kernel-doc comments to the
> handle_eject_request function in the ACPI dock subsystem.
>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/acpi/dock.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
> index a89bdbe00184..a7c00ef78086 100644
> --- a/drivers/acpi/dock.c
> +++ b/drivers/acpi/dock.c
> @@ -380,6 +380,8 @@ static int dock_in_progress(struct dock_station *ds)
>
>  /**
>   * handle_eject_request - handle an undock request checking for error conditions
> + * @ds: The dock station to undock.
> + * @event: The ACPI event number associated with the undock request.
>   *
>   * Check to make sure the dock device is still present, then undock and
>   * hotremove all the devices that may need removing.
> --

Applied as 6.9-rc material with edits in the subject and changelog, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-13 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08  7:32 [PATCH -next] ACPI: Add kernel-doc comments to handle_eject_request function Yang Li
2024-03-08 16:02 ` Randy Dunlap
2024-03-13 20:03 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox