From: kbuild test robot <lkp@intel.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: kbuild-all@01.org, airlied@linux.ie, hans.verkuil@cisco.com,
lee.jones@linaro.org, olof@lixom.net, seanpaul@google.com,
Neil Armstrong <narmstrong@baylibre.com>,
sadolfsson@google.com, intel-gfx@lists.freedesktop.org,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
fparent@baylibre.com, felixe@google.com, bleung@google.com,
darekm@google.com, linux-media@vger.kernel.org
Subject: Re: [Intel-gfx] [PATCH 5/5] media: platform: Add Chrome OS EC CEC driver
Date: Wed, 16 May 2018 08:31:46 +0800 [thread overview]
Message-ID: <201805160623.V155N4fI%fengguang.wu@intel.com> (raw)
In-Reply-To: <1526388421-18808-6-git-send-email-narmstrong@baylibre.com>
[-- Attachment #1: Type: text/plain, Size: 2506 bytes --]
Hi Neil,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.17-rc5 next-20180515]
[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/Neil-Armstrong/Add-ChromeOS-EC-CEC-Support/20180516-053811
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh
All errors (new ones prefixed by >>):
drivers/media/platform/cros-ec-cec/cros-ec-cec.c: In function 'cros_ec_cec_get_notifier':
>> drivers/media/platform/cros-ec-cec/cros-ec-cec.c:232:33: error: 'pci_bus_type' undeclared (first use in this function); did you mean 'pci_pcie_type'?
d = bus_find_device_by_name(&pci_bus_type, NULL,
^~~~~~~~~~~~
pci_pcie_type
drivers/media/platform/cros-ec-cec/cros-ec-cec.c:232:33: note: each undeclared identifier is reported only once for each function it appears in
vim +232 drivers/media/platform/cros-ec-cec/cros-ec-cec.c
218
219 static int cros_ec_cec_get_notifier(struct device *dev,
220 struct cec_notifier **notify)
221 {
222 int i;
223
224 for (i = 0 ; i < ARRAY_SIZE(cec_dmi_match_table) ; ++i) {
225 const struct cec_dmi_match *m = &cec_dmi_match_table[i];
226
227 if (dmi_match(DMI_SYS_VENDOR, m->sys_vendor) &&
228 dmi_match(DMI_PRODUCT_NAME, m->product_name)) {
229 struct device *d;
230
231 /* Find the device, bail out if not yet registered */
> 232 d = bus_find_device_by_name(&pci_bus_type, NULL,
233 m->devname);
234 if (!d)
235 return -EPROBE_DEFER;
236
237 *notify = cec_notifier_get_conn(d, m->conn);
238 return 0;
239 }
240 }
241
242 /* Hardware support must be added in the cec_dmi_match_table */
243 dev_warn(dev, "CEC notifier not configured for this hardware\n");
244
245 return -ENODEV;
246 }
247
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48217 bytes --]
prev parent reply other threads:[~2018-05-16 0:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 12:46 [PATCH 0/5] Add ChromeOS EC CEC Support Neil Armstrong
2018-05-15 12:46 ` [PATCH 1/5] media: cec-notifier: Get notifier by device and connector name Neil Armstrong
2018-05-15 12:54 ` Hans Verkuil
2018-05-15 12:46 ` [PATCH 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi Neil Armstrong
2018-05-15 12:56 ` Hans Verkuil
2018-05-15 14:07 ` Neil Armstrong
2018-05-15 12:46 ` [PATCH 3/5] mfd: cros-ec: Introduce CEC commands and events definitions Neil Armstrong
2018-05-15 12:47 ` [PATCH 4/5] mfd: cros_ec_dev: Add CEC sub-device registration Neil Armstrong
2018-05-15 12:47 ` [PATCH 5/5] media: platform: Add Chrome OS EC CEC driver Neil Armstrong
2018-05-15 13:04 ` Hans Verkuil
2018-05-16 0:31 ` kbuild test robot [this message]
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=201805160623.V155N4fI%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=bleung@google.com \
--cc=darekm@google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=felixe@google.com \
--cc=fparent@baylibre.com \
--cc=hans.verkuil@cisco.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=narmstrong@baylibre.com \
--cc=olof@lixom.net \
--cc=sadolfsson@google.com \
--cc=seanpaul@google.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®