lkml.org 
[lkml]   [2022]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@intel.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


\
 
 \ /
  Last update: 2022-08-31 23:20    [W:0.038 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site