[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2fJhzeXQgG5DS1U@probook>
Date: Sun, 6 Nov 2022 15:49:43 +0100
From: Jonathan Neuschäfer <j.neuschaefer@....net>
To: kernel test robot <lkp@...el.com>
Cc: Jonathan Neuschäfer <j.neuschaefer@....net>,
linux-spi@...r.kernel.org, openbmc@...ts.ozlabs.org,
oe-kbuild-all@...ts.linux.dev, Lee Jones <lee@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Mark Brown <broonie@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH 8/8] spi: wpcm-fiu: Add direct map support
On Sun, Nov 06, 2022 at 05:35:24AM +0800, kernel test robot wrote:
> >> drivers/spi/spi-wpcm-fiu.c:424:24: error: initialization of 'ssize_t (*)(struct spi_mem_dirmap_desc *, u64, size_t, void *)' {aka 'long int (*)(struct spi_mem_dirmap_desc *, long long unsigned int, long unsigned int, void *)'} from incompatible pointer type 'int (*)(struct spi_mem_dirmap_desc *, u64, size_t, void *)' {aka 'int (*)(struct spi_mem_dirmap_desc *, long long unsigned int, long unsigned int, void *)'} [-Werror=incompatible-pointer-types]
> 424 | .dirmap_read = wpcm_fiu_direct_read,
> | ^~~~~~~~~~~~~~~~~~~~
> drivers/spi/spi-wpcm-fiu.c:424:24: note: (near initialization for 'wpcm_fiu_mem_ops.dirmap_read')
> cc1: some warnings being treated as errors
Indeed. I'll fix it.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists