mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arm32 build warnings in workqueue.c
@ 2023-06-23  3:57 Dave Airlie
  2023-06-23 18:24 ` Linus Torvalds
  0 siblings, 1 reply; 16+ messages in thread
From: Dave Airlie @ 2023-06-23  3:57 UTC (permalink / raw)
  To: Arnd Bergmann, Tejun Heo, LKML, Linus Torvalds

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-03 22:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23  3:57 arm32 build warnings in workqueue.c Dave Airlie
2023-06-23 18:24 ` Linus Torvalds
2023-06-23 18:52   ` Linus Torvalds
2023-06-23 19:16     ` Nick Desaulniers
2023-06-23 19:33       ` Linus Torvalds
2023-06-23 19:21     ` Arnd Bergmann
2023-06-23 19:42       ` Linus Torvalds
2023-06-23 19:47   ` Tejun Heo
2023-06-23 22:15     ` Linus Torvalds
2023-06-23 22:22       ` Linus Torvalds
2023-06-24  1:23       ` Tejun Heo
2023-07-31  8:20     ` Petr Mladek
2023-07-31 18:40       ` Linus Torvalds
2023-07-31 19:14         ` Tejun Heo
2023-07-31 19:22           ` Linus Torvalds
2023-08-03 22:23             ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®