[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201604221647.1smOH44j%fengguang.wu@intel.com>
Date: Fri, 22 Apr 2016 16:05:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Tiffany Lin <tiffany.lin@...iatek.com>
Cc: kbuild-all@...org, Hans Verkuil <hans.verkuil@...co.com>,
daniel.thompson@...aro.org, Rob Herring <robh+dt@...nel.org>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Daniel Kurtz <djkurtz@...omium.org>,
Pawel Osciak <posciak@...omium.org>,
Eddie Huang <eddie.huang@...iatek.com>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-media@...r.kernel.org,
linux-mediatek@...ts.infradead.org, PoChun.Lin@...iatek.com,
Tiffany.lin@...iatek.com
Subject: Re: [PATCH v7 7/8] [media] vcodec: mediatek: Add Mediatek H264 Video
Encoder Driver
Hi,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.6-rc4 next-20160421]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Tiffany-Lin/Add-MT8173-Video-Encoder-Driver-and-VPU-Driver/20160422-123111
base: git://linuxtv.org/media_tree.git master
config: i386-allyesconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c: In function 'h264_enc_alloc_work_buf':
>> drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c:299:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka unsigned int}' [-Wformat=]
vim +299 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
283 * This RC_CODE is pre-allocated by VPU and saved in VPU
284 * addr. So we need use memcpy to copy RC_CODE from VPU
285 * addr into IO virtual addr in 'iova' field for reg
286 * setting in VPU side.
287 */
288 if (i == VENC_H264_VPU_WORK_BUF_RC_CODE) {
289 void *tmp_va;
290
291 tmp_va = vpu_mapping_dm_addr(inst->vpu_inst.dev,
292 wb[i].vpua);
293 memcpy(inst->work_bufs[i].va, tmp_va,
294 wb[i].size);
295 }
296 }
297 wb[i].iova = inst->work_bufs[i].dma_addr;
298
> 299 mtk_vcodec_debug(inst,
300 "work_buf[%d] va=0x%p iova=0x%p size=0x%lx",
301 i, inst->work_bufs[i].va,
302 (void *)inst->work_bufs[i].dma_addr,
303 inst->work_bufs[i].size);
304 }
305
306 /* the pps_buf is used by AP side only */
307 inst->pps_buf.size = 128;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (53783 bytes)
Powered by blists - more mailing lists