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>] [day] [month] [year] [list]
Message-ID: <202110280655.xSKYVia9-lkp@intel.com>
Date:   Thu, 28 Oct 2021 06:17:02 +0800
From:   kernel test robot <lkp@...el.com>
To:     Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mlankhorst:topic/ttm-m2 16/36]
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c:25:26: warning: no previous
 prototype for function 'hugepage_ctx'

tree:   git://people.freedesktop.org/~mlankhorst/linux topic/ttm-m2
head:   64d9b1838d3ed1c34960b92407ddf377461321e9
commit: 995f0bb1bcbf6572f5087ed4e654a188955439e9 [16/36] drm/i915: Rework context handling in hugepages selftests
config: i386-randconfig-a003-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
        git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
        git fetch --no-tags mlankhorst topic/ttm-m2
        git checkout 995f0bb1bcbf6572f5087ed4e654a188955439e9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/gem/i915_gem_object.c:737:
>> drivers/gpu/drm/i915/gem/selftests/huge_pages.c:25:26: warning: no previous prototype for function 'hugepage_ctx' [-Wmissing-prototypes]
   struct i915_gem_context *hugepage_ctx(struct drm_i915_private *i915, struct file *file)
                            ^
   drivers/gpu/drm/i915/gem/selftests/huge_pages.c:25:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct i915_gem_context *hugepage_ctx(struct drm_i915_private *i915, struct file *file)
   ^
   static 
   1 warning generated.


vim +/hugepage_ctx +25 drivers/gpu/drm/i915/gem/selftests/huge_pages.c

    24	
  > 25	struct i915_gem_context *hugepage_ctx(struct drm_i915_private *i915, struct file *file)
    26	{
    27		struct i915_gem_context *ctx = live_context(i915, file);
    28		struct i915_address_space *vm;
    29	
    30		if (IS_ERR(ctx))
    31			return ctx;
    32	
    33		vm = ctx->vm;
    34		if (vm)
    35			WRITE_ONCE(vm->scrub_64K, true);
    36	
    37		return ctx;
    38	}
    39	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ