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]
Date:   Thu, 18 Nov 2021 05:15:33 +0800
From:   kernel test robot <lkp@...el.com>
To:     Thomas Hellström 
        <thomas.hellstrom@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Matthew Auld <matthew.auld@...el.com>
Subject: drivers/gpu/drm/i915/gem/i915_gem_object.c:102: warning: expecting
 prototype for i915_gem_object_fini(). Prototype was for
 __i915_gem_object_fini() instead

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ee1703cda8dc777e937dec172da55beaf1a74919
commit: 068396bb21c8aa3b2f797c58eb9e623d7cf271bb drm/i915/ttm: Rework object initialization slightly
date:   7 weeks ago
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=068396bb21c8aa3b2f797c58eb9e623d7cf271bb
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 068396bb21c8aa3b2f797c58eb9e623d7cf271bb
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/

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

>> drivers/gpu/drm/i915/gem/i915_gem_object.c:102: warning: expecting prototype for i915_gem_object_fini(). Prototype was for __i915_gem_object_fini() instead
   drivers/gpu/drm/i915/gem/i915_gem_object.c:109: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Mark up the object's coherency levels for a given cache_level


vim +102 drivers/gpu/drm/i915/gem/i915_gem_object.c

    91	
    92	/**
    93	 * i915_gem_object_fini - Clean up a GEM object initialization
    94	 * @obj: The gem object to cleanup
    95	 *
    96	 * This function cleans up gem object fields that are set up by
    97	 * drm_gem_private_object_init() and i915_gem_object_init().
    98	 * It's primarily intended as a helper for backends that need to
    99	 * clean up the gem object in separate steps.
   100	 */
   101	void __i915_gem_object_fini(struct drm_i915_gem_object *obj)
 > 102	{
   103		mutex_destroy(&obj->mm.get_page.lock);
   104		mutex_destroy(&obj->mm.get_dma_page.lock);
   105		dma_resv_fini(&obj->base._resv);
   106	}
   107	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ