Content-Type: multipart/mixed; boundary="===============2950891053693769489==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 4/7] media: mtk-vcodec: fix debugging defines Date: Fri, 26 Nov 2021 16:11:12 +0800 Message-ID: <202111261657.wV6tp8uQ-lkp@intel.com> In-Reply-To: <20211117130635.11633-5-dafna.hirschfeld@collabora.com> List-Id: --===============2950891053693769489== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Dafna, I love your patch! Perhaps something to improve: [auto build test WARNING on media-tree/master] [also build test WARNING on linux/master linus/master v5.16-rc2] [cannot apply to next-20211126] [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/Dafna-Hirschfeld/media-mtk= -vcodec-few-fixes/20211117-210840 base: git://linuxtv.org/media_tree.git master config: arc-randconfig-r023-20211117 (https://download.01.org/0day-ci/archi= ve/20211126/202111261657.wV6tp8uQ-lkp(a)intel.com/config) compiler: arc-elf-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/87678e46cdd12f69edad572f8= 561e8ee929d1d16 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dafna-Hirschfeld/media-mtk-vcodec-= few-fixes/20211117-210840 git checkout 87678e46cdd12f69edad572f8561e8ee929d1d16 # save the config file to linux build tree COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= ARCH=3Darc = If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/kernel.h:19, from include/linux/list.h:9, from include/linux/module.h:12, from drivers/media/platform/mtk-vcodec/vdec/vdec_h264_r= eq_if.c:3: drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c: In function '= vdec_h264_slice_init': >> include/linux/kern_levels.h:5:25: warning: format '%lu' expects argument= of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wfor= mat=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header= */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_inde= x_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); = \ | ^~~~ include/linux/printk.h:132:17: note: in expansion of macro 'printk' 132 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH' 15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages = */ | ^~~~~~~~ include/linux/printk.h:576:19: note: in expansion of macro 'KERN_DEBUG' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/../mtk_vcodec_util.h:45:9: note: = in expansion of macro 'pr_debug' 45 | pr_debug("[MTK_VCODEC][%d]: " fmt "\n", \ | ^~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:640:9: note: i= n expansion of macro 'mtk_vcodec_debug' 640 | mtk_vcodec_debug(inst, "struct size =3D %lu,%lu,%lu,%lu\= n", | ^~~~~~~~~~~~~~~~ include/linux/kern_levels.h:5:25: warning: format '%lu' expects argument= of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wfor= mat=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header= */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_inde= x_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); = \ | ^~~~ include/linux/printk.h:132:17: note: in expansion of macro 'printk' 132 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH' 15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages = */ | ^~~~~~~~ include/linux/printk.h:576:19: note: in expansion of macro 'KERN_DEBUG' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/../mtk_vcodec_util.h:45:9: note: = in expansion of macro 'pr_debug' 45 | pr_debug("[MTK_VCODEC][%d]: " fmt "\n", \ | ^~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:640:9: note: i= n expansion of macro 'mtk_vcodec_debug' 640 | mtk_vcodec_debug(inst, "struct size =3D %lu,%lu,%lu,%lu\= n", | ^~~~~~~~~~~~~~~~ include/linux/kern_levels.h:5:25: warning: format '%lu' expects argument= of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wfor= mat=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header= */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_inde= x_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); = \ | ^~~~ include/linux/printk.h:132:17: note: in expansion of macro 'printk' 132 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH' 15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages = */ | ^~~~~~~~ include/linux/printk.h:576:19: note: in expansion of macro 'KERN_DEBUG' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/../mtk_vcodec_util.h:45:9: note: = in expansion of macro 'pr_debug' 45 | pr_debug("[MTK_VCODEC][%d]: " fmt "\n", \ | ^~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:640:9: note: i= n expansion of macro 'mtk_vcodec_debug' 640 | mtk_vcodec_debug(inst, "struct size =3D %lu,%lu,%lu,%lu\= n", | ^~~~~~~~~~~~~~~~ include/linux/kern_levels.h:5:25: warning: format '%lu' expects argument= of type 'long unsigned int', but argument 8 has type 'unsigned int' [-Wfor= mat=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header= */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_inde= x_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); = \ | ^~~~ include/linux/printk.h:132:17: note: in expansion of macro 'printk' 132 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:576:9: note: in expansion of macro 'no_printk' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH' 15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages = */ | ^~~~~~~~ include/linux/printk.h:576:19: note: in expansion of macro 'KERN_DEBUG' 576 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/../mtk_vcodec_util.h:45:9: note: = in expansion of macro 'pr_debug' 45 | pr_debug("[MTK_VCODEC][%d]: " fmt "\n", \ | ^~~~~~~~ drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:640:9: note: i= n expansion of macro 'mtk_vcodec_debug' 640 | mtk_vcodec_debug(inst, "struct size =3D %lu,%lu,%lu,%lu\= n", | ^~~~~~~~~~~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a7 Joe Perches 2012-07-30 4 = 04d2c8c83d0e3ac Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCI= I Start Of Header */ 04d2c8c83d0e3ac Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3ac Joe Perches 2012-07-30 7 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2950891053693769489==--