Content-Type: multipart/mixed; boundary="===============2706193379357442422==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 3/6] drm/msm/dpu: allow just single IRQ callback Date: Wed, 02 Feb 2022 06:14:02 +0800 Message-ID: <202202020613.VjszN4M6-lkp@intel.com> In-Reply-To: <20220201151056.2480055-4-dmitry.baryshkov@linaro.org> List-Id: --===============2706193379357442422== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Dmitry, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v5.17-rc2 next-20220201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Dmitry-Baryshkov/drm-msm-d= pu-simplify-IRQ-helpers/20220201-231430 base: git://anongit.freedesktop.org/drm/drm drm-next config: s390-randconfig-r044-20220130 (https://download.01.org/0day-ci/arch= ive/20220202/202202020613.VjszN4M6-lkp(a)intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/c3da64f5022acf9d942f497a3= e3cff092648d6c3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-dpu-simpl= ify-IRQ-helpers/20220201-231430 git checkout c3da64f5022acf9d942f497a3e3cff092648d6c3 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Ds390 SHELL=3D/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/trace/define_trace.h:102, from drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:973, from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:34: drivers/gpu/drm/msm/disp/dpu1/./dpu_trace.h: In function 'ftrace_test_pr= obe_dpu_core_irq_unregister_callback': include/trace/trace_events.h:870:42: error: passing argument 1 of 'check= _trace_callback_type_dpu_core_irq_unregister_callback' from incompatible po= inter type [-Werror=3Dincompatible-pointer-types] 870 | check_trace_callback_type_##call(trace_event_raw_event_#= #template); \ | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, int, = void *) drivers/gpu/drm/msm/disp/dpu1/./dpu_trace.h:892:1: note: in expansion of= macro 'DEFINE_EVENT' 892 | DEFINE_EVENT(dpu_core_irq_callback_template, dpu_core_irq_unregi= ster_callback, | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:10, from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:34: include/linux/tracepoint.h:279:49: note: expected 'void (*)(void *, int)= ' but argument is of type 'void (*)(void *, int, void *)' 279 | check_trace_callback_type_##name(void (*cb)(data_proto))= \ | ~~~~~~~^~~~~~~~~~~~~~~ include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE= _TRACE' 419 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), = \ | ^~~~~~~~~~~~~~~ include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_T= RACE' 542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:892:1: note: in expansion of m= acro 'DEFINE_EVENT' 892 | DEFINE_EVENT(dpu_core_irq_callback_template, dpu_core_irq_unregi= ster_callback, | ^~~~~~~~~~~~ In file included from include/trace/define_trace.h:103, from drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:973, from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:34: drivers/gpu/drm/msm/disp/dpu1/./dpu_trace.h: In function 'perf_test_prob= e_dpu_core_irq_unregister_callback': >> include/trace/perf.h:99:42: error: passing argument 1 of 'check_trace_ca= llback_type_dpu_core_irq_unregister_callback' from incompatible pointer typ= e [-Werror=3Dincompatible-pointer-types] 99 | check_trace_callback_type_##call(perf_trace_##template);= \ | ^~~~~~~~~~~ | | | void (*)(void *, int, = void *) drivers/gpu/drm/msm/disp/dpu1/./dpu_trace.h:892:1: note: in expansion of= macro 'DEFINE_EVENT' 892 | DEFINE_EVENT(dpu_core_irq_callback_template, dpu_core_irq_unregi= ster_callback, | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:10, from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:34: include/linux/tracepoint.h:279:49: note: expected 'void (*)(void *, int)= ' but argument is of type 'void (*)(void *, int, void *)' 279 | check_trace_callback_type_##name(void (*cb)(data_proto))= \ | ~~~~~~~^~~~~~~~~~~~~~~ include/linux/tracepoint.h:419:9: note: in expansion of macro '__DECLARE= _TRACE' 419 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), = \ | ^~~~~~~~~~~~~~~ include/linux/tracepoint.h:542:9: note: in expansion of macro 'DECLARE_T= RACE' 542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:892:1: note: in expansion of m= acro 'DEFINE_EVENT' 892 | DEFINE_EVENT(dpu_core_irq_callback_template, dpu_core_irq_unregi= ster_callback, | ^~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/check_trace_callback_type_dpu_core_irq_unregister_callback +99 includ= e/trace/perf.h ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 89) = ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 90) /* ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 91) * This part is co= mpiled out, it is only here as a build time check ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 92) * to make sure th= at if the tracepoint handling changes, the ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 93) * perf probe will= fail to compile unless it too is updated. ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 94) */ ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 95) #undef DEFINE_EVENT ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 96) #define DEFINE_EVE= NT(template, call, proto, args) \ ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 97) static inline void= perf_test_probe_##call(void) \ ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 98) { \ ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 @99) check_trace_callb= ack_type_##call(perf_trace_##template); \ ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 100) } ee53bbd172571c Steven Rostedt (Red Hat 2015-04-29 101) = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2706193379357442422==--