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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202111221530.3gCeOXkk-lkp@intel.com>
Date:   Mon, 22 Nov 2021 15:08:24 +0800
From:   kernel test robot <lkp@...el.com>
To:     cgel.zte@...il.com, jani.nikula@...ux.intel.com
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org, airlied@...ux.ie,
        intel-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
        dri-devel@...ts.freedesktop.org,
        yong yiran <yong.yiran@....com.cn>, rodrigo.vivi@...el.com,
        Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] drm/i915/request: Remove unused variables

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on next-20211118]

url:    https://github.com/0day-ci/linux/commits/cgel-zte-gmail-com/drm-i915-request-Remove-unused-variables/20211121-181441
base:    5191249f880367a4cd675825cd721a8d78f26a45
config: x86_64-randconfig-c007-20211121 (attached as .config)
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/117f34e1836e312bdea3b7c886d829e30f55a094
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review cgel-zte-gmail-com/drm-i915-request-Remove-unused-variables/20211121-181441
        git checkout 117f34e1836e312bdea3b7c886d829e30f55a094
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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 >>):

>> drivers/gpu/drm/i915/i915_request.c:2032:12: error: unused function 'print_sched_attr' [-Werror,-Wunused-function]
   static int print_sched_attr(const struct i915_sched_attr *attr,
              ^
   1 error generated.


vim +/print_sched_attr +2032 drivers/gpu/drm/i915/i915_request.c

7e2e69ed4678a4 Maarten Lankhorst 2021-10-21  2031  
1f0e785a9cc09b Chris Wilson      2020-11-19 @2032  static int print_sched_attr(const struct i915_sched_attr *attr,
1f0e785a9cc09b Chris Wilson      2020-11-19  2033  			    char *buf, int x, int len)
1f0e785a9cc09b Chris Wilson      2020-11-19  2034  {
1f0e785a9cc09b Chris Wilson      2020-11-19  2035  	if (attr->priority == I915_PRIORITY_INVALID)
1f0e785a9cc09b Chris Wilson      2020-11-19  2036  		return x;
1f0e785a9cc09b Chris Wilson      2020-11-19  2037  
1f0e785a9cc09b Chris Wilson      2020-11-19  2038  	x += snprintf(buf + x, len - x,
1f0e785a9cc09b Chris Wilson      2020-11-19  2039  		      " prio=%d", attr->priority);
1f0e785a9cc09b Chris Wilson      2020-11-19  2040  
1f0e785a9cc09b Chris Wilson      2020-11-19  2041  	return x;
1f0e785a9cc09b Chris Wilson      2020-11-19  2042  }
1f0e785a9cc09b Chris Wilson      2020-11-19  2043  

---
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" (35289 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ