lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202011150457.BgBxAqQm-lkp@intel.com>
Date:   Sun, 15 Nov 2020 04:06:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Fritz Koenig <frkoenig@...omium.org>, linux-media@...r.kernel.org,
        linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
        stanimir.varbanov@...aro.org, vgarodia@...eaurora.org,
        dikshita@...eaurora.org, acourbot@...omium.org, tfiga@...omium.org
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        Fritz Koenig <frkoenig@...omium.org>
Subject: Re: [PATCH] venus: guard load_scale

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (38611 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ