Commit de735e7f authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

misc: mei: hw-me.c: fix kernel-doc warnings

Fix kernel-doc warnings in hw-me.c:

hw-me.c:1391: warning: contents before sections
hw-me.c:1475: warning: contents before sections
hw-me.c:1501: warning: contents before sections
hw-me.c:1525: warning: contents before sections
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231012024845.29169-6-rdunlap@infradead.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbe3599e
...@@ -1379,6 +1379,8 @@ EXPORT_SYMBOL_GPL(mei_me_irq_thread_handler); ...@@ -1379,6 +1379,8 @@ EXPORT_SYMBOL_GPL(mei_me_irq_thread_handler);
/** /**
* mei_me_polling_thread - interrupt register polling thread * mei_me_polling_thread - interrupt register polling thread
* *
* @_dev: mei device
*
* The thread monitors the interrupt source register and calls * The thread monitors the interrupt source register and calls
* mei_me_irq_thread_handler() to handle the firmware * mei_me_irq_thread_handler() to handle the firmware
* input. * input.
...@@ -1388,8 +1390,6 @@ EXPORT_SYMBOL_GPL(mei_me_irq_thread_handler); ...@@ -1388,8 +1390,6 @@ EXPORT_SYMBOL_GPL(mei_me_irq_thread_handler);
* time increases yet again by MEI_POLLING_TIMEOUT_ACTIVE * time increases yet again by MEI_POLLING_TIMEOUT_ACTIVE
* up to MEI_POLLING_TIMEOUT_IDLE. * up to MEI_POLLING_TIMEOUT_IDLE.
* *
* @_dev: mei device
*
* Return: always 0 * Return: always 0
*/ */
int mei_me_polling_thread(void *_dev) int mei_me_polling_thread(void *_dev)
...@@ -1468,12 +1468,12 @@ static const struct mei_hw_ops mei_me_hw_ops = { ...@@ -1468,12 +1468,12 @@ static const struct mei_hw_ops mei_me_hw_ops = {
/** /**
* mei_me_fw_type_nm() - check for nm sku * mei_me_fw_type_nm() - check for nm sku
* *
* @pdev: pci device
*
* Read ME FW Status register to check for the Node Manager (NM) Firmware. * Read ME FW Status register to check for the Node Manager (NM) Firmware.
* The NM FW is only signaled in PCI function 0. * The NM FW is only signaled in PCI function 0.
* __Note__: Deprecated by PCH8 and newer. * __Note__: Deprecated by PCH8 and newer.
* *
* @pdev: pci device
*
* Return: true in case of NM firmware * Return: true in case of NM firmware
*/ */
static bool mei_me_fw_type_nm(const struct pci_dev *pdev) static bool mei_me_fw_type_nm(const struct pci_dev *pdev)
...@@ -1494,12 +1494,12 @@ static bool mei_me_fw_type_nm(const struct pci_dev *pdev) ...@@ -1494,12 +1494,12 @@ static bool mei_me_fw_type_nm(const struct pci_dev *pdev)
/** /**
* mei_me_fw_type_sps_4() - check for sps 4.0 sku * mei_me_fw_type_sps_4() - check for sps 4.0 sku
* *
* @pdev: pci device
*
* Read ME FW Status register to check for SPS Firmware. * Read ME FW Status register to check for SPS Firmware.
* The SPS FW is only signaled in the PCI function 0. * The SPS FW is only signaled in the PCI function 0.
* __Note__: Deprecated by SPS 5.0 and newer. * __Note__: Deprecated by SPS 5.0 and newer.
* *
* @pdev: pci device
*
* Return: true in case of SPS firmware * Return: true in case of SPS firmware
*/ */
static bool mei_me_fw_type_sps_4(const struct pci_dev *pdev) static bool mei_me_fw_type_sps_4(const struct pci_dev *pdev)
...@@ -1519,11 +1519,11 @@ static bool mei_me_fw_type_sps_4(const struct pci_dev *pdev) ...@@ -1519,11 +1519,11 @@ static bool mei_me_fw_type_sps_4(const struct pci_dev *pdev)
/** /**
* mei_me_fw_type_sps_ign() - check for sps or ign sku * mei_me_fw_type_sps_ign() - check for sps or ign sku
* *
* @pdev: pci device
*
* Read ME FW Status register to check for SPS or IGN Firmware. * Read ME FW Status register to check for SPS or IGN Firmware.
* The SPS/IGN FW is only signaled in pci function 0 * The SPS/IGN FW is only signaled in pci function 0
* *
* @pdev: pci device
*
* Return: true in case of SPS/IGN firmware * Return: true in case of SPS/IGN firmware
*/ */
static bool mei_me_fw_type_sps_ign(const struct pci_dev *pdev) static bool mei_me_fw_type_sps_ign(const struct pci_dev *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment