From: Brian Mak <bmak@nvidia.com>
To: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: "David Cemin" <dcemin@nvidia.com>,
"Lucas De Marchi" <ldemarchi@nvidia.com>,
"Kurt Borja" <kuurtb@gmail.com>,
"Stuart Hayes" <stuart.w.hayes@gmail.com>,
"Matthew Garrett" <mjg59@srcf.ucam.org>,
"Pali Rohár" <pali@kernel.org>,
"Lyndon Sanche" <lsanche@lyndeno.ca>,
"Armin Wolf" <W_Armin@gmx.de>,
"Prasanth Ksr" <prasanth.ksr@dell.com>,
"Jonathan Corbet" <corbet@lwn.net>,
"Shuah Khan" <skhan@linuxfoundation.org>,
"Randy Dunlap" <rdunlap@infradead.org>,
platform-driver-x86@vger.kernel.org, Dell.Client.Kernel@dell.com,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
"Brian Mak" <bmak@nvidia.com>,
"kernel test robot" <lkp@intel.com>
Subject: [PATCH v2 02/10] platform/x86: dell: dcdbas: Add missing kernel-doc descriptions
Date: Mon, 23 Nov 2026 15:08:53 -0800 [thread overview]
Message-ID: <20261123230905.13899-3-bmak@nvidia.com> (raw)
In-Reply-To: <20261123230905.13899-1-bmak@nvidia.com>
Several kernel-doc comments in dcdbas are missing descriptions for
their function parameters, which causes kernel-doc warnings in W=1
builds:
function parameter 'size' not described in 'smi_data_buf_realloc'
function parameter 'smi_cmd' not described in 'dcdbas_smi_request'
function parameter 'dev' not described in 'smi_request_store'
...
function parameter 'nb' not described in 'dcdbas_reboot_notify'
Add the missing parameter descriptions and a short description for
smi_request_store(), which had none.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202611211817.BLHa92e0-lkp@intel.com/
Signed-off-by: Brian Mak <bmak@nvidia.com>
---
drivers/platform/x86/dell/dcdbas.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/platform/x86/dell/dcdbas.c b/drivers/platform/x86/dell/dcdbas.c
index 678f44252a45..62bff0aaba11 100644
--- a/drivers/platform/x86/dell/dcdbas.c
+++ b/drivers/platform/x86/dell/dcdbas.c
@@ -99,6 +99,7 @@ static void smi_data_buf_free(void)
/**
* smi_data_buf_realloc: grow SMI data buffer if needed
+ * @size: minimum required buffer size in bytes
*/
static int smi_data_buf_realloc(unsigned long size)
{
@@ -278,6 +279,7 @@ static int raise_smi(void *par)
}
/**
* dcdbas_smi_request: generate SMI request
+ * @smi_cmd: SMI command to issue
*
* Called with smi_data_lock.
*/
@@ -301,7 +303,11 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd)
EXPORT_SYMBOL(dcdbas_smi_request);
/**
- * smi_request_store:
+ * smi_request_store: handle a write to the smi_request sysfs attribute
+ * @dev: device the attribute belongs to
+ * @attr: device attribute being written
+ * @buf: value written by userspace
+ * @count: number of bytes in @buf
*
* The valid values are:
* 0: zero SMI data buffer
@@ -610,6 +616,9 @@ static int dcdbas_check_wsmt(void)
/**
* dcdbas_reboot_notify: handle reboot notification for host control
+ * @nb: notifier block
+ * @code: reboot event (SYS_DOWN, SYS_HALT or SYS_POWER_OFF)
+ * @unused: unused
*/
static int dcdbas_reboot_notify(struct notifier_block *nb, unsigned long code,
void *unused)
--
2.53.0
next prev parent reply other threads:[~2026-11-23 23:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 23:08 [PATCH v2 00/10] platform: dell: Move out of x86 and support Dell XPS 16 Creator Edition Brian Mak
2026-11-23 23:08 ` [PATCH v2 01/10] platform/x86: dell: Make uart-backlight x86 only Brian Mak
2026-11-23 23:08 ` Brian Mak [this message]
2026-11-23 23:08 ` [PATCH v2 03/10] platform: dell: Move out of x86 directory Brian Mak
2026-11-23 23:08 ` [PATCH v2 04/10] MAINTAINERS: Add Dell platform drivers entry Brian Mak
2026-11-23 23:08 ` [PATCH v2 05/10] platform: dell: laptop: Compile out i8042 usage without SERIO_I8042 Brian Mak
2026-11-23 23:08 ` [PATCH v2 06/10] platform: dell: Allow DELL_LAPTOP to be arch-independent Brian Mak
2026-11-23 23:08 ` [PATCH v2 07/10] platform: dell: smbios-wmi: Fix probe on RTX Spark Brian Mak
2026-11-23 23:08 ` [PATCH v2 08/10] platform: dell: smbios: Add quirk for non-functional calling interface Brian Mak
2026-11-23 23:09 ` [PATCH v2 09/10] platform: dell: laptop: Don't load if SMBIOS calls are non-functional Brian Mak
2026-11-23 23:09 ` [PATCH v2 10/10] platform: dell: pc: " Brian Mak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123230905.13899-3-bmak@nvidia.com \
--to=bmak@nvidia.com \
--cc=Dell.Client.Kernel@dell.com \
--cc=W_Armin@gmx.de \
--cc=corbet@lwn.net \
--cc=dcemin@nvidia.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kuurtb@gmail.com \
--cc=ldemarchi@nvidia.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lsanche@lyndeno.ca \
--cc=mjg59@srcf.ucam.org \
--cc=pali@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=prasanth.ksr@dell.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=stuart.w.hayes@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox