* [PATCH v1 1/1] ACPI: resource: Amend kernel-doc style
@ 2026-06-17 9:05 Andy Shevchenko
2026-06-19 18:23 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2026-06-17 9:05 UTC (permalink / raw)
To: Rafael J. Wysocki, Andy Shevchenko, linux-acpi, linux-kernel
Cc: Rafael J. Wysocki, Len Brown
The functions are referred as func() in the kernel-doc. The % (percent)
character makes the rendering for constants as described in the respective
documentation. Amend all these.
Fixes: 8e345c991c8c ("ACPI: Centralized processing of ACPI device resources")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/acpi/resource.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index bc8050d8a6f5..56df4599d360 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -871,7 +871,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
EXPORT_SYMBOL_GPL(acpi_dev_resource_interrupt);
/**
- * acpi_dev_free_resource_list - Free resource from %acpi_dev_get_resources().
+ * acpi_dev_free_resource_list - Free resource from acpi_dev_get_resources().
* @list: The head of the resource list to free.
*/
void acpi_dev_free_resource_list(struct list_head *list)
@@ -991,7 +991,7 @@ static int __acpi_dev_get_resources(struct acpi_device *adev,
*
* The resultant struct resource objects are put on the list pointed to by
* @list, that must be empty initially, as members of struct resource_entry
- * objects. Callers of this routine should use %acpi_dev_free_resource_list() to
+ * objects. Callers of this routine should use acpi_dev_free_resource_list() to
* free that list.
*
* The number of resources in the output list is returned on success, an error
@@ -1032,7 +1032,7 @@ static int is_memory(struct acpi_resource *ares, void *not_used)
* The resultant struct resource objects are put on the list pointed to
* by @list, that must be empty initially, as members of struct
* resource_entry objects. Callers of this routine should use
- * %acpi_dev_free_resource_list() to free that list.
+ * acpi_dev_free_resource_list() to free that list.
*
* The number of resources in the output list is returned on success,
* an error code reflecting the error condition is returned otherwise.
--
2.50.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] ACPI: resource: Amend kernel-doc style
2026-06-17 9:05 [PATCH v1 1/1] ACPI: resource: Amend kernel-doc style Andy Shevchenko
@ 2026-06-19 18:23 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-06-19 18:23 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Rafael J. Wysocki, linux-acpi, linux-kernel, Rafael J. Wysocki,
Len Brown
On Wed, Jun 17, 2026 at 11:06 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> The functions are referred as func() in the kernel-doc. The % (percent)
> character makes the rendering for constants as described in the respective
> documentation. Amend all these.
>
> Fixes: 8e345c991c8c ("ACPI: Centralized processing of ACPI device resources")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/acpi/resource.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index bc8050d8a6f5..56df4599d360 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -871,7 +871,7 @@ bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
> EXPORT_SYMBOL_GPL(acpi_dev_resource_interrupt);
>
> /**
> - * acpi_dev_free_resource_list - Free resource from %acpi_dev_get_resources().
> + * acpi_dev_free_resource_list - Free resource from acpi_dev_get_resources().
> * @list: The head of the resource list to free.
> */
> void acpi_dev_free_resource_list(struct list_head *list)
> @@ -991,7 +991,7 @@ static int __acpi_dev_get_resources(struct acpi_device *adev,
> *
> * The resultant struct resource objects are put on the list pointed to by
> * @list, that must be empty initially, as members of struct resource_entry
> - * objects. Callers of this routine should use %acpi_dev_free_resource_list() to
> + * objects. Callers of this routine should use acpi_dev_free_resource_list() to
> * free that list.
> *
> * The number of resources in the output list is returned on success, an error
> @@ -1032,7 +1032,7 @@ static int is_memory(struct acpi_resource *ares, void *not_used)
> * The resultant struct resource objects are put on the list pointed to
> * by @list, that must be empty initially, as members of struct
> * resource_entry objects. Callers of this routine should use
> - * %acpi_dev_free_resource_list() to free that list.
> + * acpi_dev_free_resource_list() to free that list.
> *
> * The number of resources in the output list is returned on success,
> * an error code reflecting the error condition is returned otherwise.
> --
Applied as 7.2-rc material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-19 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 9:05 [PATCH v1 1/1] ACPI: resource: Amend kernel-doc style Andy Shevchenko
2026-06-19 18:23 ` 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