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 v12 8/9] media: hantro: Introduce G2/HEVC decoder
Date: Thu, 27 May 2021 12:29:53 +0800	[thread overview]
Message-ID: <202105271200.9PkdNCLW-lkp@intel.com> (raw)
In-Reply-To: <20210526124516.2039434-9-benjamin.gaignard@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 2840 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-20210526]
[cannot apply to sunxi/sunxi/for-next pza/reset/next v5.13-rc3]
[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/20210526-204854
base:   git://linuxtv.org/media_tree.git master
config: nios2-randconfig-r024-20210526 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/49e33af970a98ff968cb11dbaaba205bcf748bda
        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/20210526-204854
        git checkout 49e33af970a98ff968cb11dbaaba205bcf748bda
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

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_g2_hevc_dec.c: In function 'hantro_write_addr':
>> drivers/staging/media/hantro/hantro_g2_hevc_dec.c:23:24: warning: right shift count >= width of type [-Wshift-count-overflow]
      23 |  vdpu_write(vpu, (addr >> 32) & 0xffffffff, offset + 4);
         |                        ^~
   In file included from drivers/staging/media/hantro/hantro_g2_hevc_dec.c:9:
   At top level:
   drivers/staging/media/hantro/hantro_g2_regs.h:16:33: warning: 'g2_scaling_list_e' defined but not used [-Wunused-const-variable=]
      16 |  static const struct hantro_reg g2_##name = { \
         |                                 ^~~
   drivers/staging/media/hantro/hantro_g2_regs.h:52:1: note: in expansion of macro 'G2_DEC_REG'
      52 | G2_DEC_REG(scaling_list_e, 5, 24, 0x1);
         | ^~~~~~~~~~


vim +23 drivers/staging/media/hantro/hantro_g2_hevc_dec.c

    17	
    18	static inline void hantro_write_addr(struct hantro_dev *vpu,
    19					     unsigned long offset,
    20					     dma_addr_t addr)
    21	{
    22		vdpu_write(vpu, addr & 0xffffffff, offset);
  > 23		vdpu_write(vpu, (addr >> 32) & 0xffffffff, offset + 4);
    24	}
    25	

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

  reply	other threads:[~2021-05-27  4:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 12:45 [PATCH v12 0/9] Add HANTRO G2/HEVC decoder support for IMX8MQ Benjamin Gaignard
2021-05-26 12:45 ` Benjamin Gaignard
2021-05-26 12:45 ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 1/9] media: hevc: Add fields and flags for hevc PPS Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 2/9] media: hevc: Add decode params control Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 3/9] media: hantro: change hantro_codec_ops run prototype to return errors Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 4/9] media: hantro: Define HEVC codec profiles and supported features Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 5/9] media: hantro: Only use postproc when post processed formats are defined Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 6/9] media: uapi: Add a control for HANTRO driver Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 7/9] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45 ` [PATCH v12 8/9] media: hantro: Introduce G2/HEVC decoder Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-27  4:29   ` kernel test robot [this message]
2021-05-26 12:45 ` [PATCH v12 9/9] media: hantro: IMX8M: add variant for G2/HEVC codec Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-26 12:45   ` Benjamin Gaignard
2021-05-27 13:36 ` [PATCH v12 0/9] Add HANTRO G2/HEVC decoder support for IMX8MQ Benjamin Gaignard
2021-05-27 13:36   ` Benjamin Gaignard
2021-05-27 13:36   ` Benjamin Gaignard
2021-06-03  9:19 ` Hans Verkuil
2021-06-03  9:19   ` Hans Verkuil
2021-06-03  9:19   ` Hans Verkuil
2021-06-03 11:39   ` Benjamin Gaignard
2021-06-03 11:39     ` Benjamin Gaignard
2021-06-03 11:39     ` 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=202105271200.9PkdNCLW-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.