tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git 100GbE
head: 2c89ef0b849b5d1bdba9bcc93a70f52c4752bc23
commit: 2c89ef0b849b5d1bdba9bcc93a70f52c4752bc23 [15/15] idpf: Introduce idpf driver
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 2c89ef0b849b5d1bdba9bcc93a70f52c4752bc23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/net/ethernet/intel/idpf/idpf_main.c:46:5: warning: no
previous prototype for function 'idpf_probe' [-Wmissing-prototypes]
int
idpf_probe(struct pci_dev *pdev,
^
drivers/net/ethernet/intel/idpf/idpf_main.c:46:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int idpf_probe(struct pci_dev *pdev,
^
static
1 warning generated.
vim +/idpf_probe +46 drivers/net/ethernet/intel/idpf/idpf_main.c
38
39 /**
40 * idpf_probe - Device initialization routine
41 * @pdev: PCI device information struct
42 * @ent: entry in idpf_pci_tbl
43 *
44 * Returns 0 on success, negative on failure
45 */
46 int idpf_probe(struct pci_dev *pdev,
47 const
struct pci_device_id __always_unused *ent)
48 {
49 struct iecm_adapter *adapter = NULL;
50 int err;
51
52 err = pcim_enable_device(pdev);
53 if (err)
54 return err;
55
56 adapter = kzalloc(sizeof(*adapter), GFP_KERNEL);
57 if (!adapter)
58 return -ENOMEM;
59
60 adapter->dev_ops.reg_ops_init = idpf_reg_ops_init;
61
62 err = iecm_probe(pdev, ent, adapter);
63 if (err)
64 kfree(adapter);
65
66 return err;
67 }
68
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org