Skip to content

Commit 6f2f92c

Browse files
LiBaokun96rafaeljw
authored andcommitted
ACPI: sysfs: fix doc warnings in device_sysfs.c
Fixes the following W=1 kernel build warning(s): drivers/acpi/device_sysfs.c:278: warning: Function parameter or member 'dev' not described in 'acpi_device_uevent_modalias' drivers/acpi/device_sysfs.c:278: warning: Function parameter or member 'env' not described in 'acpi_device_uevent_modalias' drivers/acpi/device_sysfs.c:323: warning: Function parameter or member 'dev' not described in 'acpi_device_modalias' drivers/acpi/device_sysfs.c:323: warning: Function parameter or member 'buf' not described in 'acpi_device_modalias' drivers/acpi/device_sysfs.c:323: warning: Function parameter or member 'size' not described in 'acpi_device_modalias' Signed-off-by: Baokun Li <[email protected]> [ rjw: Fix spelling: acpi -> ACPI ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 85c1ad4 commit 6f2f92c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/acpi/device_sysfs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ int __acpi_device_uevent_modalias(struct acpi_device *adev,
268268

269269
/**
270270
* acpi_device_uevent_modalias - uevent modalias for ACPI-enumerated devices.
271+
* @dev: Struct device to get ACPI device node.
272+
* @env: Environment variables of the kobject uevent.
271273
*
272274
* Create the uevent modalias field for ACPI-enumerated devices.
273275
*
@@ -313,6 +315,9 @@ static int __acpi_device_modalias(struct acpi_device *adev, char *buf, int size)
313315

314316
/**
315317
* acpi_device_modalias - modalias sysfs attribute for ACPI-enumerated devices.
318+
* @dev: Struct device to get ACPI device node.
319+
* @buf: The buffer to save pnp_modalias and of_modalias.
320+
* @size: Size of buffer.
316321
*
317322
* Create the modalias sysfs attribute for ACPI-enumerated devices.
318323
*

0 commit comments

Comments
 (0)