From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [tglx-devel:x86/apic 15/33] drivers/pci/controller/vmd.c:133:30: error: expected ')' before '; ' token
Date: Sat, 24 Oct 2020 02:38:05 +0800 [thread overview]
Message-ID: <202010240201.IMVwqCsd-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3144 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/apic
head: 79dccf5adfcb84abb5644e4349234c4442803c9a
commit: 453d80ce643cc1e80fc67fed5b1eb2126263ec8d [15/33] PCI: vmd: Use msi_msg shadow structs
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=453d80ce643cc1e80fc67fed5b1eb2126263ec8d
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel x86/apic
git checkout 453d80ce643cc1e80fc67fed5b1eb2126263ec8d
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/pci/controller/vmd.c: In function 'vmd_compose_msi_msg':
>> drivers/pci/controller/vmd.c:133:30: error: expected ')' before ';' token
133 | memset(&msg, 0, sizeof(*msg);
| ^
| )
>> drivers/pci/controller/vmd.c:136:59: error: expected ';' before '}' token
136 | msg->arch_addr_lo.destid_0_7 = index_from_irqs(vmd, irq);
| ^
| ;
137 | }
| ~
drivers/pci/controller/vmd.c:131:18: warning: unused variable 'vmd' [-Wunused-variable]
131 | struct vmd_dev *vmd = irq_data_get_irq_handler_data(data);
| ^~~
drivers/pci/controller/vmd.c:130:23: warning: unused variable 'irq' [-Wunused-variable]
130 | struct vmd_irq_list *irq = vmdirq->irq;
| ^~~
vim +133 drivers/pci/controller/vmd.c
118
119 /*
120 * Drivers managing a device in a VMD domain allocate their own IRQs as before,
121 * but the MSI entry for the hardware it's driving will be programmed with a
122 * destination ID for the VMD MSI-X table. The VMD muxes interrupts in its
123 * domain into one of its own, and the VMD driver de-muxes these for the
124 * handlers sharing that VMD IRQ. The vmd irq_domain provides the operations
125 * and irq_chip to set this up.
126 */
127 static void vmd_compose_msi_msg(struct irq_data *data, struct msi_msg *msg)
128 {
129 struct vmd_irq *vmdirq = data->chip_data;
130 struct vmd_irq_list *irq = vmdirq->irq;
131 struct vmd_dev *vmd = irq_data_get_irq_handler_data(data);
132
> 133 memset(&msg, 0, sizeof(*msg);
134 msg->address_hi = X86_MSI_BASE_ADDRESS_HIGH;
135 msg->arch_addr_lo.base_address = X86_MSI_BASE_ADDRESS_LOW;
> 136 msg->arch_addr_lo.destid_0_7 = index_from_irqs(vmd, irq);
137 }
138
---
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: 76855 bytes --]
reply other threads:[~2020-10-23 18:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202010240201.IMVwqCsd-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.