mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Fritz Koenig <frkoenig@chromium.org>,
	linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, stanimir.varbanov@linaro.org,
	vgarodia@codeaurora.org, dikshita@codeaurora.org,
	acourbot@chromium.org, tfiga@chromium.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Fritz Koenig <frkoenig@chromium.org>
Subject: Re: [PATCH] venus: guard load_scale
Date: Sun, 15 Nov 2020 04:06:46 +0800	[thread overview]
Message-ID: <202011150457.BgBxAqQm-lkp@intel.com> (raw)
In-Reply-To: <20201110064650.143800-1-frkoenig@chromium.org>

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

Hi Fritz,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.10-rc3 next-20201113]
[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/Fritz-Koenig/venus-guard-load_scale/20201110-144916
base:   git://linuxtv.org/media_tree.git master
config: arm64-randconfig-r013-20201114 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9a85643cd357e412cff69067bb5c4840e228c2ab)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/0f286c3baefce09c2d1845a683814847fed9e45d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Fritz-Koenig/venus-guard-load_scale/20201110-144916
        git checkout 0f286c3baefce09c2d1845a683814847fed9e45d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All errors (new ones prefixed by >>):

   In file included from drivers/media/platform/qcom/venus/core.c:23:
>> drivers/media/platform/qcom/venus/pm_helpers.h:39:12: error: no member named 'enc_state' in 'struct venus_inst'
               inst->enc_state == VENUS_ENC_STATE_INIT)
               ~~~~  ^
>> drivers/media/platform/qcom/venus/pm_helpers.h:39:25: error: use of undeclared identifier 'VENUS_ENC_STATE_INIT'; did you mean 'VENUS_DEC_STATE_INIT'?
               inst->enc_state == VENUS_ENC_STATE_INIT)
                                  ^~~~~~~~~~~~~~~~~~~~
                                  VENUS_DEC_STATE_INIT
   drivers/media/platform/qcom/venus/core.h:270:2: note: 'VENUS_DEC_STATE_INIT' declared here
           VENUS_DEC_STATE_INIT            = 1,
           ^
   2 errors generated.

vim +39 drivers/media/platform/qcom/venus/pm_helpers.h

    30	
    31	static inline int venus_pm_load_scale(struct venus_inst *inst)
    32	{
    33		struct venus_core *core = inst->core;
    34	
    35		if (!core->pm_ops || !core->pm_ops->load_scale)
    36			return 0;
    37	
    38		if (inst->session_type == VIDC_SESSION_TYPE_ENC &&
  > 39		    inst->enc_state == VENUS_ENC_STATE_INIT)
    40			return 0;
    41	
    42		return core->pm_ops->load_scale(inst);
    43	}
    44	

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

      reply	other threads:[~2020-11-14 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10  6:46 Fritz Koenig
2020-11-14 20:06 ` kernel test robot [this message]

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=202011150457.BgBxAqQm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=acourbot@chromium.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=dikshita@codeaurora.org \
    --cc=frkoenig@chromium.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=stanimir.varbanov@linaro.org \
    --cc=tfiga@chromium.org \
    --cc=vgarodia@codeaurora.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®