[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPM=9twNnV4zMCvrPkw3H-ajZOH-01JVh_kDrxdPYQErz8ZTdA@mail.gmail.com>
Date: Fri, 23 Jun 2023 13:57:19 +1000
From: Dave Airlie <airlied@...il.com>
To: Arnd Bergmann <arnd@...db.de>, Tejun Heo <tj@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: arm32 build warnings in workqueue.c
Not sure what changed (maybe I ended up with -Werror on recently), but
my 32-bit arm build started to fail. 6.4.0-rc7.
gcc version 13.1.1 20230519 (Red Hat Cross 13.1.1-2) (GCC)
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c: In
function ‘get_work_pwq’:
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c:713:24:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
713 | return (void *)(data & WORK_STRUCT_WQ_DATA_MASK);
| ^
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c: In
function ‘get_work_pool’:
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c:741:25:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
741 | return ((struct pool_workqueue *)
| ^
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c: In
function ‘get_work_pool_id’:
/home/airlied/devel/kernel/dim/drm-fixes/kernel/workqueue.c:763:25:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
763 | return ((struct pool_workqueue *)
| ^
Just a drive-by, I'll disable Werror on my 32-bit arm build for now.
Dave.
Powered by blists - more mailing lists