From: Dave Airlie <airlied@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>, Tejun Heo <tj@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: arm32 build warnings in workqueue.c
Date: Fri, 23 Jun 2023 13:57:19 +1000 [thread overview]
Message-ID: <CAPM=9twNnV4zMCvrPkw3H-ajZOH-01JVh_kDrxdPYQErz8ZTdA@mail.gmail.com> (raw)
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.
next reply other threads:[~2023-06-23 3:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 3:57 Dave Airlie [this message]
2023-06-23 18:24 ` arm32 build warnings in workqueue.c 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPM=9twNnV4zMCvrPkw3H-ajZOH-01JVh_kDrxdPYQErz8ZTdA@mail.gmail.com' \
--to=airlied@gmail.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).