Skip to content

Commit 7d6707a

Browse files
jacob-kellerJeff Kirsher
authored andcommitted
fm10k: fix incorrect warning for function prototype
Recent kernels now complain about incorrect function prototype comments, in order to ensure comments are accurate to the function. However, it incorrectly associates the comment above the fm10k_pci_tbl[] as a function header comment. Fix this by removing the extra "*" in the comment. This normally indicates that the function is a doxygen style function header comment. Once removed, the logic no longer kicks in and the following warning is fixed: warning: cannot understand function prototype: 'const struct pci_device_id fm10k_pci_tbl[] = ' Signed-off-by: Jacob Keller <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 363656e commit 7d6707a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/fm10k/fm10k_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static const struct fm10k_info *fm10k_info_tbl[] = {
2929
[fm10k_device_vf] = &fm10k_vf_info,
3030
};
3131

32-
/**
32+
/*
3333
* fm10k_pci_tbl - PCI Device ID Table
3434
*
3535
* Wildcard entries (PCI_ANY_ID) should come last

0 commit comments

Comments
 (0)