All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/4] habanalabs: expose state dump
Date: Sun, 04 Jul 2021 21:25:46 +0800	[thread overview]
Message-ID: <202107042138.22yxsAeO-lkp@intel.com> (raw)
In-Reply-To: <20210704115102.9223-2-ogabbay@kernel.org>

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

Hi Oded,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on next-20210701]
[cannot apply to linux/master linus/master v5.13]
[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/Oded-Gabbay/habanalabs-use-get_task_pid-to-take-PID/20210704-195147
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 6f746d485fb9188dc67dce7de63d21f0c28a1f2e
config: microblaze-randconfig-r026-20210704 (attached as .config)
compiler: microblaze-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/3e9619ac368f95ce2bc592e00383c21f2ce66365
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Oded-Gabbay/habanalabs-use-get_task_pid-to-take-PID/20210704-195147
        git checkout 3e9619ac368f95ce2bc592e00383c21f2ce66365
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=microblaze 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 >>):

   microblaze-linux-ld: drivers/misc/habanalabs/common/mmu/mmu_v1.o: in function `hl_debugfs_set_state_dump':
>> (.text+0x4120): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/pci/pci.o: in function `hl_debugfs_set_state_dump':
   (.text+0x220): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/habanalabs_drv.o: in function `hl_debugfs_set_state_dump':
   (.text+0x140): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/device.o: in function `hl_debugfs_set_state_dump':
   (.text+0xa00): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/context.o: in function `hl_debugfs_set_state_dump':
   (.text+0x0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/asid.o: in function `hl_debugfs_set_state_dump':
   (.text+0x0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/habanalabs_ioctl.o: in function `hl_debugfs_set_state_dump':
   (.text+0x1a40): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/command_buffer.o: in function `hl_debugfs_set_state_dump':
   (.text+0x700): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/hw_queue.o: in function `hl_debugfs_set_state_dump':
   (.text+0x520): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/irq.o: in function `hl_debugfs_set_state_dump':
   (.text+0xc0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/sysfs.o: in function `hl_debugfs_set_state_dump':
   (.text+0x620): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/hwmon.o: in function `hl_debugfs_set_state_dump':
   (.text+0xe0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/memory.o: in function `hl_debugfs_set_state_dump':
   (.text+0x1dc0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/command_submission.o: in function `hl_debugfs_set_state_dump':
   (.text+0x1f20): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/firmware_if.o: in function `hl_debugfs_set_state_dump':
   (.text+0x1620): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/common/state_dump.o: in function `hl_debugfs_set_state_dump':
   (.text+0x0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/goya/goya.o: in function `hl_debugfs_set_state_dump':
   (.text+0xca00): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/goya/goya_security.o: in function `hl_debugfs_set_state_dump':
   (.text+0x2880): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/goya/goya_hwmgr.o: in function `hl_debugfs_set_state_dump':
   (.text+0x960): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/goya/goya_coresight.o: in function `hl_debugfs_set_state_dump':
   (.text+0x1260): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/gaudi/gaudi.o: in function `hl_debugfs_set_state_dump':
   (.text+0x15cc0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/gaudi/gaudi_hwmgr.o: in function `hl_debugfs_set_state_dump':
   (.text+0x240): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/gaudi/gaudi_security.o: in function `hl_debugfs_set_state_dump':
   (.text+0x5380): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
   microblaze-linux-ld: drivers/misc/habanalabs/gaudi/gaudi_coresight.o: in function `hl_debugfs_set_state_dump':
   (.text+0x13e0): multiple definition of `hl_debugfs_set_state_dump'; drivers/misc/habanalabs/common/mmu/mmu.o:(.text+0x2e0): first defined here
--
   In file included from drivers/misc/habanalabs/gaudi/gaudiP.h:12,
                    from drivers/misc/habanalabs/gaudi/gaudi.c:8:
>> drivers/misc/habanalabs/gaudi/../common/habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/misc/habanalabs/common/mmu/mmu_v1.c:8:
>> drivers/misc/habanalabs/common/mmu/../habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/misc/habanalabs/common/pci/pci.c:8:
>> drivers/misc/habanalabs/common/pci/../habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/misc/habanalabs/common/habanalabs_drv.c:11:
>> drivers/misc/habanalabs/common/habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/misc/habanalabs/common/state_dump.c:9:
>> drivers/misc/habanalabs/common/habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:15,
                    from include/linux/skbuff.h:13,
                    from include/linux/if_ether.h:19,
                    from drivers/misc/habanalabs/common/../include/common/cpucp_if.h:12,
                    from drivers/misc/habanalabs/common/habanalabs.h:11,
                    from drivers/misc/habanalabs/common/state_dump.c:9:
   drivers/misc/habanalabs/common/state_dump.c: In function 'resize_to_fit':
   include/linux/minmax.h:20:28: warning: comparison of distinct pointer types lacks a cast
      20 |  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
         |                            ^~
   include/linux/minmax.h:26:4: note: in expansion of macro '__typecheck'
      26 |   (__typecheck(x, y) && __no_side_effects(x, y))
         |    ^~~~~~~~~~~
   include/linux/minmax.h:36:24: note: in expansion of macro '__safe_cmp'
      36 |  __builtin_choose_expr(__safe_cmp(x, y), \
         |                        ^~~~~~~~~~
   include/linux/minmax.h:52:19: note: in expansion of macro '__careful_cmp'
      52 | #define max(x, y) __careful_cmp(x, y, >)
         |                   ^~~~~~~~~~~~~
   drivers/misc/habanalabs/common/state_dump.c:76:3: note: in expansion of macro 'max'
      76 |   max(PAGE_SIZE, round_up(desired_size, PAGE_SIZE));
         |   ^~~
--
   In file included from drivers/misc/habanalabs/goya/goyaP.h:12,
                    from drivers/misc/habanalabs/goya/goya.c:8:
>> drivers/misc/habanalabs/goya/../common/habanalabs.h:2876:6: warning: no previous prototype for 'hl_debugfs_set_state_dump' [-Wmissing-prototypes]
    2876 | void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~

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

  reply	other threads:[~2021-07-04 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-04 11:50 [PATCH 1/4] habanalabs: use get_task_pid() to take PID Oded Gabbay
2021-07-04 11:51 ` [PATCH 2/4] habanalabs: expose state dump Oded Gabbay
2021-07-04 13:25   ` kernel test robot [this message]
2021-07-04 13:51   ` kernel test robot
2021-07-04 11:51 ` [PATCH 3/4] habanalabs: state dump monitors and fences infrastructure Oded Gabbay
2021-07-04 13:33   ` kernel test robot
2021-07-04 11:51 ` [PATCH 4/4] habanalabs/gaudi: implement state dump Oded Gabbay

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=202107042138.22yxsAeO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.