mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Matthew Auld <matthew.auld@intel.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
Date: Thu, 18 Nov 2021 05:15:33 +0800	[thread overview]
Message-ID: <202111180525.9NJD1Fib-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-11-17 21:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111180525.9NJD1Fib-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.auld@intel.com \
    --cc=thomas.hellstrom@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®