lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210608023733.2745553-1-libaokun1@huawei.com>
Date:   Tue, 8 Jun 2021 10:37:33 +0800
From:   Baokun Li <libaokun1@...wei.com>
To:     <rjw@...ysocki.net>, <lenb@...nel.org>,
        <linux-acpi@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC:     <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
        <yangjihong1@...wei.com>, <yukuai3@...wei.com>,
        <libaokun1@...wei.com>
Subject: [PATCH -next] acpi/bus: fix doc warnings in bus.c

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@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ