From: kbuild test robot <lkp@intel.com>
To: Oleh Kravchenko <oleg@kaa.org.ua>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
hverkuil@xs4all.nl, Oleh Kravchenko <oleg@kaa.org.ua>
Subject: Re: [PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD
Date: Tue, 10 Jan 2017 04:08:48 +0800 [thread overview]
Message-ID: <201701100438.bDhERK2E%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170109152310.22161-1-oleg@kaa.org.ua>
[-- Attachment #1: Type: text/plain, Size: 4587 bytes --]
Hi Oleh,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.10-rc3 next-20170106]
[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/Oleh-Kravchenko/cx231xx-Initial-support-Evromedia-USB-Full-Hybrid-Full-HD/20170110-033153
base: git://linuxtv.org/media_tree.git master
config: x86_64-rhel-7.2 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/media/usb/cx231xx/cx231xx-dvb.c: In function 'dvb_init':
>> drivers/media/usb/cx231xx/cx231xx-dvb.c:967:32: warning: passing argument 3 of 'strlcpy' makes integer from pointer without a cast [-Wint-conversion]
strlcpy(info.type, "si2168", info.type);
^~~~
In file included from include/linux/bitmap.h:8:0,
from include/linux/cpumask.h:11,
from arch/x86/include/asm/cpumask.h:4,
from arch/x86/include/asm/msr.h:10,
from arch/x86/include/asm/processor.h:20,
from arch/x86/include/asm/cpufeature.h:4,
from arch/x86/include/asm/thread_info.h:52,
from include/linux/thread_info.h:25,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/videodev2.h:59,
from drivers/media/usb/cx231xx/cx231xx.h:25,
from drivers/media/usb/cx231xx/cx231xx-dvb.c:22:
include/linux/string.h:27:8: note: expected 'size_t {aka long unsigned int}' but argument is of type 'char *'
size_t strlcpy(char *, const char *, size_t);
^~~~~~~
drivers/media/usb/cx231xx/cx231xx-dvb.c:999:32: warning: passing argument 3 of 'strlcpy' makes integer from pointer without a cast [-Wint-conversion]
strlcpy(info.type, "si2157", info.type);
^~~~
In file included from include/linux/bitmap.h:8:0,
from include/linux/cpumask.h:11,
from arch/x86/include/asm/cpumask.h:4,
from arch/x86/include/asm/msr.h:10,
from arch/x86/include/asm/processor.h:20,
from arch/x86/include/asm/cpufeature.h:4,
from arch/x86/include/asm/thread_info.h:52,
from include/linux/thread_info.h:25,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/videodev2.h:59,
from drivers/media/usb/cx231xx/cx231xx.h:25,
from drivers/media/usb/cx231xx/cx231xx-dvb.c:22:
include/linux/string.h:27:8: note: expected 'size_t {aka long unsigned int}' but argument is of type 'char *'
size_t strlcpy(char *, const char *, size_t);
^~~~~~~
vim +/strlcpy +967 drivers/media/usb/cx231xx/cx231xx-dvb.c
951 break;
952
953 case CX231XX_BOARD_EVROMEDIA_FULL_HYBRID_FULLHD:
954 {
955 struct si2157_config si2157_config = {};
956 struct si2168_config si2168_config = {};
957 struct i2c_board_info info = {};
958 struct i2c_client *client;
959 struct i2c_adapter *adapter;
960
961 /* attach demodulator chip */
962 si2168_config.ts_mode = SI2168_TS_SERIAL; /* from *.inf file */
963 si2168_config.fe = &dev->dvb->frontend;
964 si2168_config.i2c_adapter = &adapter;
965 si2168_config.ts_clock_inv = true;
966
> 967 strlcpy(info.type, "si2168", info.type);
968 info.addr = dev->board.demod_addr;
969 info.platform_data = &si2168_config;
970
971 request_module(info.type);
972 client = i2c_new_device(demod_i2c, &info);
973
974 if (client == NULL || client->dev.driver == NULL || dev->dvb->frontend == NULL) {
975 dev_err(dev->dev, "Failed to attach Si2168 front end\n");
---
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: 38277 bytes --]
next prev parent reply other threads:[~2017-01-09 20:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 15:23 [PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD Oleh Kravchenko
2017-01-09 16:59 ` Antti Palosaari
2017-01-09 21:49 ` Oleh Kravchenko
2017-01-09 22:35 ` Antti Palosaari
2017-01-09 20:08 ` kbuild test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-01-09 21:41 Oleh Kravchenko
2017-01-10 21:41 Oleh Kravchenko
2017-01-11 0:16 ` Antti Palosaari
2017-01-11 7:28 ` Oleh Kravchenko
2017-01-11 10:08 Oleh Kravchenko
2017-01-11 13:53 ` Steven Toth
2017-01-11 14:00 ` Oleh Kravchenko
2017-01-11 14:13 ` Steven Toth
2017-01-29 18:03 Oleh Kravchenko
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=201701100438.bDhERK2E%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=hverkuil@xs4all.nl \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=oleg@kaa.org.ua \
/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