Re: [media 7/7] PCI bridge driver for PT3 & PXQ3PE

From: kbuild test robot
Date: Mon Feb 15 2016 - 01:49:15 EST


Hi ÐÑÐÐ,

[auto build test WARNING 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: s390-allyesconfig (attached as .config)
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=s390

All warnings (new ones prefixed by >>):

drivers/media/tuners/mxl301rf.c: In function 'mxl301rf_w':
>> drivers/media/tuners/mxl301rf.c:31:1: warning: 'mxl301rf_w' uses dynamic stack allocation
}
^
drivers/media/tuners/mxl301rf.c: In function 'mxl301rf_w_tuner':
>> drivers/media/tuners/mxl301rf.c:40:1: warning: 'mxl301rf_w_tuner' uses dynamic stack allocation
}
^
--
drivers/media/tuners/qm1d1c0042.c: In function 'qm1d1c0042_w':
>> drivers/media/tuners/qm1d1c0042.c:46:1: warning: 'qm1d1c0042_w' uses dynamic stack allocation
}
^

vim +/mxl301rf_w +31 drivers/media/tuners/mxl301rf.c

3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 25 {.addr = fe->id, .flags = 0, .buf = buf, .len = len + 1,},
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 26 };
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 27
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 28 buf[0] = slvadr;
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 29 memcpy(buf + 1, dat, len);
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 30 return i2c_transfer(t->i2c, msg, 1) == 1 ? 0 : -EIO;
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 @31 }
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 32
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 33 int mxl301rf_w_tuner(struct dvb_frontend *fe, const u8 *dat, int len)
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 34 {
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 35 u8 buf[len + 1];
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 36
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 37 buf[0] = ((struct mxl301rf *)fe->tuner_priv)->adr_tuner << 1;
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 38 memcpy(buf + 1, dat, len);
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 39 return mxl301rf_w(fe, 0xFE, buf, len + 1);
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 @40 }
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 41
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 42 void mxl301rf_r(struct dvb_frontend *fe, u8 regadr, u8 *dat)
3f15bcc3 ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-02-15 43 {

:::::: The code at line 31 was first introduced by commit
:::::: 3f15bcc3ee23377c702f9635ca3e5908d147eb80 MaxLinear MxL301RF ISDB-T tuner

:::::: TO: ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc <knightrider@xxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data