From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] xen-pciback: allow compiling on other archs than x86
Date: Thu, 28 Oct 2021 21:21:52 +0800 [thread overview]
Message-ID: <202110282138.K5tXbuSv-lkp@intel.com> (raw)
In-Reply-To: <20211028061341.1479333-1-andr2000@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3751 bytes --]
Hi Oleksandr,
I love your patch! Perhaps something to improve:
[auto build test WARNING on xen-tip/linux-next]
[also build test WARNING on linux/master linus/master v5.15-rc7 next-20211028]
[cannot apply to helgaas-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]
url: https://github.com/0day-ci/linux/commits/Oleksandr-Andrushchenko/xen-pciback-allow-compiling-on-other-archs-than-x86/20211028-141523
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/085a7279d0d85497688bc5be9a1f00ab2cce02ae
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Oleksandr-Andrushchenko/xen-pciback-allow-compiling-on-other-archs-than-x86/20211028-141523
git checkout 085a7279d0d85497688bc5be9a1f00ab2cce02ae
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/xen/pci.c:279:5: warning: no previous prototype for 'xen_find_device_domain_owner' [-Wmissing-prototypes]
279 | int xen_find_device_domain_owner(struct pci_dev *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/xen/pci.c:293:5: warning: no previous prototype for 'xen_register_device_domain_owner' [-Wmissing-prototypes]
293 | int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/xen/pci.c:315:5: warning: no previous prototype for 'xen_unregister_device_domain_owner' [-Wmissing-prototypes]
315 | int xen_unregister_device_domain_owner(struct pci_dev *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/xen_find_device_domain_owner +279 drivers/xen/pci.c
278
> 279 int xen_find_device_domain_owner(struct pci_dev *dev)
280 {
281 struct xen_device_domain_owner *owner;
282 int domain = -ENODEV;
283
284 spin_lock(&dev_domain_list_spinlock);
285 owner = find_device(dev);
286 if (owner)
287 domain = owner->domain;
288 spin_unlock(&dev_domain_list_spinlock);
289 return domain;
290 }
291 EXPORT_SYMBOL_GPL(xen_find_device_domain_owner);
292
> 293 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain)
294 {
295 struct xen_device_domain_owner *owner;
296
297 owner = kzalloc(sizeof(struct xen_device_domain_owner), GFP_KERNEL);
298 if (!owner)
299 return -ENODEV;
300
301 spin_lock(&dev_domain_list_spinlock);
302 if (find_device(dev)) {
303 spin_unlock(&dev_domain_list_spinlock);
304 kfree(owner);
305 return -EEXIST;
306 }
307 owner->domain = domain;
308 owner->dev = dev;
309 list_add_tail(&owner->list, &dev_domain_list);
310 spin_unlock(&dev_domain_list_spinlock);
311 return 0;
312 }
313 EXPORT_SYMBOL_GPL(xen_register_device_domain_owner);
314
> 315 int xen_unregister_device_domain_owner(struct pci_dev *dev)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 56219 bytes --]
next prev parent reply other threads:[~2021-10-28 13:21 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 6:13 [PATCH] xen-pciback: allow compiling on other archs than x86 Oleksandr Andrushchenko
2021-10-28 13:21 ` kernel test robot [this message]
2021-10-28 14:39 ` Oleksandr Andrushchenko
2021-11-16 9:36 ` Geert Uytterhoeven
2021-11-16 10:45 ` Oleksandr Andrushchenko
2021-11-18 8:13 ` Juergen Gross
-- strict thread matches above, loose matches on Subject: below --
2021-09-17 13:01 Oleksandr Andrushchenko
2021-09-17 21:45 ` Stefano Stabellini
2021-09-17 21:45 ` Stefano Stabellini
2021-09-20 5:23 ` Oleksandr Andrushchenko
2021-09-20 11:30 ` Juergen Gross
2021-09-20 11:38 ` Oleksandr Andrushchenko
2021-09-20 23:16 ` Stefano Stabellini
2021-09-20 23:16 ` Stefano Stabellini
2021-09-21 4:51 ` Oleksandr Andrushchenko
2021-09-21 5:20 ` Juergen Gross
2021-09-21 5:51 ` Oleksandr Andrushchenko
2021-09-21 6:07 ` Juergen Gross
2021-09-21 6:38 ` Oleksandr Andrushchenko
2021-09-21 6:49 ` Juergen Gross
2021-09-21 7:00 ` Oleksandr Andrushchenko
2021-09-21 7:09 ` Juergen Gross
2021-09-21 7:16 ` Oleksandr Andrushchenko
2021-09-21 20:44 ` Stefano Stabellini
2021-09-21 20:44 ` Stefano Stabellini
2021-09-22 9:06 ` Oleksandr Andrushchenko
2021-09-21 7:54 ` Juergen Gross
2021-09-21 8:01 ` Oleksandr Andrushchenko
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=202110282138.K5tXbuSv-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.