All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>,
	linux-media@vger.kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Dafna Hirschfeld <dafna.hirschfeld@collabora.com>,
	kernel@collabora.com, acourbot@chromium.org,
	andrew-ct.chen@mediatek.com, dafna3@gmail.com,
	eizan@chromium.org, houlong.wei@mediatek.com,
	hsinyi@chromium.org, hverkuil@xs4all.nl
Subject: Re: [PATCH v2 4/7] media: mtk-vcodec: fix debugging defines
Date: Fri, 19 Nov 2021 00:03:15 +0800	[thread overview]
Message-ID: <202111190050.QjHCUs1Y-lkp@intel.com> (raw)
In-Reply-To: <20211117130635.11633-5-dafna.hirschfeld@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 10434 bytes --]

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-rc1 next-20211118]
[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: arm-buildonly-randconfig-r003-20211118 (attached as .config)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/87678e46cdd12f69edad572f8561e8ee929d1d16
        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 attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:641:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_sps_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:642:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_pps_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:643:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_dec_slice_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:644:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_dpb_info));
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   4 warnings generated.


vim +641 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c

06fa5f757dc5a5 Yunfei Dong      2021-08-06  611  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  612  static int vdec_h264_slice_init(struct mtk_vcodec_ctx *ctx)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  613  {
06fa5f757dc5a5 Yunfei Dong      2021-08-06  614  	struct vdec_h264_slice_inst *inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  615  	int err;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  616  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  617  	inst = kzalloc(sizeof(*inst), GFP_KERNEL);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  618  	if (!inst)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  619  		return -ENOMEM;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  620  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  621  	inst->ctx = ctx;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  622  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  623  	inst->vpu.id = SCP_IPI_VDEC_H264;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  624  	inst->vpu.ctx = ctx;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  625  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  626  	err = vpu_dec_init(&inst->vpu);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  627  	if (err) {
06fa5f757dc5a5 Yunfei Dong      2021-08-06  628  		mtk_vcodec_err(inst, "vdec_h264 init err=%d", err);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  629  		goto error_free_inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  630  	}
06fa5f757dc5a5 Yunfei Dong      2021-08-06  631  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  632  	memcpy(&inst->vsi_ctx, inst->vpu.vsi, sizeof(inst->vsi_ctx));
06fa5f757dc5a5 Yunfei Dong      2021-08-06  633  	inst->vsi_ctx.dec.resolution_changed = true;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  634  	inst->vsi_ctx.dec.realloc_mv_buf = true;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  635  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  636  	err = allocate_predication_buf(inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  637  	if (err)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  638  		goto error_deinit;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  639  
87678e46cdd12f Dafna Hirschfeld 2021-11-17  640  	mtk_vcodec_debug(inst, "struct size = %lu,%lu,%lu,%lu\n",
06fa5f757dc5a5 Yunfei Dong      2021-08-06 @641  			 sizeof(struct mtk_h264_sps_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  642  			 sizeof(struct mtk_h264_pps_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  643  			 sizeof(struct mtk_h264_dec_slice_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  644  			 sizeof(struct mtk_h264_dpb_info));
06fa5f757dc5a5 Yunfei Dong      2021-08-06  645  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  646  	mtk_vcodec_debug(inst, "H264 Instance >> %p", inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  647  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  648  	ctx->drv_handle = inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  649  	return 0;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  650  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  651  error_deinit:
06fa5f757dc5a5 Yunfei Dong      2021-08-06  652  	vpu_dec_deinit(&inst->vpu);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  653  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  654  error_free_inst:
06fa5f757dc5a5 Yunfei Dong      2021-08-06  655  	kfree(inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  656  	return err;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  657  }
06fa5f757dc5a5 Yunfei Dong      2021-08-06  658  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38996 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 4/7] media: mtk-vcodec: fix debugging defines
Date: Fri, 19 Nov 2021 00:03:15 +0800	[thread overview]
Message-ID: <202111190050.QjHCUs1Y-lkp@intel.com> (raw)
In-Reply-To: <20211117130635.11633-5-dafna.hirschfeld@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 10595 bytes --]

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-rc1 next-20211118]
[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: arm-buildonly-randconfig-r003-20211118 (attached as .config)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/87678e46cdd12f69edad572f8561e8ee929d1d16
        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 attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:641:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_sps_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:642:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_pps_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:643:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_dec_slice_param),
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c:644:5: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                            sizeof(struct mtk_h264_dpb_info));
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h:46:46: note: expanded from macro 'mtk_vcodec_debug'
                   ((struct mtk_vcodec_ctx *)(h)->ctx)->id, ##args)
                                                              ^~~~
   include/linux/printk.h:570:26: note: expanded from macro 'pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
                            ~~~    ^~~~~~~~~~~
   include/linux/dynamic_debug.h:163:22: note: expanded from macro 'dynamic_pr_debug'
                              pr_fmt(fmt), ##__VA_ARGS__)
                                     ~~~     ^~~~~~~~~~~
   include/linux/dynamic_debug.h:152:56: note: expanded from macro '_dynamic_func_call'
           __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
                                                                 ^~~~~~~~~~~
   include/linux/dynamic_debug.h:134:15: note: expanded from macro '__dynamic_func_call'
                   func(&id, ##__VA_ARGS__);               \
                               ^~~~~~~~~~~
   4 warnings generated.


vim +641 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c

06fa5f757dc5a5 Yunfei Dong      2021-08-06  611  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  612  static int vdec_h264_slice_init(struct mtk_vcodec_ctx *ctx)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  613  {
06fa5f757dc5a5 Yunfei Dong      2021-08-06  614  	struct vdec_h264_slice_inst *inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  615  	int err;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  616  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  617  	inst = kzalloc(sizeof(*inst), GFP_KERNEL);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  618  	if (!inst)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  619  		return -ENOMEM;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  620  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  621  	inst->ctx = ctx;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  622  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  623  	inst->vpu.id = SCP_IPI_VDEC_H264;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  624  	inst->vpu.ctx = ctx;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  625  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  626  	err = vpu_dec_init(&inst->vpu);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  627  	if (err) {
06fa5f757dc5a5 Yunfei Dong      2021-08-06  628  		mtk_vcodec_err(inst, "vdec_h264 init err=%d", err);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  629  		goto error_free_inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  630  	}
06fa5f757dc5a5 Yunfei Dong      2021-08-06  631  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  632  	memcpy(&inst->vsi_ctx, inst->vpu.vsi, sizeof(inst->vsi_ctx));
06fa5f757dc5a5 Yunfei Dong      2021-08-06  633  	inst->vsi_ctx.dec.resolution_changed = true;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  634  	inst->vsi_ctx.dec.realloc_mv_buf = true;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  635  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  636  	err = allocate_predication_buf(inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  637  	if (err)
06fa5f757dc5a5 Yunfei Dong      2021-08-06  638  		goto error_deinit;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  639  
87678e46cdd12f Dafna Hirschfeld 2021-11-17  640  	mtk_vcodec_debug(inst, "struct size = %lu,%lu,%lu,%lu\n",
06fa5f757dc5a5 Yunfei Dong      2021-08-06 @641  			 sizeof(struct mtk_h264_sps_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  642  			 sizeof(struct mtk_h264_pps_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  643  			 sizeof(struct mtk_h264_dec_slice_param),
06fa5f757dc5a5 Yunfei Dong      2021-08-06  644  			 sizeof(struct mtk_h264_dpb_info));
06fa5f757dc5a5 Yunfei Dong      2021-08-06  645  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  646  	mtk_vcodec_debug(inst, "H264 Instance >> %p", inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  647  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  648  	ctx->drv_handle = inst;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  649  	return 0;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  650  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  651  error_deinit:
06fa5f757dc5a5 Yunfei Dong      2021-08-06  652  	vpu_dec_deinit(&inst->vpu);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  653  
06fa5f757dc5a5 Yunfei Dong      2021-08-06  654  error_free_inst:
06fa5f757dc5a5 Yunfei Dong      2021-08-06  655  	kfree(inst);
06fa5f757dc5a5 Yunfei Dong      2021-08-06  656  	return err;
06fa5f757dc5a5 Yunfei Dong      2021-08-06  657  }
06fa5f757dc5a5 Yunfei Dong      2021-08-06  658  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38996 bytes --]

  reply	other threads:[~2021-11-18 16:05 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 13:06 [PATCH v2 0/7] media: mtk-vcodec: few fixes Dafna Hirschfeld
2021-11-17 13:06 ` Dafna Hirschfeld
2021-11-17 13:06 ` [PATCH v2 1/7] media: mtk-vcodec: enc: add vp8 profile ctrl Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-11-17 13:06 ` [PATCH v2 2/7] media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-12-27  7:06   ` Alexandre Courbot
2021-12-27  7:06     ` Alexandre Courbot
2021-11-17 13:06 ` [PATCH v2 3/7] media: mtk-vcodec: enc: use "stream_started" flag for "stop/start_streaming" Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-11-25  8:30   ` Hans Verkuil
2021-11-25  8:30     ` Hans Verkuil
2021-11-17 13:06 ` [PATCH v2 4/7] media: mtk-vcodec: fix debugging defines Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-11-18 16:03   ` kernel test robot [this message]
2021-11-18 16:03     ` kernel test robot
2021-11-26  8:11   ` kernel test robot
2021-11-17 13:06 ` [PATCH v2 5/7] media: mtk-vcodec: replace func vidioc_try_fmt with two funcs for out/cap Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-12-27  7:06   ` Alexandre Courbot
2021-12-27  7:06     ` Alexandre Courbot
2021-11-17 13:06 ` [PATCH v2 6/7] media: mtk-vcodec: don't check return val of mtk_venc_get_q_data Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-12-27  7:06   ` Alexandre Courbot
2021-12-27  7:06     ` Alexandre Courbot
2021-11-17 13:06 ` [PATCH v2 7/7] meida: mtk-vcodec: remove unused func parameter Dafna Hirschfeld
2021-11-17 13:06   ` Dafna Hirschfeld
2021-11-18 14:35   ` Nicolas Dufresne
2021-11-18 14:35     ` Nicolas Dufresne
2021-12-27  7:06   ` Alexandre Courbot
2021-12-27  7:06     ` Alexandre Courbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111190050.QjHCUs1Y-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=acourbot@chromium.org \
    --cc=andrew-ct.chen@mediatek.com \
    --cc=dafna.hirschfeld@collabora.com \
    --cc=dafna3@gmail.com \
    --cc=eizan@chromium.org \
    --cc=houlong.wei@mediatek.com \
    --cc=hsinyi@chromium.org \
    --cc=hverkuil@xs4all.nl \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel@collabora.com \
    --cc=linux-media@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.