tree:   git://linuxtv.org/media_tree.git master
head:   e3401c2d3804ec67f90ac20ce684171a02c8bf3e
commit: 4e48afecd5ee3a394d228349fc1c33982e9fb557 [3320/3326] media: v4l2-async: 
simplify v4l2_async_subdev structure
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4e48afecd5ee3a394d228349fc1c33982e9fb557
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/staging/media/imx/imx-media-dev.c: In function 'find_async_subdev':
>> drivers/staging/media/imx/imx-media-dev.c:55:49: error: request for member 
>> 'name' in something not a structure or union
       if (devname && !strcmp(asd->match.device_name.name,
                                                    ^
   drivers/staging/media/imx/imx-media-dev.c: In function 
'imx_media_add_async_subdev':
   drivers/staging/media/imx/imx-media-dev.c:110:25: error: request for member 
'name' in something not a structure or union
      asd->match.device_name.name = devname;
                            ^

vim +/name +55 drivers/staging/media/imx/imx-media-dev.c

e13029121 Steve Longerbeam      2017-06-10  34  
e13029121 Steve Longerbeam      2017-06-10  35  /*
9f6a0c59e Steve Longerbeam      2017-12-14  36   * Find an asd by fwnode or 
device name. This is called during
e13029121 Steve Longerbeam      2017-06-10  37   * driver load to form the 
async subdev list and bind them.
e13029121 Steve Longerbeam      2017-06-10  38   */
9f6a0c59e Steve Longerbeam      2017-12-14  39  static struct v4l2_async_subdev 
*
9f6a0c59e Steve Longerbeam      2017-12-14  40  find_async_subdev(struct 
imx_media_dev *imxmd,
4eef678d3 Steve Longerbeam      2017-12-14  41                    struct 
fwnode_handle *fwnode,
e13029121 Steve Longerbeam      2017-06-10  42                    const char 
*devname)
e13029121 Steve Longerbeam      2017-06-10  43  {
9f6a0c59e Steve Longerbeam      2017-12-14  44          struct 
imx_media_async_subdev *imxasd;
9f6a0c59e Steve Longerbeam      2017-12-14  45          struct 
v4l2_async_subdev *asd;
e13029121 Steve Longerbeam      2017-06-10  46  
9f6a0c59e Steve Longerbeam      2017-12-14  47          
list_for_each_entry(imxasd, &imxmd->asd_list, list) {
9f6a0c59e Steve Longerbeam      2017-12-14  48                  asd = 
&imxasd->asd;
9f6a0c59e Steve Longerbeam      2017-12-14  49                  switch 
(asd->match_type) {
e13029121 Steve Longerbeam      2017-06-10  50                  case 
V4L2_ASYNC_MATCH_FWNODE:
4e48afecd Mauro Carvalho Chehab 2017-09-27  51                          if 
(fwnode && asd->match.fwnode == fwnode)
9f6a0c59e Steve Longerbeam      2017-12-14  52                                  
return asd;
e13029121 Steve Longerbeam      2017-06-10  53                          break;
e13029121 Steve Longerbeam      2017-06-10  54                  case 
V4L2_ASYNC_MATCH_DEVNAME:
9f6a0c59e Steve Longerbeam      2017-12-14 @55                          if 
(devname && !strcmp(asd->match.device_name.name,
9f6a0c59e Steve Longerbeam      2017-12-14  56                                  
               devname))
9f6a0c59e Steve Longerbeam      2017-12-14  57                                  
return asd;
e13029121 Steve Longerbeam      2017-06-10  58                          break;
e13029121 Steve Longerbeam      2017-06-10  59                  default:
e13029121 Steve Longerbeam      2017-06-10  60                          break;
e13029121 Steve Longerbeam      2017-06-10  61                  }
e13029121 Steve Longerbeam      2017-06-10  62          }
e13029121 Steve Longerbeam      2017-06-10  63  
e13029121 Steve Longerbeam      2017-06-10  64          return NULL;
e13029121 Steve Longerbeam      2017-06-10  65  }
e13029121 Steve Longerbeam      2017-06-10  66  

:::::: The code at line 55 was first introduced by commit
:::::: 9f6a0c59eba91c116f6cd7a487f4929faa07a7f8 media: staging/imx: remove 
static subdev arrays

:::::: TO: Steve Longerbeam <slongerb...@gmail.com>
:::::: CC: Mauro Carvalho Chehab <mche...@s-opensource.com>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to