Re: [media 5/6] PCIE bridge driver for PT3 & PX-Q3PE

From: kbuild test robot
Date: Mon Apr 04 2016 - 13:31:50 EST


Hi ÐÑÐÐ,

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.6-rc2 next-20160404]
[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/DVB-driver-for-Earthsoft-PT3-PLEX-PX-Q3PE-ISDB-S-T-PCIE-cards-PX-BCUD-ISDB-S-USB-dongle/20160405-011100
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:26:1: warning: 'mxl301rf_w' uses dynamic stack allocation
}
^
drivers/media/tuners/mxl301rf.c: In function 'mxl301rf_w_tuner':
>> drivers/media/tuners/mxl301rf.c:35:1: warning: 'mxl301rf_w_tuner' uses dynamic stack allocation
}
^
--
drivers/media/tuners/qm1d1c004x.c: In function 'qm1d1c004x_w':
>> drivers/media/tuners/qm1d1c004x.c:51:1: warning: 'qm1d1c004x_w' uses dynamic stack allocation
}
^
--
drivers/media/tuners/nm131.c: In function 'nm131_r':
>> drivers/media/tuners/nm131.c:45:1: warning: 'nm131_r' uses dynamic stack allocation
}
^

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

8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 20 {.addr = d->addr, .flags = 0, .buf = buf, .len = len + 1,},
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 21 };
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 22
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 23 buf[0] = slvadr;
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 24 memcpy(buf + 1, dat, len);
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 25 return i2c_transfer(d->adapter, msg, 1) == 1 ? 0 : -EIO;
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 @26 }
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 27
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 28 int mxl301rf_w_tuner(struct dvb_frontend *fe, const u8 *dat, int len)
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 29 {
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 30 u8 buf[len + 1];
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 31
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 32 buf[0] = ((struct i2c_client *)fe->tuner_priv)->addr << 1;
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 33 memcpy(buf + 1, dat, len);
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 34 return mxl301rf_w(fe, 0xFE, buf, len + 1);
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 @35 }
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 36
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 37 u8 mxl301rf_r(struct dvb_frontend *fe, u8 regadr)
8be8684f ÐÑÐÐ ÐÐÐÐÐÑÐ, AreMa Inc 2016-04-05 38 {

:::::: The code at line 26 was first introduced by commit
:::::: 8be8684ff9906c489dc94d4d9b0fadab97c4a3af Tuners for Earthsoft PT3, PLEX PX-Q3PE ISDB-S/T PCIE cards & PX-BCUD ISDB-S USB dongle

:::::: 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