lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201602151451.BQPLD3pP%fengguang.wu@intel.com>
Date:	Mon, 15 Feb 2016 14:23:19 +0800
From:	kbuild test robot <lkp@...el.com>
To:	info@....ma
Cc:	kbuild-all@...org, linux-media@...r.kernel.org,
	Буди Романто, AreMa Inc 
	<knightrider@....ma>, linux-kernel@...r.kernel.org, crope@....fi,
	m.chehab@...sung.com, mchehab@....samsung.com, hdegoede@...hat.com,
	laurent.pinchart@...asonboard.com, mkrufky@...uxtv.org,
	sylvester.nawrocki@...il.com, g.liakhovetski@....de,
	peter.senna@...il.com
Subject: Re: [media 7/7] PCI bridge driver for PT3 & PXQ3PE

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@....ma>
:::::: CC: 0day robot <fengguang.wu@...el.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (23937 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ