From: kernel test robot <lkp@intel.com>
To: "Michał Winiarski" <michal.winiarski@intel.com>,
linux-pci@vger.kernel.org, intel-xe@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
"Bjorn Helgaas" <helgaas@kernel.org>,
"Christian König" <christian.koenig@amd.com>,
"Krzysztof Wilczyński" <kw@linux.com>
Cc: oe-kbuild-all@lists.linux.dev,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"Michal Wajdeczko" <michal.wajdeczko@intel.com>,
"Lucas De Marchi" <lucas.demarchi@intel.com>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Matt Roper" <matthew.d.roper@intel.com>,
"Michał Winiarski" <michal.winiarski@intel.com>
Subject: Re: [PATCH v2 2/3] PCI: Allow extending VF BAR within original resource boundary
Date: Fri, 20 Sep 2024 19:09:27 +0800 [thread overview]
Message-ID: <202409201854.z0daqyYE-lkp@intel.com> (raw)
In-Reply-To: <20240919223557.1897608-3-michal.winiarski@intel.com>
Hi Michał,
kernel test robot noticed the following build warnings:
[auto build test WARNING on pci/for-linus]
[also build test WARNING on drm-xe/drm-xe-next drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.11 next-20240920]
[cannot apply to pci/next]
[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/Micha-Winiarski/PCI-Add-support-for-VF-Resizable-Bar-extended-cap/20240920-064112
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git for-linus
patch link: https://lore.kernel.org/r/20240919223557.1897608-3-michal.winiarski%40intel.com
patch subject: [PATCH v2 2/3] PCI: Allow extending VF BAR within original resource boundary
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20240920/202409201854.z0daqyYE-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240920/202409201854.z0daqyYE-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/202409201854.z0daqyYE-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/pci/of.c:12:
include/linux/pci.h: In function 'pci_iov_resource_extend':
>> include/linux/pci.h:2421:10: warning: 'return' with a value, in function returning void [-Wreturn-type]
2421 | { return -ENODEV; }
| ^
include/linux/pci.h:2420:20: note: declared here
2420 | static inline void pci_iov_resource_extend(struct pci_dev *dev, int resno, bool enable)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/return +2421 include/linux/pci.h
2397
2398 static inline int pci_iov_sysfs_link(struct pci_dev *dev,
2399 struct pci_dev *virtfn, int id)
2400 {
2401 return -ENODEV;
2402 }
2403 static inline int pci_iov_add_virtfn(struct pci_dev *dev, int id)
2404 {
2405 return -ENOSYS;
2406 }
2407 static inline void pci_iov_remove_virtfn(struct pci_dev *dev,
2408 int id) { }
2409 static inline void pci_disable_sriov(struct pci_dev *dev) { }
2410 static inline int pci_num_vf(struct pci_dev *dev) { return 0; }
2411 static inline int pci_vfs_assigned(struct pci_dev *dev)
2412 { return 0; }
2413 static inline int pci_sriov_set_totalvfs(struct pci_dev *dev, u16 numvfs)
2414 { return 0; }
2415 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev)
2416 { return 0; }
2417 #define pci_sriov_configure_simple NULL
2418 static inline resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno)
2419 { return 0; }
2420 static inline void pci_iov_resource_extend(struct pci_dev *dev, int resno, bool enable)
> 2421 { return -ENODEV; }
2422 static inline void pci_vf_drivers_autoprobe(struct pci_dev *dev, bool probe) { }
2423 #endif
2424
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-09-20 11:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-19 22:35 [PATCH v2 0/3] PCI: VF resizable BAR Michał Winiarski
2024-09-19 22:35 ` [PATCH v2 1/3] PCI: Add support for VF Resizable Bar extended cap Michał Winiarski
2024-09-20 8:36 ` kernel test robot
2024-09-20 9:57 ` Christian König
2024-10-10 8:46 ` Michał Winiarski
2024-09-19 22:35 ` [PATCH v2 2/3] PCI: Allow extending VF BAR within original resource boundary Michał Winiarski
2024-09-20 10:07 ` Christian König
2024-10-10 8:59 ` Michał Winiarski
[not found] ` <8fa25483-d6e2-4614-aa2a-c41af0529e5c@amd.com>
2024-10-11 9:23 ` Christian König
2024-09-20 11:09 ` kernel test robot [this message]
2024-09-20 11:19 ` kernel test robot
2024-09-20 11:30 ` Ilpo Järvinen
2024-10-10 8:43 ` Michał Winiarski
2024-09-19 22:35 ` [PATCH v2 3/3] drm/xe/pf: Extend the VF LMEM BAR Michał Winiarski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202409201854.z0daqyYE-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=helgaas@kernel.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthew.d.roper@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=michal.winiarski@intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
--cc=simona@ffwll.ch \
--cc=thomas.hellstrom@linux.intel.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).