[PATCH] drm: rcar-du: of: Include header to define prototypes

kbuild test robot lkp at intel.com
Wed Apr 25 01:02:17 UTC 2018


Hi Kieran,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.17-rc2 next-20180424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kieran-Bingham/drm-rcar-du-of-Include-header-to-define-prototypes/20180425-062015
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-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
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> drivers/gpu//drm/rcar-du/rcar_du_of.c:320:13: error: redefinition of 'rcar_du_of_init'
    void __init rcar_du_of_init(const struct of_device_id *of_ids)
                ^~~~~~~~~~~~~~~
   In file included from drivers/gpu//drm/rcar-du/rcar_du_of.c:21:0:
   drivers/gpu//drm/rcar-du/rcar_du_of.h:17:20: note: previous definition of 'rcar_du_of_init' was here
    static inline void rcar_du_of_init(const struct of_device_id *of_ids) { }
                       ^~~~~~~~~~~~~~~

vim +/rcar_du_of_init +320 drivers/gpu//drm/rcar-du/rcar_du_of.c

81c0e3dd Laurent Pinchart 2018-01-10  319  
81c0e3dd Laurent Pinchart 2018-01-10 @320  void __init rcar_du_of_init(const struct of_device_id *of_ids)

:::::: The code at line 320 was first introduced by commit
:::::: 81c0e3dd82927064a2f56a31a0974a0d110fcdb0 drm: rcar-du: Fix legacy DT to create LVDS encoder nodes

:::::: TO: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
:::::: CC: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>

---
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/gzip
Size: 37874 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180425/b3fdd1b7/attachment-0001.gz>


More information about the dri-devel mailing list