On Tue, 23 Jun 2020 15:40:43 -0700 Jeff Kirsher wrote: > +/** > + * idpf_probe - Device initialization routine > + * @pdev: PCI device information struct > + * @ent: entry in idpf_pci_tbl > + * > + * Returns 0 on success, negative on failure > + */ > +int idpf_probe(struct pci_dev *pdev, > + const struct pci_device_id __always_unused *ent)
drivers/net/ethernet/intel/idpf/idpf_main.c:46:5: warning: symbol 'idpf_probe' was not declared. Should it be static? drivers/net/ethernet/intel/idpf/idpf_main.c:46:5: warning: no previous prototype for idpf_probe [-Wmissing-prototypes] 46 | int idpf_probe(struct pci_dev *pdev, | ^~~~~~~~~~