[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024113025-sly-footer-3462@gregkh>
Date: Sat, 30 Nov 2024 17:15:52 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-kernel@...r.kernel.org, linux-staging@...ts.linux.dev,
Dave Penkler <dpenkler@...il.com>
Subject: Re: [GIT PULL] Staging driver changes for 6.13-rc1
On Sat, Nov 30, 2024 at 08:10:55AM -0800, Guenter Roeck wrote:
> Hi,
>
> On Fri, Nov 29, 2024 at 05:27:53AM +0100, Greg KH wrote:
> > The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:
> >
> > Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)
> >
> > are available in the Git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-6.13-rc1
> >
> > for you to fetch changes up to 114eae3c9fde35220cca623840817a740a2eb7b3:
> >
> > Staging: gpib: gpib_os.c - Remove unnecessary OOM message (2024-11-10 08:04:18 +0100)
> >
> > ----------------------------------------------------------------
> [ ...]
>
> > Dave Penkler (33):
> > staging: gpib: Add common include files for GPIB drivers
> > staging: gpib: Add user api include files
> > staging: gpib: Add GPIB common core driver
> > staging: gpib: Add tms9914 GPIB chip driver
> > staging: gpib: Add nec7210 GPIB chip driver
> > staging: gpib: Add HP/Agilent/Keysight 8235xx PCI GPIB driver
> > staging: gpib: Add Agilent/Keysight 82357x USB GPIB driver
> > staging: gpib: Add Computer Boards GPIB driver
>
> I seem to be unable to find the patch introducing the problem (the link
> provided with the patch is invalid), so I report it here.
>
> With i386 allmodconfig builds:
>
> Building i386:allyesconfig ... failed
> --------------
> Error log:
> drivers/staging/gpib/cec/cec_gpib.c: In function 'cec_pci_attach':
> drivers/staging/gpib/cec/cec_gpib.c:300:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> 300 | nec_priv->iobase = (void *)(pci_resource_start(cec_priv->pci_device, 3));
> | ^
> drivers/staging/gpib/ines/ines_gpib.c: In function 'ines_common_pci_attach':
> drivers/staging/gpib/ines/ines_gpib.c:783:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> 783 | nec_priv->iobase = (void *)(pci_resource_start(ines_priv->pci_device,
> | ^
>
> pci_resource_start() returns resource_size_t, which is not a pointer, and thus
> can not be cast to one.
This is odd, why hasn't 0-day or any other build testing found this?
I'll dig into it on Monday, thanks for this.
greg k-h
Powered by blists - more mailing lists