lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] acpi/bus: fix doc warnings in bus.c
Date
Fixes the following W=1 kernel build warning(s):

drivers/acpi/bus.c:437: warning: Function parameter or
member 'handle' not described in 'acpi_bus_notify'
drivers/acpi/bus.c:437: warning: Function parameter or
member 'type' not described in 'acpi_bus_notify'
drivers/acpi/bus.c:437: warning: Function parameter or
member 'data' not described in 'acpi_bus_notify'

Signed-off-by: Baokun Li <libaokun1@huawei.com>
---
drivers/acpi/bus.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index be7da23fad76..021b85ff990a 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -430,6 +430,9 @@ static void acpi_bus_osc_negotiate_usb_control(void)

/**
* acpi_bus_notify
+ * @handle: Handle to acpi device.
+ * @type: ACPI device event type.
+ * @data: ACPI device data.
* ---------------
* Callback for all 'system-level' device notifications (values 0x00-0x7F).
*/
--
2.31.1
\
 
 \ /
  Last update: 2021-06-08 04:29    [W:0.030 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site