[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2ea5bf48-585c-477b-90ad-4bf0ede7355e@kernel.org>
Date: Fri, 10 Jan 2025 07:59:53 +0100
From: Jiri Slaby <jirislaby@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: drivers/tty/mips_ejtag_fdc.c:343:32: error: incompatible pointer
types passing 'const char **' to parameter of type 'const u8 **' (aka 'const
unsigned char **')
On 10. 01. 25, 6:41, kernel test robot wrote:
> Hi Jiri,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 2144da25584eb10b84252230319b5783f6a83041
> commit: ce7cbd9a6c81b5fc899bbc730072a1bddeae5d0d tty: mips_ejtag_fdc: use u8 for character pointers
> date: 1 year, 1 month ago
> config: mips-randconfig-r054-20250110 (https://download.01.org/0day-ci/archive/20250110/202501101327.oGdWbmuk-lkp@intel.com/config)
> compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250110/202501101327.oGdWbmuk-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202501101327.oGdWbmuk-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> drivers/tty/mips_ejtag_fdc.c:343:32: error: incompatible pointer types passing 'const char **' to parameter of type 'const u8 **' (aka 'const unsigned char **') [-Werror,-Wincompatible-pointer-types]
> 343 | word = mips_ejtag_fdc_encode(&buf_ptr, &buf_len, 1);
This one was fixed by:
commit 188942f05ce45f80c06f7242ad7478bd204c3387
Author: Serge Semin <fancer.lancer@...il.com>
Date: Thu Feb 15 20:17:29 2024 +0300
tty: mips_ejtag_fdc: Fix passing incompatible pointer type warning
> drivers/tty/mips_ejtag_fdc.c:1224:31: error: incompatible pointer types passing 'const char *[1]' to parameter of type 'const u8 **' (aka 'const unsigned char **') [-Werror,-Wincompatible-pointer-types]
> 1224 | word = mips_ejtag_fdc_encode(bufs, &kgdbfdc_wbuflen, 1);
> | ^~~~
This one, I will fix.
thanks,
--
js
suse labs
Powered by blists - more mailing lists