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: [RFC PATCH 3/4] ultrasoc: Add ultrasoc AXI Communicator driver
Date: Thu, 17 Jun 2021 07:23:59 +0800	[thread overview]
Message-ID: <202106170723.FvV1JcqL-lkp@intel.com> (raw)
In-Reply-To: <1623749684-65432-4-git-send-email-liuqi115@huawei.com>

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

Hi Qi,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.13-rc6 next-20210616]
[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/Qi-Liu/Add-support-for-Ultrasoc-Trace-Module/20210616-151905
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 94f0b2d4a1d0c52035aef425da5e022bd2cb1c71
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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/34aa8589f94ed20eca533ed8463184bb3194f80d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Qi-Liu/Add-support-for-Ultrasoc-Trace-Module/20210616-151905
        git checkout 34aa8589f94ed20eca533ed8463184bb3194f80d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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 >>):

   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c: In function 'axi_com_enable_hw':
>> drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:42:8: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
      42 |  val = readl(drvdata->base + AXIC_US_CTL);
         |        ^~~~~
>> drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:44:2: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]
      44 |  writel(val, drvdata->base + AXIC_US_CTL);
         |  ^~~~~~
   In file included from include/linux/device.h:32,
                    from include/linux/acpi.h:15,
                    from drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:30:
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c: At top level:
>> include/linux/device/driver.h:263:1: warning: data definition has no type or storage class
     263 | module_init(__driver##_init); \
         | ^~~~~~~~~~~
   include/linux/platform_device.h:257:2: note: in expansion of macro 'module_driver'
     257 |  module_driver(__platform_driver, platform_driver_register, \
         |  ^~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/device/driver.h:263:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
     263 | module_init(__driver##_init); \
         | ^~~~~~~~~~~
   include/linux/platform_device.h:257:2: note: in expansion of macro 'module_driver'
     257 |  module_driver(__platform_driver, platform_driver_register, \
         |  ^~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: warning: parameter names (without types) in function declaration
   In file included from include/linux/device.h:32,
                    from include/linux/acpi.h:15,
                    from drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:30:
   include/linux/device/driver.h:268:1: warning: data definition has no type or storage class
     268 | module_exit(__driver##_exit);
         | ^~~~~~~~~~~
   include/linux/platform_device.h:257:2: note: in expansion of macro 'module_driver'
     257 |  module_driver(__platform_driver, platform_driver_register, \
         |  ^~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/device/driver.h:268:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
     268 | module_exit(__driver##_exit);
         | ^~~~~~~~~~~
   include/linux/platform_device.h:257:2: note: in expansion of macro 'module_driver'
     257 |  module_driver(__platform_driver, platform_driver_register, \
         |  ^~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: warning: parameter names (without types) in function declaration
>> drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:331:20: error: expected declaration specifiers or '...' before string constant
     331 | MODULE_DESCRIPTION("Ultrasoc AXI COM driver");
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:332:16: error: expected declaration specifiers or '...' before string constant
     332 | MODULE_LICENSE("Dual MIT/GPL");
         |                ^~~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:333:15: error: expected declaration specifiers or '...' before string constant
     333 | MODULE_AUTHOR("Jonathan Zhou <jonathan.zhouwen@huawei.com>");
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:334:15: error: expected declaration specifiers or '...' before string constant
     334 | MODULE_AUTHOR("Qi Liu <liuqi115@huawei.com>");
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/device.h:32,
                    from include/linux/acpi.h:15,
                    from drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:30:
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:24: warning: 'axi_com_driver_exit' defined but not used [-Wunused-function]
     329 | module_platform_driver(axi_com_driver);
         |                        ^~~~~~~~~~~~~~
   include/linux/device/driver.h:264:20: note: in definition of macro 'module_driver'
     264 | static void __exit __driver##_exit(void) \
         |                    ^~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:24: warning: 'axi_com_driver_init' defined but not used [-Wunused-function]
     329 | module_platform_driver(axi_com_driver);
         |                        ^~~~~~~~~~~~~~
   include/linux/device/driver.h:259:19: note: in definition of macro 'module_driver'
     259 | static int __init __driver##_init(void) \
         |                   ^~~~~~~~
   drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c:329:1: note: in expansion of macro 'module_platform_driver'
     329 | module_platform_driver(axi_com_driver);
         | ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/readl +42 drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c

    37	
    38	static void axi_com_enable_hw(struct axi_com_drv_data *drvdata)
    39	{
    40		u32 val;
    41	
  > 42		val = readl(drvdata->base + AXIC_US_CTL);
    43		val |= AXIC_US_CTL_EN;
  > 44		writel(val, drvdata->base + AXIC_US_CTL);
    45	
    46		val = readl(drvdata->base + AXIC_DS_CTL);
    47		val |= AXIC_DS_CTL_EN;
    48		writel(val, drvdata->base + AXIC_DS_CTL);
    49	}
    50	

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

  reply	other threads:[~2021-06-16 23:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15  9:34 [RFC PATCH 0/4] Add support for Ultrasoc Trace Module Qi Liu
2021-06-15  9:34 ` [RFC PATCH 1/4] Documentation: tracing: Documentation for ultrasoc framework and drivers Qi Liu
2021-06-23 22:51   ` Mathieu Poirier
2021-06-24 12:43     ` liuqi (BA)
2021-06-24 16:26       ` Mathieu Poirier
2021-06-15  9:34 ` [RFC PATCH 2/4] ultrasoc: add ultrasoc core layer framework Qi Liu
2021-06-15  9:34 ` [RFC PATCH 3/4] ultrasoc: Add ultrasoc AXI Communicator driver Qi Liu
2021-06-16 23:23   ` kernel test robot [this message]
2021-06-29 21:22   ` Mathieu Poirier
2021-07-08  9:27     ` liuqi (BA)
2021-06-15  9:34 ` [RFC PATCH 4/4] ultrasoc: Add System Memory Buffer driver Qi Liu
2021-06-16 18:04   ` kernel test robot
2021-06-24 22:47   ` Suzuki K Poulose
2021-07-08  8:25     ` liuqi (BA)
2021-06-29 20:50   ` Mathieu Poirier
2021-07-08  8:47     ` liuqi (BA)

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=202106170723.FvV1JcqL-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.