Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chris Packham and committed by
Greg Kroah-Hartman
ebbc1a47 4b9f8621

+6 -1
+6 -1
drivers/uio/uio.c
··· 438 438 EXPORT_SYMBOL_GPL(uio_event_notify); 439 439 440 440 /** 441 - * uio_interrupt - hardware interrupt handler 441 + * uio_interrupt_handler - hardware interrupt handler 442 442 * @irq: IRQ number, can be UIO_IRQ_CYCLIC for cyclic timer 443 443 * @dev_id: Pointer to the devices uio_device structure 444 444 */ ··· 454 454 return ret; 455 455 } 456 456 457 + /** 458 + * uio_interrupt_thread - irq thread handler 459 + * @irq: IRQ number 460 + * @dev_id: Pointer to the devices uio_device structure 461 + */ 457 462 static irqreturn_t uio_interrupt_thread(int irq, void *dev_id) 458 463 { 459 464 struct uio_device *idev = (struct uio_device *)dev_id;