summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2024-04-15 09:52:20 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-15 09:22:03 +0200
commitebbc1a4789c666846b9854ef845a37a64879e5f9 (patch)
treed523b9dc080d11cdf79f55ec5650cce45772630e /drivers
parent4b9f86214c054ea2da2917f6c107b34f7076c181 (diff)
downloadlinux-stable-ebbc1a4789c666846b9854ef845a37a64879e5f9.tar.gz
linux-stable-ebbc1a4789c666846b9854ef845a37a64879e5f9.tar.bz2
linux-stable-ebbc1a4789c666846b9854ef845a37a64879e5f9.zip
uio: update kerneldoc comments for interrupt functions
Update the kerneldoc comment for uio_interrupt_handler and add one for uio_interrupt_thread. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/oe-kbuild-all/202404112227.mIATKoTb-lkp@intel.com/ Fixes: f8a27dfa4b82 ("uio: use threaded interrupts") Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Link: https://lore.kernel.org/r/20240414215220.2424597-1-chris.packham@alliedtelesis.co.nz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uio/uio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index e815856eb46c..5ce429286ab0 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -438,7 +438,7 @@ void uio_event_notify(struct uio_info *info)
EXPORT_SYMBOL_GPL(uio_event_notify);
/**
- * uio_interrupt - hardware interrupt handler
+ * uio_interrupt_handler - hardware interrupt handler
* @irq: IRQ number, can be UIO_IRQ_CYCLIC for cyclic timer
* @dev_id: Pointer to the devices uio_device structure
*/
@@ -454,6 +454,11 @@ static irqreturn_t uio_interrupt_handler(int irq, void *dev_id)
return ret;
}
+/**
+ * uio_interrupt_thread - irq thread handler
+ * @irq: IRQ number
+ * @dev_id: Pointer to the devices uio_device structure
+ */
static irqreturn_t uio_interrupt_thread(int irq, void *dev_id)
{
struct uio_device *idev = (struct uio_device *)dev_id;