[radeon-alex:amd-19.10 2196/2588] drivers/gpu//drm/rcar-du/rcar_du_crtc.c:861:20: error: initialization from incompatible pointer type

kbuild test robot lkp at intel.com
Sat Apr 27 05:29:49 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-19.10
head:   5243d576a3bba97121d5671260d67de785d150b7
commit: 8bbc49ebffd58f39911ec28a8d6f2f9611391824 [2196/2588] drm/crc: Cleanup crtc_crc_open function
config: arm-allmodconfig (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 8bbc49ebffd58f39911ec28a8d6f2f9611391824
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu//drm/rcar-du/rcar_du_crtc.c:861:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .set_crc_source = rcar_du_crtc_set_crc_source,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu//drm/rcar-du/rcar_du_crtc.c:861:20: note: (near initialization for 'crtc_funcs_gen3.set_crc_source')
   cc1: some warnings being treated as errors

vim +861 drivers/gpu//drm/rcar-du/rcar_du_crtc.c

47a52d024 Laurent Pinchart 2017-12-01  851  
47a52d024 Laurent Pinchart 2017-12-01  852  static const struct drm_crtc_funcs crtc_funcs_gen3 = {
47a52d024 Laurent Pinchart 2017-12-01  853  	.reset = rcar_du_crtc_reset,
4bf8e1962 Laurent Pinchart 2013-06-19  854  	.destroy = drm_crtc_cleanup,
cf1cc6f24 Laurent Pinchart 2015-02-20  855  	.set_config = drm_atomic_helper_set_config,
d5746642f Laurent Pinchart 2015-02-23  856  	.page_flip = drm_atomic_helper_page_flip,
47a52d024 Laurent Pinchart 2017-12-01  857  	.atomic_duplicate_state = rcar_du_crtc_atomic_duplicate_state,
47a52d024 Laurent Pinchart 2017-12-01  858  	.atomic_destroy_state = rcar_du_crtc_atomic_destroy_state,
20c8a288a Shawn Guo        2017-02-07  859  	.enable_vblank = rcar_du_crtc_enable_vblank,
20c8a288a Shawn Guo        2017-02-07  860  	.disable_vblank = rcar_du_crtc_disable_vblank,
47a52d024 Laurent Pinchart 2017-12-01 @861  	.set_crc_source = rcar_du_crtc_set_crc_source,
4bf8e1962 Laurent Pinchart 2013-06-19  862  };
4bf8e1962 Laurent Pinchart 2013-06-19  863  

:::::: The code at line 861 was first introduced by commit
:::::: 47a52d024e89be114df910d8331c5cabd229da98 media: drm: rcar-du: Add support for CRC computation

:::::: TO: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung at kernel.org>

---
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: 65425 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190427/66fad203/attachment-0001.gz>


More information about the dri-devel mailing list