All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v7 11/13] media: hantro: Introduce G2/HEVC decoder
Date: Wed, 31 Mar 2021 10:23:34 +0800	[thread overview]
Message-ID: <202103311028.ZHQCyBVc-lkp@intel.com> (raw)
In-Reply-To: <20210329065743.11961-12-benjamin.gaignard@collabora.com>

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

Hi Benjamin,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on next-20210330]
[cannot apply to sunxi/sunxi/for-next robh/for-next v5.12-rc5]
[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/Benjamin-Gaignard/Add-HANTRO-G2-HEVC-decoder-support-for-IMX8MQ/20210329-150103
base:   git://linuxtv.org/media_tree.git master
config: mips-randconfig-r032-20210330 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 3a6365a439ede4b7c65076bb42b1b7dbf72216b5)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/6c73113b8fb6f3baedb243955533b8081c7f16e7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Benjamin-Gaignard/Add-HANTRO-G2-HEVC-decoder-support-for-IMX8MQ/20210329-150103
        git checkout 6c73113b8fb6f3baedb243955533b8081c7f16e7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

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/staging/media/hantro/hantro_hevc.c:57:48: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
                     pic_width_in_ctbs_y, pic_height_in_ctbs_y, mv_size);
                                                                ^~~~~~~
   drivers/staging/media/hantro/hantro.h:323:28: note: expanded from macro 'vpu_debug'
                                    __func__, __LINE__, ##args);   \
                                                          ^~~~
   include/linux/printk.h:373:34: note: expanded from macro 'pr_info'
           printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
                                   ~~~     ^~~~~~~~~~~
   1 warning generated.


vim +57 drivers/staging/media/hantro/hantro_hevc.c

    44	
    45	static size_t hantro_hevc_mv_size(const struct v4l2_ctrl_hevc_sps *sps)
    46	{
    47		u32 min_cb_log2_size_y = sps->log2_min_luma_coding_block_size_minus3 + 3;
    48		u32 ctb_log2_size_y = min_cb_log2_size_y + sps->log2_diff_max_min_luma_coding_block_size;
    49		u32 pic_width_in_ctbs_y = (sps->pic_width_in_luma_samples + (1 << ctb_log2_size_y) - 1) >> ctb_log2_size_y;
    50		u32 pic_height_in_ctbs_y = (sps->pic_height_in_luma_samples + (1 << ctb_log2_size_y) - 1) >> ctb_log2_size_y;
    51		size_t mv_size;
    52	
    53		mv_size = pic_width_in_ctbs_y * pic_height_in_ctbs_y *
    54			  (1 << (2 * (ctb_log2_size_y - 4))) * 16;
    55	
    56		vpu_debug(4, "%dx%d (CTBs) %lu MV bytes\n",
  > 57			  pic_width_in_ctbs_y, pic_height_in_ctbs_y, mv_size);
    58	
    59		return mv_size;
    60	}
    61	

---
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: 27706 bytes --]

  parent reply	other threads:[~2021-03-31  2:23 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  6:57 [PATCH v7 00/13] Add HANTRO G2/HEVC decoder support for IMX8MQ Benjamin Gaignard
2021-03-29  6:57 ` Benjamin Gaignard
2021-03-29  6:57 ` Benjamin Gaignard
2021-03-29  6:57 ` [PATCH v7 01/13] dt-bindings: mfd: Add 'nxp, imx8mq-vpu-ctrl' to syscon list Benjamin Gaignard
2021-03-29  6:57   ` [PATCH v7 01/13] dt-bindings: mfd: Add 'nxp,imx8mq-vpu-ctrl' " Benjamin Gaignard
2021-03-29  6:57   ` [PATCH v7 01/13] dt-bindings: mfd: Add 'nxp, imx8mq-vpu-ctrl' " Benjamin Gaignard
2021-03-29  7:46   ` [PATCH v7 01/13] dt-bindings: mfd: Add 'nxp,imx8mq-vpu-ctrl' " Lee Jones
2021-03-29  7:46     ` Lee Jones
2021-03-29  7:46     ` Lee Jones
2021-03-29  6:57 ` [PATCH v7 02/13] dt-bindings: media: nxp, imx8mq-vpu: Update the bindings for G2 support Benjamin Gaignard
2021-03-29  6:57   ` [PATCH v7 02/13] dt-bindings: media: nxp,imx8mq-vpu: " Benjamin Gaignard
2021-03-29  6:57   ` [PATCH v7 02/13] dt-bindings: media: nxp, imx8mq-vpu: " Benjamin Gaignard
2021-03-29  6:57 ` [PATCH v7 03/13] media: hantro: Use syscon instead of 'ctrl' register Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57 ` [PATCH v7 04/13] media: hevc: Add fields and flags for hevc PPS Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:27   ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 05/13] media: hevc: Add decode params control Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:27   ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 06/13] media: hantro: change hantro_codec_ops run prototype to return errors Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:27   ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29 19:27     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 07/13] media: hantro: Define HEVC codec profiles and supported features Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:28   ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 08/13] media: hantro: Only use postproc when post processed formats are defined Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:28   ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 09/13] media: uapi: Add a control for HANTRO driver Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57 ` [PATCH v7 10/13] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:28   ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29 19:28     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 11/13] media: hantro: Introduce G2/HEVC decoder Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 16:28   ` kernel test robot
2021-03-31  2:23   ` kernel test robot [this message]
2021-03-29  6:57 ` [PATCH v7 12/13] media: hantro: IMX8M: add variant for G2/HEVC codec Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29 19:29   ` Ezequiel Garcia
2021-03-29 19:29     ` Ezequiel Garcia
2021-03-29 19:29     ` Ezequiel Garcia
2021-03-29  6:57 ` [PATCH v7 13/13] arm64: dts: imx8mq: Add node to G2 hardware Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard
2021-03-29  6:57   ` Benjamin Gaignard

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=202103311028.ZHQCyBVc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.