From: kbuild test robot <lkp@intel.com>
To: info@are.ma
Cc: kbuild-all@01.org, linux-media@vger.kernel.org, "Буди Романто,
AreMa Inc" <knightrider@are.ma>,
linux-kernel@vger.kernel.org, crope@iki.fi, m.chehab@samsung.com,
mchehab@osg.samsung.com, hdegoede@redhat.com,
laurent.pinchart@ideasonboard.com, mkrufky@linuxtv.org,
sylvester.nawrocki@gmail.com, g.liakhovetski@gmx.de,
peter.senna@gmail.com
Subject: Re: [media 7/7] PCI bridge driver for PT3 & PXQ3PE
Date: Mon, 15 Feb 2016 14:23:19 +0800 [thread overview]
Message-ID: <201602151451.BQPLD3pP%fengguang.wu@intel.com> (raw)
In-Reply-To: <311647a2421eee3383cef5520ee0a8984749300b.1455513464.git.knightrider@are.ma>
[-- Attachment #1: Type: text/plain, Size: 7081 bytes --]
Hi Буди,
[auto build test ERROR on linuxtv-media/master]
[cannot apply to v4.5-rc4 next-20160212]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/info-are-ma/Driver-bundle-for-PT3-PX-Q3PE/20160215-141501
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x006-201607 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/media/dvb-frontends/tc90522.c:23:2: error: unknown type name 'fe_status_t'
fe_status_t stat;
^
drivers/media/dvb-frontends/tc90522.c:71:45: error: unknown type name 'fe_status_t'
int tc90522_status(struct dvb_frontend *fe, fe_status_t *stat)
^
drivers/media/dvb-frontends/tc90522.c:118:84: error: unknown type name 'fe_status_t'
int tc90522_tune(struct dvb_frontend *fe, bool retune, u32 mode_flags, u32 *delay, fe_status_t *stat)
^
>> drivers/media/dvb-frontends/tc90522.c:238:17: error: 'tc90522_status' undeclared here (not in a function)
.read_status = tc90522_status,
^
>> drivers/media/dvb-frontends/tc90522.c:239:11: error: 'tc90522_tune' undeclared here (not in a function)
.tune = tc90522_tune,
^
vim +/fe_status_t +23 drivers/media/dvb-frontends/tc90522.c
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 17 #include "dvb_math.h"
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 18 #include "dvb_frontend.h"
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 19 #include "tc90522.h"
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 20
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 21 struct tc90522 {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 22 struct i2c_adapter *i2c;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 @23 fe_status_t stat;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 24 };
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 25
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 26 bool tc90522_r(struct dvb_frontend *fe, u8 slvadr, u8 *buf, u8 len)
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 27 {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 28 struct tc90522 *d = fe->demodulator_priv;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 29 struct i2c_msg msg[] = {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 30 {.addr = fe->id, .flags = 0, .buf = &slvadr, .len = 1,},
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 31 {.addr = fe->id, .flags = I2C_M_RD, .buf = buf, .len = len,},
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 32 };
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 33 return i2c_transfer(d->i2c, msg, 2) == 2;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 34 }
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 35
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 36 bool tc90522_w(struct dvb_frontend *fe, u8 slvadr, u8 dat)
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 37 {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 38 struct tc90522 *d = fe->demodulator_priv;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 39 u8 buf[] = {slvadr, dat};
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 40 struct i2c_msg msg[] = {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 41 {.addr = fe->id, .flags = 0, .buf = buf, .len = 2,},
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 42 };
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 43 return i2c_transfer(d->i2c, msg, 1) == 1;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 44 }
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 45
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 46 u64 tc90522_n2int(const u8 *data, u8 n) /* convert n_bytes data from stream (network byte order) to integer */
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 47 { /* can't use <arpa/inet.h>'s ntoh*() as sometimes n = 3,5,... */
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 48 u32 i, val = 0;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 49
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 50 for (i = 0; i < n; i++) {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 51 val <<= 8;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 52 val |= data[i];
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 53 }
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 54 return val;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 55 }
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 56
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 57 int tc90522_cn_raw(struct dvb_frontend *fe, u16 *raw) /* for DVBv3 compatibility */
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 58 {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 59 u8 buf[3],
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 60 len = fe->dtv_property_cache.delivery_system == SYS_ISDBS ? 2 : 3,
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 61 adr = fe->dtv_property_cache.delivery_system == SYS_ISDBS ? 0xbc : 0x8b;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 62 bool ok = tc90522_r(fe, adr, buf, len);
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 63 int cn = tc90522_n2int(buf, len);
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 64
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 65 if (!ok)
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 66 return -EIO;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 67 *raw = cn;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 68 return cn;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 69 }
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 70
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 @71 int tc90522_status(struct dvb_frontend *fe, fe_status_t *stat)
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 72 {
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 73 struct tc90522 *d = fe->demodulator_priv;
fc7fad5bd Буди Романто, AreMa Inc 2016-02-15 74 struct dtv_frontend_properties *c = &fe->dtv_property_cache;
:::::: The code at line 23 was first introduced by commit
:::::: fc7fad5bdf7260bcb1bb53da404eb436af2269c0 Toshiba TC90522XBG quad demodulator (2ch OFDM + 2ch 8PSK) used by both PT3 & PX-Q3PE
:::::: TO: Буди Романто, AreMa Inc <knightrider@are.ma>
:::::: CC: 0day robot <fengguang.wu@intel.com>
---
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: 23937 bytes --]
next prev parent reply other threads:[~2016-02-15 6:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 6:08 [media 0/7] Driver bundle for PT3 & PX-Q3PE info
2016-02-15 6:08 ` [media 1/7] raise adapter number limit info
2016-02-15 11:25 ` Peter Senna Tschudin
2016-02-15 6:08 ` [media 2/7] add NXP tda2014x & Newport Media nm120/130/131 tuners info
2016-02-15 6:08 ` [media 3/7] drop backstabbing drivers info
2016-02-15 6:08 ` [media 4/7] Toshiba TC90522XBG quad demodulator (2ch OFDM + 2ch 8PSK) used by both PT3 & PX-Q3PE info
2016-02-15 6:08 ` [media 5/7] MaxLinear MxL301RF ISDB-T tuner info
2016-02-15 6:08 ` [media 6/7] Sharp QM1D1C0042 ISDB-S tuner info
2016-02-15 6:08 ` [media 7/7] PCI bridge driver for PT3 & PXQ3PE info
2016-02-15 6:23 ` kbuild test robot [this message]
2016-02-15 6:47 ` kbuild test robot
2016-02-15 7:34 ` [PATCH] fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-02-15 7:34 ` [media 7/7] PCI bridge driver for PT3 & PXQ3PE kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2016-02-15 9:27 [media 0/7] Driver bundle for PT3 & PX-Q3PE info
2016-02-15 9:27 ` [media 7/7] PCI bridge driver for PT3 & PXQ3PE info
2016-02-15 11:51 ` kbuild test robot
2016-02-15 12:57 ` kbuild test robot
2016-02-16 2:07 ` AreMa Inc.
2016-02-15 17:24 [media 0/7] Driver bundle for PT3 & PX-Q3PE info
2016-02-15 17:10 ` [media 7/7] PCI bridge driver for PT3 & PXQ3PE info
[not found] <cover.1455566803.git.knightrider@are.ma>
2016-02-15 20:07 ` info
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=201602151451.BQPLD3pP%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=crope@iki.fi \
--cc=g.liakhovetski@gmx.de \
--cc=hdegoede@redhat.com \
--cc=info@are.ma \
--cc=kbuild-all@01.org \
--cc=knightrider@are.ma \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=mchehab@osg.samsung.com \
--cc=mkrufky@linuxtv.org \
--cc=peter.senna@gmail.com \
--cc=sylvester.nawrocki@gmail.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;
as well as URLs for NNTP newsgroup(s).