From: kbuild test robot <fengguang.wu@intel.com>
To: Shuah Khan <shuahkh@osg.samsung.com>
Cc: kbuild-all@01.org, Mauro Carvalho Chehab <m.chehab@samsung.com>,
linux-media@vger.kernel.org
Subject: [sailus-media:master 2321/2321] drivers/media/v4l2-core/v4l2-mc.c:37:55: warning: unused variable 'dtv_demod'
Date: Fri, 11 Mar 2016 02:04:07 +0800 [thread overview]
Message-ID: <201603110205.L67DPoke%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3122 bytes --]
tree: git://linuxtv.org/media_tree.git master
head: 840f5b0572ea9ddaca2bf5540a171013e92c97bd
commit: 840f5b0572ea9ddaca2bf5540a171013e92c97bd [2321/2321] media: au0828 disable tuner to demod link in au0828_media_device_register()
config: i386-randconfig-i0-03100316 (attached as .config)
reproduce:
git checkout 840f5b0572ea9ddaca2bf5540a171013e92c97bd
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/media/v4l2-core/v4l2-mc.c: In function 'v4l2_mc_create_media_graph':
>> drivers/media/v4l2-core/v4l2-mc.c:37:55: warning: unused variable 'dtv_demod' [-Wunused-variable]
struct media_entity *tuner = NULL, *decoder = NULL, *dtv_demod = NULL;
^
vim +/dtv_demod +37 drivers/media/v4l2-core/v4l2-mc.c
76413791 Sakari Ailus 2016-02-21 21 #include <linux/pci.h>
76413791 Sakari Ailus 2016-02-21 22 #include <linux/usb.h>
d0a164f5 Shuah Khan 2016-02-11 23 #include <media/media-device.h>
76413791 Sakari Ailus 2016-02-21 24 #include <media/media-entity.h>
d0a164f5 Shuah Khan 2016-02-11 25 #include <media/v4l2-fh.h>
54d0dbac Mauro Carvalho Chehab 2016-02-05 26 #include <media/v4l2-mc.h>
76413791 Sakari Ailus 2016-02-21 27 #include <media/v4l2-subdev.h>
76413791 Sakari Ailus 2016-02-21 28 #include <media/media-device.h>
76413791 Sakari Ailus 2016-02-21 29 #include <media/v4l2-mc.h>
d0a164f5 Shuah Khan 2016-02-11 30 #include <media/videobuf2-core.h>
54d0dbac Mauro Carvalho Chehab 2016-02-05 31
54d0dbac Mauro Carvalho Chehab 2016-02-05 32 int v4l2_mc_create_media_graph(struct media_device *mdev)
54d0dbac Mauro Carvalho Chehab 2016-02-05 33
54d0dbac Mauro Carvalho Chehab 2016-02-05 34 {
54d0dbac Mauro Carvalho Chehab 2016-02-05 35 struct media_entity *entity;
153d41a1 Mauro Carvalho Chehab 2016-02-12 36 struct media_entity *if_vid = NULL, *if_aud = NULL;
9822f417 Mauro Carvalho Chehab 2016-03-02 @37 struct media_entity *tuner = NULL, *decoder = NULL, *dtv_demod = NULL;
54d0dbac Mauro Carvalho Chehab 2016-02-05 38 struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL;
54d0dbac Mauro Carvalho Chehab 2016-02-05 39 bool is_webcam = false;
54d0dbac Mauro Carvalho Chehab 2016-02-05 40 u32 flags;
54d0dbac Mauro Carvalho Chehab 2016-02-05 41 int ret;
54d0dbac Mauro Carvalho Chehab 2016-02-05 42
54d0dbac Mauro Carvalho Chehab 2016-02-05 43 if (!mdev)
54d0dbac Mauro Carvalho Chehab 2016-02-05 44 return 0;
54d0dbac Mauro Carvalho Chehab 2016-02-05 45
:::::: The code at line 37 was first introduced by commit
:::::: 9822f4173f84cb7c592edb5e1478b7903f69d018 [media] au0828: use v4l2_mc_create_media_graph()
:::::: TO: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@osg.samsung.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: 26032 bytes --]
reply other threads:[~2016-03-10 18:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201603110205.L67DPoke%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=shuahkh@osg.samsung.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).