All of lore.kernel.org
 help / color / mirror / Atom feed
* [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
@ 2021-10-28  4:46 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-10-28  4:46 UTC (permalink / raw)
  To: Gal Pressman
  Cc: kbuild-all, Doug Ledford, Jason Gunthorpe, linux-rdma, Jason Gunthorpe

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
head:   c200e6a625c01880074a0c8137361dd8a927fbb4
commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
        git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
        git fetch --no-tags rdma wip/jgg-for-next
        git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

   In file included from drivers/infiniband/core/uverbs.h:47,
                    from drivers/infiniband/core/nldev.c:44:
>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
     187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   ia64-linux-ld: drivers/infiniband/core/ib_core_uverbs.o: in function `ib_umem_dmabuf_get_pinned':
>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here

---
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: 19957 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
@ 2021-10-28  4:46 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-10-28  4:46 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
head:   c200e6a625c01880074a0c8137361dd8a927fbb4
commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
        git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
        git fetch --no-tags rdma wip/jgg-for-next
        git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

   In file included from drivers/infiniband/core/uverbs.h:47,
                    from drivers/infiniband/core/nldev.c:44:
>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
     187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   ia64-linux-ld: drivers/infiniband/core/ib_core_uverbs.o: in function `ib_umem_dmabuf_get_pinned':
>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here

---
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: 19957 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
  2021-10-28  4:46 ` kernel test robot
@ 2021-10-28  8:26   ` Gal Pressman
  -1 siblings, 0 replies; 6+ messages in thread
From: Gal Pressman @ 2021-10-28  8:26 UTC (permalink / raw)
  To: kernel test robot, Jason Gunthorpe
  Cc: kbuild-all, Doug Ledford, Jason Gunthorpe, linux-rdma,
	Firas Jahjah, Yossi Leybovich

On 28/10/2021 07:46, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
> head:   c200e6a625c01880074a0c8137361dd8a927fbb4
> commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
> config: ia64-defconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
>         git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
>         git fetch --no-tags rdma wip/jgg-for-next
>         git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All error/warnings (new ones prefixed by >>):
>
>    In file included from drivers/infiniband/core/uverbs.h:47,
>                     from drivers/infiniband/core/nldev.c:44:
>>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
>      187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
>          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
> --
>    ia64-linux-ld: drivers/infiniband/core/ib_core_uverbs.o: in function `ib_umem_dmabuf_get_pinned':
>>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
>>>

Oh crap, this obviously needs a 'static inline'.. Jason do you want to
squash it or should I submit a patch?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
@ 2021-10-28  8:26   ` Gal Pressman
  0 siblings, 0 replies; 6+ messages in thread
From: Gal Pressman @ 2021-10-28  8:26 UTC (permalink / raw)
  To: kbuild-all

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

On 28/10/2021 07:46, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
> head:   c200e6a625c01880074a0c8137361dd8a927fbb4
> commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
> config: ia64-defconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
>         git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
>         git fetch --no-tags rdma wip/jgg-for-next
>         git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All error/warnings (new ones prefixed by >>):
>
>    In file included from drivers/infiniband/core/uverbs.h:47,
>                     from drivers/infiniband/core/nldev.c:44:
>>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
>      187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
>          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
> --
>    ia64-linux-ld: drivers/infiniband/core/ib_core_uverbs.o: in function `ib_umem_dmabuf_get_pinned':
>>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
>>>

Oh crap, this obviously needs a 'static inline'.. Jason do you want to
squash it or should I submit a patch?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
  2021-10-28  8:26   ` Gal Pressman
@ 2021-10-28 11:57     ` Jason Gunthorpe
  -1 siblings, 0 replies; 6+ messages in thread
From: Jason Gunthorpe @ 2021-10-28 11:57 UTC (permalink / raw)
  To: Gal Pressman
  Cc: kernel test robot, kbuild-all, Doug Ledford, Jason Gunthorpe,
	linux-rdma, Firas Jahjah, Yossi Leybovich

On Thu, Oct 28, 2021 at 11:26:45AM +0300, Gal Pressman wrote:
> On 28/10/2021 07:46, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
> > head:   c200e6a625c01880074a0c8137361dd8a927fbb4
> > commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
> > config: ia64-defconfig (attached as .config)
> > compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
> >         git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
> >         git fetch --no-tags rdma wip/jgg-for-next
> >         git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
> >         # save the attached .config to linux build tree
> >         mkdir build_dir
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All error/warnings (new ones prefixed by >>):
> >
> >    In file included from drivers/infiniband/core/uverbs.h:47,
> >                     from drivers/infiniband/core/nldev.c:44:
> >>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
> >      187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
> >          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
> >>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
> >>>
> 
> Oh crap, this obviously needs a 'static inline'.. Jason do you want to
> squash it or should I submit a patch?

I fixed it

Jason
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
@ 2021-10-28 11:57     ` Jason Gunthorpe
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Gunthorpe @ 2021-10-28 11:57 UTC (permalink / raw)
  To: kbuild-all

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

On Thu, Oct 28, 2021 at 11:26:45AM +0300, Gal Pressman wrote:
> On 28/10/2021 07:46, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
> > head:   c200e6a625c01880074a0c8137361dd8a927fbb4
> > commit: 4f9e1c0814f9ca8002820d4f7a38d0992add454e [89/95] RDMA/umem: Allow pinned dmabuf umem usage
> > config: ia64-defconfig (attached as .config)
> > compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=4f9e1c0814f9ca8002820d4f7a38d0992add454e
> >         git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
> >         git fetch --no-tags rdma wip/jgg-for-next
> >         git checkout 4f9e1c0814f9ca8002820d4f7a38d0992add454e
> >         # save the attached .config to linux build tree
> >         mkdir build_dir
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All error/warnings (new ones prefixed by >>):
> >
> >    In file included from drivers/infiniband/core/uverbs.h:47,
> >                     from drivers/infiniband/core/nldev.c:44:
> >>> include/rdma/ib_umem.h:187:24: warning: no previous prototype for 'ib_umem_dmabuf_get_pinned' [-Wmissing-prototypes]
> >      187 | struct ib_umem_dmabuf *ib_umem_dmabuf_get_pinned(struct ib_device *device,
> >          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
> >>> (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here
> >>>
> 
> Oh crap, this obviously needs a 'static inline'.. Jason do you want to
> squash it or should I submit a patch?

I fixed it

Jason
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-28 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28  4:46 [rdma:wip/jgg-for-next 89/95] (.text+0x1320): multiple definition of `ib_umem_dmabuf_get_pinned'; drivers/infiniband/core/nldev.o:(.text+0xc260): first defined here kernel test robot
2021-10-28  4:46 ` kernel test robot
2021-10-28  8:26 ` Gal Pressman
2021-10-28  8:26   ` Gal Pressman
2021-10-28 11:57   ` Jason Gunthorpe
2021-10-28 11:57     ` Jason Gunthorpe

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.