Hi John,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc1]
[cannot apply to linux/master drm-intel/for-linux-next drm-tip/drm-tip]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/John-Stultz/Generic-page-pool-deferred-freeing-for-system-dmabuf-heap/20210305-072137
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
3cb60ee6323968b694208c4cbd56a7176396e931
config: openrisc-randconfig-p001-20210304 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
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
        # 
https://github.com/0day-ci/linux/commit/6a9bf19a9ed9e5058a11a3e3217530fdf2675e0c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
John-Stultz/Generic-page-pool-deferred-freeing-for-system-dmabuf-heap/20210305-072137
        git checkout 6a9bf19a9ed9e5058a11a3e3217530fdf2675e0c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=openrisc 

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

All errors (new ones prefixed by >>):

   or1k-linux-ld: arch/openrisc/kernel/entry.o: in function 
`_external_irq_handler':
   (.text+0x804): undefined reference to `printk'
   (.text+0x804): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `printk'
   or1k-linux-ld: drivers/dma-buf/heaps/system_heap.o: in function 
`system_heap_create':
>> system_heap.c:(.text+0x15c): undefined reference to `drm_page_pool_init'
   system_heap.c:(.text+0x15c): relocation truncated to fit: R_OR1K_INSN_REL_26 
against undefined symbol `drm_page_pool_init'
>> or1k-linux-ld: system_heap.c:(.text+0x16c): undefined reference to 
>> `drm_page_pool_init'
   system_heap.c:(.text+0x16c): relocation truncated to fit: R_OR1K_INSN_REL_26 
against undefined symbol `drm_page_pool_init'
   or1k-linux-ld: system_heap.c:(.text+0x17c): undefined reference to 
`drm_page_pool_init'
   system_heap.c:(.text+0x17c): relocation truncated to fit: R_OR1K_INSN_REL_26 
against undefined symbol `drm_page_pool_init'
   or1k-linux-ld: drivers/dma-buf/heaps/system_heap.o: in function 
`system_heap_dma_buf_release':
>> system_heap.c:(.text+0xf78): undefined reference to `drm_page_pool_add'
   system_heap.c:(.text+0xf78): relocation truncated to fit: R_OR1K_INSN_REL_26 
against undefined symbol `drm_page_pool_add'
   or1k-linux-ld: drivers/dma-buf/heaps/system_heap.o: in function 
`system_heap_allocate':
>> system_heap.c:(.text+0x11f8): undefined reference to `drm_page_pool_remove'
   system_heap.c:(.text+0x11f8): relocation truncated to fit: 
R_OR1K_INSN_REL_26 against undefined symbol `drm_page_pool_remove'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for DRM_PAGE_POOL
   Depends on HAS_IOMEM && DRM
   Selected by
   - DMABUF_HEAPS_SYSTEM && DMABUF_HEAPS


"cppcheck warnings: (new ones prefixed by >>)"
>> drivers/dma-buf/heaps/system_heap.c:290:2: warning: int result is returned 
>> as long value. If the return value is long to avoid loss of information, 
>> then you have loss of information. [truncLongCastReturn]
    return 1 << pool->order;
    ^

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

Attachment: .config.gz
Description: application/gzip

Reply via email to