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 <mche...@osg.samsung.com>
:::::: CC: Mauro Carvalho Chehab <mche...@osg.samsung.com>

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

Attachment: .config.gz
Description: Binary data

Reply via email to