All of lore.kernel.org
 help / color / mirror / Atom feed
* [mlankhorst:locking-rework 12/38] include/linux/dma-resv.h:78:28: error: implicit declaration of function 'lockdep_is_held'; did you mean
@ 2020-09-08 11:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-08 11:28 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://people.freedesktop.org/~mlankhorst/linux locking-rework
head:   a79fb96dfd8cc55fbe36c0ad3d51e78b43fd657e
commit: d3af042d8970ae3313577b3a842009c63ea3c95f [12/38] drm/i915: Ensure we hold the object mutex in pin correctly.
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        git checkout d3af042d8970ae3313577b3a842009c63ea3c95f
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/bug.h:93,
                    from include/linux/bug.h:5,
                    from arch/x86/include/asm/paravirt.h:15,
                    from arch/x86/include/asm/irqflags.h:72,
                    from include/linux/irqflags.h:16,
                    from include/linux/rcupdate.h:26,
                    from include/linux/rculist.h:11,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/sched/mm.h:7,
                    from drivers/gpu/drm/i915/i915_vma.c:25:
   drivers/gpu/drm/i915/i915_vma.c: In function 'i915_ggtt_pin':
>> include/linux/dma-resv.h:78:28: error: implicit declaration of function 'lockdep_is_held'; did you mean 'lockdep_assert_held'? [-Werror=implicit-function-declaration]
      78 | #define dma_resv_held(obj) lockdep_is_held(&(obj)->lock.base)
         |                            ^~~~~~~~~~~~~~~
   include/asm-generic/bug.h:128:25: note: in definition of macro 'WARN'
     128 |  int __ret_warn_on = !!(condition);    \
         |                         ^~~~~~~~~
   drivers/gpu/drm/i915/i915_vma.c:1021:2: note: in expansion of macro 'WARN_ON'
    1021 |  WARN_ON(!ww && vma->resv && dma_resv_held(vma->resv));
         |  ^~~~~~~
   drivers/gpu/drm/i915/i915_vma.c:1021:30: note: in expansion of macro 'dma_resv_held'
    1021 |  WARN_ON(!ww && vma->resv && dma_resv_held(vma->resv));
         |                              ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors

git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
git fetch --no-tags mlankhorst locking-rework
git checkout d3af042d8970ae3313577b3a842009c63ea3c95f
vim +78 include/linux/dma-resv.h

786d7257e537da include/linux/reservation.h Maarten Lankhorst 2013-06-27  77  
52791eeec1d9f4 include/linux/dma-resv.h    Christian König   2019-08-11 @78  #define dma_resv_held(obj) lockdep_is_held(&(obj)->lock.base)
52791eeec1d9f4 include/linux/dma-resv.h    Christian König   2019-08-11  79  #define dma_resv_assert_held(obj) lockdep_assert_held(&(obj)->lock.base)
04a5faa8cbe5a8 include/linux/reservation.h Maarten Lankhorst 2014-07-01  80  

:::::: The code at line 78 was first introduced by commit
:::::: 52791eeec1d9f4a7e7fe08aaba0b1553149d93bc dma-buf: rename reservation_object to dma_resv

:::::: TO: Christian König <christian.koenig@amd.com>
:::::: CC: Christian König <christian.koenig@amd.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

only message in thread, other threads:[~2020-09-08 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 11:28 [mlankhorst:locking-rework 12/38] include/linux/dma-resv.h:78:28: error: implicit declaration of function 'lockdep_is_held'; did you mean kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.