From: Fengguang Wu <fengguang.wu@intel.com>
To: Shun Fu <fushun@gmail.com>
Cc: kernel-janitors@vger.kernel.org,
James Bottomley <JBottomley@Parallels.com>,
linux-scsi@vger.kernel.org
Subject: [scsi:misc 49/55] drivers/scsi/mvumi.c:1880:3: error: implicit declaration of function 'virt_to_bus'
Date: Fri, 14 Sep 2012 16:50:01 +0000 [thread overview]
Message-ID: <20120914165001.GB22939@localhost> (raw)
Hi Shun,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc
head: e1daec5547bdb8a53b023852d578409005c69ea7
commit: 8b3fa849abc2b62920d7e4fc4f8e6ce3d0783623 [49/55] [SCSI] mvumi: Add support for Marvell SAS/SATA RAID-on-Chip(ROC) 88RC9580
config: powerpc-allmodconfig
All related error/warning messages:
drivers/scsi/mvumi.c: In function 'mvumi_send_command':
drivers/scsi/mvumi.c:1880:3: error: implicit declaration of function 'virt_to_bus' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
vim +1880 drivers/scsi/mvumi.c
1875 frame_len = sizeof(*ib_frame) - 4 +
1876 ib_frame->sg_counts * sizeof(struct mvumi_sgl);
1877 if (mhba->hba_capability & HS_CAPABILITY_SUPPORT_DYN_SRC) {
1878 struct mvumi_dyn_list_entry *dle;
1879 dle = ib_entry;
> 1880 dle->src_low_addr = virt_to_bus(ib_frame) & 0xFFFFFFFF;
1881 dle->src_high_addr 1882 ((virt_to_bus(ib_frame) >> 16) >> 16) & 0xFFFFFFFF;
1883 dle->if_length = (frame_len >> 2) & 0xFFF;
1884 } else {
1885 memcpy(ib_entry, ib_frame, frame_len);
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
next reply other threads:[~2012-09-14 16:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-14 16:50 Fengguang Wu [this message]
2012-09-14 16:59 ` [scsi:misc 49/55] drivers/scsi/mvumi.c:1880:3: error: implicit declaration of function 'virt_to_ James Bottomley
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=20120914165001.GB22939@localhost \
--to=fengguang.wu@intel.com \
--cc=JBottomley@Parallels.com \
--cc=fushun@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox