Re: [PATCH 6.1 000/589] 6.1.39-rc3 review

From: Greg Kroah-Hartman
Date: Thu Jul 20 2023 - 13:50:49 EST


On Mon, Jul 17, 2023 at 03:50:06PM -0700, Guenter Roeck wrote:
> On 7/17/23 15:39, Paul Barker wrote:
> > Hi Greg,
> >
> > On 17/07/2023 21:34, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 6.1.39 release.
> > > There are 589 patches in this series, all will be posted as a response
> > > to this one.  If anyone has any issues with these being applied, please
> > > let me know.
> > >
> > > Responses should be made by Wed, 19 Jul 2023 20:14:46 +0000.
> > > Anything received after that time might be too late.
> > >
> > > The whole patch series can be found in one patch at:
> > >     https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.39-rc3.gz
> > > or in the git tree and branch at:
> > >     git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> > > and the diffstat can be found below.
> > >
> > > thanks,
> > >
> > > greg k-h
> > >
> >
> > Building i386_defconfig in my Yocto Project environment (with gcc 13) fails:
> >
> > | /.../kernel/workqueue.c: In function 'get_work_pwq':
> > | /.../kernel/workqueue.c:706:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> > |   706 |                 return (void *)(data & WORK_STRUCT_WQ_DATA_MASK);
> > |       |                        ^
> > | /.../kernel/workqueue.c: In function 'get_work_pool':
> > | /.../kernel/workqueue.c:734:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> > |   734 |                 return ((struct pool_workqueue *)
> > |       |                         ^
> > | /.../kernel/workqueue.c: In function 'get_work_pool_id':
> > | /.../kernel/workqueue.c:756:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> > |   756 |                 return ((struct pool_workqueue *)
> > |       |                         ^
> >
> > Cherry-picking afa4bb778e48d79e4a642ed41e3b4e0de7489a6c from mainline fixes the build for me.
> >
>
> That is not a new problem, though. I see the same problem with v6.1.38
> and with v6.1 if I try to build with gcc 13.1.

Thanks, now queued up.

greg k-h