All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v2 05/10] spi: aspeed: Add support for direct mapping
Date: Thu, 3 Mar 2022 20:02:22 +0800	[thread overview]
Message-ID: <202203031902.e9vpKoAW-lkp@intel.com> (raw)
In-Reply-To: <20220302173114.927476-6-clg@kaod.org>

Hi "Cédric,

I love your patch! Yet something to improve:

[auto build test ERROR on mtd/spi-nor/next]
[also build test ERROR on joel-aspeed/for-next v5.17-rc6 next-20220302]
[cannot apply to broonie-spi/for-next]
[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/C-dric-Le-Goater/spi-spi-mem-Add-driver-for-Aspeed-SMC-controllers/20220303-013538
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next
config: arm64-randconfig-r023-20220303 (https://download.01.org/0day-ci/archive/20220303/202203031902.e9vpKoAW-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/a107d6ec2c4377b805efb71d3ab7921d7a7e61a2
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review C-dric-Le-Goater/spi-spi-mem-Add-driver-for-Aspeed-SMC-controllers/20220303-013538
        git checkout a107d6ec2c4377b805efb71d3ab7921d7a7e61a2
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/spi/

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

>> drivers/spi/spi-aspeed-smc.c:474:17: error: incompatible function pointer types initializing 'ssize_t (*)(struct spi_mem_dirmap_desc *, u64, size_t, void *)' (aka 'long (*)(struct spi_mem_dirmap_desc *, unsigned long long, unsigned long, void *)') with an expression of type 'int (struct spi_mem_dirmap_desc *, u64, size_t, void *)' (aka 'int (struct spi_mem_dirmap_desc *, unsigned long long, unsigned long, void *)') [-Werror,-Wincompatible-function-pointer-types]
           .dirmap_read = aspeed_spi_dirmap_read,
                          ^~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +474 drivers/spi/spi-aspeed-smc.c

   468	
   469	static const struct spi_controller_mem_ops aspeed_spi_mem_ops = {
   470		.supports_op = aspeed_spi_supports_op,
   471		.exec_op = aspeed_spi_exec_op,
   472		.get_name = aspeed_spi_get_name,
   473		.dirmap_create = aspeed_spi_dirmap_create,
 > 474		.dirmap_read = aspeed_spi_dirmap_read,
   475	};
   476	

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

  parent reply	other threads:[~2022-03-03 12:02 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 17:31 [PATCH v2 00/10] spi: spi-mem: Add driver for Aspeed SMC controllers Cédric Le Goater
2022-03-02 17:31 ` Cédric Le Goater
2022-03-02 17:31 ` Cédric Le Goater
2022-03-02 17:31 ` [PATCH v2 01/10] mtd: spi-nor: aspeed: Rename Kconfig option Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:16   ` Joel Stanley
2022-03-02 22:16     ` Joel Stanley
2022-03-02 22:16     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 02/10] ARM: dts: aspeed: Adjust "reg" property of FMC/SPI controllers Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:18   ` Joel Stanley
2022-03-02 22:18     ` Joel Stanley
2022-03-02 22:18     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 03/10] dt-bindings: spi: Add Aspeed SMC controllers device tree binding Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 21:26   ` Rob Herring
2022-03-02 21:26     ` Rob Herring
2022-03-02 21:26     ` Rob Herring
2022-03-02 22:20   ` Joel Stanley
2022-03-02 22:20     ` Joel Stanley
2022-03-02 22:20     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 04/10] spi: spi-mem: Add driver for Aspeed SMC controllers Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 23:38   ` Joel Stanley
2022-03-02 23:38     ` Joel Stanley
2022-03-02 23:38     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 05/10] spi: aspeed: Add support for direct mapping Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:48   ` Joel Stanley
2022-03-02 22:48     ` Joel Stanley
2022-03-02 22:48     ` Joel Stanley
2022-03-03 12:02   ` kernel test robot [this message]
2022-03-02 17:31 ` [PATCH v2 06/10] spi: aspeed: Adjust direct mapping to device size Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:31   ` Joel Stanley
2022-03-02 22:31     ` Joel Stanley
2022-03-02 22:31     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 07/10] spi: aspeed: Workaround AST2500 limitations Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:30   ` Joel Stanley
2022-03-02 22:30     ` Joel Stanley
2022-03-02 22:30     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 08/10] spi: aspeed: Add support for the AST2400 SPI controller Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:33   ` Joel Stanley
2022-03-02 22:33     ` Joel Stanley
2022-03-02 22:33     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 09/10] spi: aspeed: Calibrate read timings Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:44   ` Joel Stanley
2022-03-02 22:44     ` Joel Stanley
2022-03-02 22:44     ` Joel Stanley
2022-03-02 17:31 ` [PATCH v2 10/10] ARM: dts: aspeed: Enable Dual SPI RX transfers Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 17:31   ` Cédric Le Goater
2022-03-02 22:45   ` Joel Stanley
2022-03-02 22:45     ` Joel Stanley
2022-03-02 22:45     ` Joel Stanley
2022-03-02 22:48     ` Joel Stanley
2022-03-02 22:48       ` Joel Stanley
2022-03-02 22:48       ` Joel Stanley
2022-03-03  7:57       ` Cédric Le Goater
2022-03-03  7:57         ` Cédric Le Goater
2022-03-03  7:57         ` Cédric Le Goater
2022-03-03 10:01 ` [PATCH v2 00/10] spi: spi-mem: Add driver for Aspeed SMC controllers Joel Stanley
2022-03-03 10:01   ` Joel Stanley
2022-03-03 10:01   ` Joel Stanley
2022-03-04  7:57   ` Tao Ren
2022-03-04  7:57     ` Tao Ren
2022-03-04  7:57     ` Tao Ren

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=202203031902.e9vpKoAW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clg@kaod.org \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /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.