tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   fa7d81bb3c269a2ee38b6e4d569d9eb8be1a78ad
commit: 398e97994f6d2d7165a4aa53c1a0903a2a7d3111 [17/19] drm/vc4: Remove 
open-coded drm_connector_register_all()
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 398e97994f6d2d7165a4aa53c1a0903a2a7d3111
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/vc4/vc4_drv.c: In function 'vc4_drm_bind':
>> drivers/gpu/drm/vc4/vc4_drv.c:179:24: warning: unused variable 'connector' 
>> [-Wunused-variable]
     struct drm_connector *connector;
                           ^~~~~~~~~

vim +/connector +179 drivers/gpu/drm/vc4/vc4_drv.c

b3a15f6d Eric Anholt 2016-04-19  163            return;
b3a15f6d Eric Anholt 2016-04-19  164  
b3a15f6d Eric Anholt 2016-04-19  165    /* Since VC4 is a UMA device, the 
simplefb node may have been
b3a15f6d Eric Anholt 2016-04-19  166     * located anywhere in memory.
b3a15f6d Eric Anholt 2016-04-19  167     */
b3a15f6d Eric Anholt 2016-04-19  168    ap->ranges[0].base = 0;
b3a15f6d Eric Anholt 2016-04-19  169    ap->ranges[0].size = ~0;
b3a15f6d Eric Anholt 2016-04-19  170  
b3a15f6d Eric Anholt 2016-04-19  171    remove_conflicting_framebuffers(ap, 
"vc4drmfb", false);
b3a15f6d Eric Anholt 2016-04-19  172    kfree(ap);
b3a15f6d Eric Anholt 2016-04-19  173  }
b3a15f6d Eric Anholt 2016-04-19  174  
c8b75bca Eric Anholt 2015-03-02  175  static int vc4_drm_bind(struct device 
*dev)
c8b75bca Eric Anholt 2015-03-02  176  {
c8b75bca Eric Anholt 2015-03-02  177    struct platform_device *pdev = 
to_platform_device(dev);
c8b75bca Eric Anholt 2015-03-02  178    struct drm_device *drm;
c8b75bca Eric Anholt 2015-03-02 @179    struct drm_connector *connector;
c8b75bca Eric Anholt 2015-03-02  180    struct vc4_dev *vc4;
c8b75bca Eric Anholt 2015-03-02  181    int ret = 0;
c8b75bca Eric Anholt 2015-03-02  182  
c8b75bca Eric Anholt 2015-03-02  183    dev->coherent_dma_mask = 
DMA_BIT_MASK(32);
c8b75bca Eric Anholt 2015-03-02  184  
c8b75bca Eric Anholt 2015-03-02  185    vc4 = devm_kzalloc(dev, sizeof(*vc4), 
GFP_KERNEL);
c8b75bca Eric Anholt 2015-03-02  186    if (!vc4)
c8b75bca Eric Anholt 2015-03-02  187            return -ENOMEM;

:::::: The code at line 179 was first introduced by commit
:::::: c8b75bca92cbf064b9fa125fc74a85994452e935 drm/vc4: Add KMS support for 
Raspberry Pi.

:::::: TO: Eric Anholt <eric at anholt.net>
:::::: CC: Eric Anholt <eric at anholt.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 55035 bytes
Desc: not available
URL: 
<https://lists.freedesktop.org/archives/dri-devel/attachments/20160622/c1bdb6c2/attachment-0001.obj>

Reply via email to