From: kbuild test robot <lkp@intel.com>
To: Serge Semin <fancer.lancer@gmail.com>
Cc: kbuild-all@01.org, jdmason@kudzu.us, dave.jiang@intel.com,
Allen.Hubbe@emc.com, Xiangliang.Yu@amd.com,
Sergey.Semin@t-platforms.ru, linux-ntb@googlegroups.com,
linux-kernel@vger.kernel.org,
Serge Semin <fancer.lancer@gmail.com>
Subject: Re: [PATCH 2/3] ntb: IDT 89HPES*NT* PCIe-switches NTB device driver
Date: Thu, 28 Jul 2016 00:29:44 +0800 [thread overview]
Message-ID: <201607280024.Zi8nt6E1%fengguang.wu@intel.com> (raw)
In-Reply-To: <1469562619-21705-3-git-send-email-fancer.lancer@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2460 bytes --]
Hi,
[auto build test WARNING on ntb/ntb-next]
[cannot apply to v4.7 next-20160727]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Serge-Semin/ntb-Asynchronous-NTB-devices-support/20160727-082033
base: https://github.com/jonmason/ntb ntb-next
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All warnings (new ones prefixed by >>):
drivers/ntb/hw/idt/ntb_hw_idt.c: In function 'idt_ntb_setmw':
>> drivers/ntb/hw/idt/ntb_hw_idt.c:1170:56: warning: right shift count >= width of type [-Wshift-count-overflow]
idt_ntb_writereg(cfg, IDT_NT_PCI_LUTMDATA, (u32)(addr >> 32));
^
vim +1170 drivers/ntb/hw/idt/ntb_hw_idt.c
1154
1155 /* Collect the Lookup table offset */
1156 idt_ntb_writefld_var(&lut_indxbar, IDT_NT_LUT_INDEX,
1157 ndev->mw_self_offset + mwindx);
1158 idt_ntb_writefld_var(&lut_indxbar, IDT_NT_LUT_BAR, BAR2);
1159
1160 /* Collect the Lookup table entry partition and valid bits */
1161 idt_ntb_writefld_var(&lut_partval, IDT_NT_LUT_PART, ndev->part);
1162 idt_ntb_writefld_var(&lut_partval, IDT_NT_LUT_VALID, ON);
1163
1164 /* Start critical section writing to the local port Lookup table */
1165 spin_lock_irqsave(&pdata->lut_lock, irqflags);
1166 /* Write the data to the Lookup table registers of the peer */
1167 idt_ntb_writereg(cfg, IDT_NT_PCI_LUTOFFSET, lut_indxbar);
1168 idt_ntb_writereg(cfg, IDT_NT_PCI_LUTLDATA, (u32)addr);
1169 #ifdef CONFIG_64BIT
> 1170 idt_ntb_writereg(cfg, IDT_NT_PCI_LUTMDATA, (u32)(addr >> 32));
1171 #else
1172 idt_ntb_writereg(cfg, IDT_NT_PCI_LUTMDATA, (u32)0);
1173 #endif /* !CONFIG_64BIT */
1174 idt_ntb_writereg(cfg, IDT_NT_PCI_LUTUDATA, lut_partval);
1175 /* Finally unlock the Lookup table */
1176 spin_unlock_irqrestore(&pdata->lut_lock, irqflags);
1177
1178 return SUCCESS;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46369 bytes --]
next prev parent reply other threads:[~2016-07-27 16:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 19:50 [PATCH 0/3] ntb: Asynchronous NTB devices support Serge Semin
2016-07-26 19:50 ` [PATCH 1/3] ntb: Add asynchronous devices support to NTB-bus interface Serge Semin
2016-07-26 19:50 ` [PATCH 2/3] ntb: IDT 89HPES*NT* PCIe-switches NTB device driver Serge Semin
2016-07-27 16:29 ` kbuild test robot [this message]
2016-07-26 19:50 ` [PATCH 3/3] ntb: Test client drivers for asynchronous NTB devices Serge Semin
2016-07-28 12:58 ` kbuild test robot
2016-07-28 10:01 ` [PATCH v2 0/3] ntb: Asynchronous NTB devices support Serge Semin
2016-07-28 10:01 ` [PATCH v2 1/3] ntb: Add asynchronous devices support to NTB-bus interface Serge Semin
2016-07-28 10:01 ` [PATCH v2 2/3] ntb: IDT 89HPES*NT* PCIe-switches NTB device driver Serge Semin
2016-07-28 10:01 ` [PATCH v2 3/3] ntb: Test client drivers for asynchronous NTB devices Serge Semin
2016-08-01 2:49 ` kbuild test robot
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=201607280024.Zi8nt6E1%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Allen.Hubbe@emc.com \
--cc=Sergey.Semin@t-platforms.ru \
--cc=Xiangliang.Yu@amd.com \
--cc=dave.jiang@intel.com \
--cc=fancer.lancer@gmail.com \
--cc=jdmason@kudzu.us \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ntb@googlegroups.com \
/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
all inboxes | Powered by JetHome®