[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yw/QWshWH9L/+Hwp@smile.fi.intel.com>
Date: Thu, 1 Sep 2022 00:19:22 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: kernel test robot <lkp@...el.com>
Cc: Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH v1 3/3] regmap: spi-avmm: Use swabXX_array() helpers
On Thu, Sep 01, 2022 at 04:12:01AM +0800, kernel test robot wrote:
...
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/base/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
Indeed, I compiled only first two patches on x86.
> >> drivers/base/regmap/regmap-spi-avmm.c:171:15: error: incompatible pointer types passing 'char *' to parameter of type 'u32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
> swab32_array(buf, len / 4);
> ^~~
> include/linux/swab.h:32:38: note: passing argument to parameter 'buf' here
> static inline void swab32_array(u32 *buf, unsigned int words)
> ^
> 6 warnings and 1 error generated.
While error message is valid, I believe the warnings are not related to the
patch in question and were before it.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists