All of lore.kernel.org
 help / color / mirror / Atom feed
* [sailus-media:master 2321/2321] drivers/media/v4l2-core/v4l2-mc.c:37:55: warning: unused variable 'dtv_demod'
@ 2016-03-10 18:04 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-03-10 18:04 UTC (permalink / raw)
  To: Shuah Khan; +Cc: kbuild-all, Mauro Carvalho Chehab, linux-media

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-10 18:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 18:04 [sailus-media:master 2321/2321] drivers/media/v4l2-core/v4l2-mc.c:37:55: warning: unused variable 'dtv_demod' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.