public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v4 6/7] PCI: Add TLP Prefix reading into pcie_read_tlp_log()
       [not found] <20240510100730.18805-7-ilpo.jarvinen@linux.intel.com>
@ 2024-05-11 22:35 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-11 22:35 UTC (permalink / raw)
  To: Ilpo Järvinen; +Cc: llvm, oe-kbuild-all

Hi Ilpo,

kernel test robot noticed the following build errors:

[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.9-rc7 next-20240510]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ilpo-J-rvinen/PCI-Don-t-expose-pcie_read_tlp_log-outside-of-PCI-subsystem/20240510-181053
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link:    https://lore.kernel.org/r/20240510100730.18805-7-ilpo.jarvinen%40linux.intel.com
patch subject: [PATCH v4 6/7] PCI: Add TLP Prefix reading into pcie_read_tlp_log()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20240512/202405120622.EamQ5vz3-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240512/202405120622.EamQ5vz3-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405120622.EamQ5vz3-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/pci/pcie/tlp.c:34:12: error: no member named 'dpc_rp_log_size' in 'struct pci_dev'
      34 |         if (pdev->dpc_rp_log_size >= 5)
         |             ~~~~  ^
   drivers/pci/pcie/tlp.c:35:16: error: no member named 'dpc_rp_log_size' in 'struct pci_dev'
      35 |                 return pdev->dpc_rp_log_size - 1;
         |                        ~~~~  ^
   drivers/pci/pcie/tlp.c:37:15: error: no member named 'dpc_rp_log_size' in 'struct pci_dev'
      37 |         return pdev->dpc_rp_log_size;
         |                ~~~~  ^
   3 errors generated.


vim +34 drivers/pci/pcie/tlp.c

    24	
    25	/**
    26	 * dpc_tlp_log_len - Calculates DPC RP PIO TLP Header/Prefix Log length
    27	 * @dev: PCIe device
    28	 *
    29	 * Return: TLP Header/Prefix Log length
    30	 */
    31	unsigned int dpc_tlp_log_len(struct pci_dev *pdev)
    32	{
    33		/* Remove ImpSpec Log register from the count */
  > 34		if (pdev->dpc_rp_log_size >= 5)
    35			return pdev->dpc_rp_log_size - 1;
    36	
    37		return pdev->dpc_rp_log_size;
    38	}
    39	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-11 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240510100730.18805-7-ilpo.jarvinen@linux.intel.com>
2024-05-11 22:35 ` [PATCH v4 6/7] PCI: Add TLP Prefix reading into pcie_read_tlp_log() kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox