tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: a0738df2bf14f1a7151465012ab48e55c317a4f6 commit: 2b24e4775e3c329bb9fdc4539a50178139d26e40 [24/55] drm: make .debugfs_init and drm_debugfs_create_files() return void config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.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 2b24e4775e3c329bb9fdc4539a50178139d26e40 # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=arm If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c: In function 'dpu_kms_debugfs_init': >> drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c:227:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^~~~~~ drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c:220:12: note: declared here static int dpu_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) ^~~~~~~~~~~~~~~~~~~~ drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c: At top level: drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c:701:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .debugfs_init = dpu_kms_debugfs_init, ^~~~~~~~~~~~~~~~~~~~ drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c:701:21: note: (near initialization for 'kms_funcs.debugfs_init') cc1: some warnings being treated as errors vim +/return +227 drivers/gpu//drm/msm/disp/dpu1/dpu_kms.c --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel