PCI: remove excess kernel-doc notation
PATCH 6/7 PCI: remove excess kernel-doc notation
From: Randy Dunlap <[email protected]>
Fix pci/rom.c kernel-doc function notation:
Warning(drivers/pci/rom.c:110): Excess function parameter or struct member 'return' description in 'pci_map_rom' Warning(drivers/pci/rom.c:177): Excess function parameter or struct member 'return' description in 'pci_map_rom_copy'
Signed-off-by Randy Dunlap <[email protected]>
--- drivers/pci/rom.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/pci/rom.c +4 -2
@@ -100,7 +100,8 @@ size_t pci_get_rom_size(void __iomem *ro* pci_map_rom - map a PCI ROM to kernel space * @pdev: pointer to pci device struct * @size: pointer to receive size of pci window over ROM -* @return: kernel virtual pointer to image of ROM +* +* Return: kernel virtual pointer to image of ROM * * Map a PCI ROM into kernel space. If ROM is boot video ROM, * the shadow BIOS copy will be returned instead of the
@@ -167,7 +168,8 @@ void __iomem *pci_map_rom(struct pci_dev* pci_map_rom_copy - map a PCI ROM to kernel space, create a copy * @pdev: pointer to pci device struct * @size: pointer to receive size of pci window over ROM -* @return: kernel virtual pointer to image of ROM +* +* Return: kernel virtual pointer to image of ROM * * Map a PCI ROM into kernel space. If ROM is boot video ROM, * the shadow BIOS copy will be returned instead of the
Quoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix
pci/rom.ckernel-doc function notation:Warning(drivers/pci/rom.c:110): Excess function parameter or struct member 'return' description in '
pci_map_rom' Warning(drivers/pci/rom.c:177):
Excess function parameter or struct member 'return' description in 'pci_map_rom_copy'
Thanks Randy, applied.
Jesse