[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2406100756200.24940@cbobk.fhfr.pm>
Date: Mon, 10 Jun 2024 07:56:48 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Borislav Petkov <bp@...en8.de>
cc: kernel test robot <lkp@...el.com>, Zhang Lixu <lixu.zhang@...el.com>,
llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: drivers/hid/intel-ish-hid/ishtp/loader.c:172:8: error: incompatible
pointer types passing '__le64 *' (aka 'unsigned long long *') to parameter
of type 'dma_addr_t *' (aka 'unsigned int *')
On Mon, 10 Jun 2024, Borislav Petkov wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: eb6a9339efeb6f3d2b5c86fdf2382cdc293eca2c
> > commit: 579a267e4617d705f6c795e5e755b01f1f87eff3 HID: intel-ish-hid: Implement loading firmware from host feature
> > date: 13 days ago
> > config: i386-buildonly-randconfig-005-20240520 (https://download.01.org/0day-ci/archive/20240520/202405201313.SAStVPrT-lkp@intel.com/config)
> > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240520/202405201313.SAStVPrT-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/202405201313.SAStVPrT-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> drivers/hid/intel-ish-hid/ishtp/loader.c:172:8: error: incompatible pointer types passing '__le64 *' (aka 'unsigned long long *') to parameter of type 'dma_addr_t *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
> > 172 | &fragment->fragment_tbl[i].ddr_adrs, GFP_KERNEL);
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I see this too in i386 randconfig builds with clang.
Should be fixed in Linus' tree as of yesterday by 2360497238261f17d4
("HID: intel-ish-hid: Fix build error for COMPILE_TEST")
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists