mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 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
@ 2021-11-17 21:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-17 21:15 UTC (permalink / raw)
  To: Thomas Hellström; +Cc: kbuild-all, linux-kernel, Matthew Auld

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66441 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-17 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 21:15 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 kernel test robot

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®