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

Configure Feed

Select the types of activity you want to include in your feed.

serial: 8250_exar: Describe all parameters in kernel doc

Kernel doc validator is not happy:

warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_xr17c15x_xr17v25x'
warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_fpga'
warning: Function parameter or struct member 'pcidev' not described in 'cti_get_port_type_xr17v35x'

Add missed descriptions.

Fixes: f7ce07062988 ("serial: exar: add CTI specific setup code")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Parker Newman <pnewman@connecttech.com>
Link: https://lore.kernel.org/r/20240503171917.2921250-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Andy Shevchenko and committed by
Greg Kroah-Hartman
19234a5f 53ea31bb

+3
+3
drivers/tty/serial/8250/8250_exar.c
··· 715 715 /** 716 716 * cti_get_port_type_xr17c15x_xr17v25x() - Get port type of xr17c15x/xr17v25x 717 717 * @priv: Device's private structure 718 + * @pcidev: Pointer to the PCI device for this port 718 719 * @port_num: Port to get type of 719 720 * 720 721 * CTI xr17c15x and xr17v25x based cards port types are based on PCI IDs. ··· 808 807 /** 809 808 * cti_get_port_type_fpga() - Get the port type of a CTI FPGA card 810 809 * @priv: Device's private structure 810 + * @pcidev: Pointer to the PCI device for this port 811 811 * @port_num: Port to get type of 812 812 * 813 813 * FPGA based cards port types are based on PCI IDs. ··· 838 836 /** 839 837 * cti_get_port_type_xr17v35x() - Read port type from the EEPROM 840 838 * @priv: Device's private structure 839 + * @pcidev: Pointer to the PCI device for this port 841 840 * @port_num: port offset 842 841 * 843 842 * CTI XR17V35X based cards have the port types stored in the EEPROM.