From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Wei Liu <wei.liu@kernel•org>
Cc: Nuno Das Neves <nunodasneves@linux•microsoft.com>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: linux-next: build failure after merge of the hyperv tree
Date: Thu, 13 Feb 2025 14:28:04 +1100 [thread overview]
Message-ID: <20250213142804.4ba0e125@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]
Hi all,
After merging the hyperv tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from include/asm-generic/bug.h:22,
from arch/x86/include/asm/bug.h:99,
from include/linux/bug.h:5,
from arch/x86/include/asm/paravirt.h:19,
from arch/x86/include/asm/irqflags.h:80,
from include/linux/irqflags.h:18,
from include/linux/spinlock.h:59,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/resource_ext.h:11,
from include/linux/acpi.h:13,
from drivers/hv/hv_common.c:16:
drivers/hv/hv_common.c: In function 'hv_get_partition_id':
include/linux/kern_levels.h:5:25: error: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/printk.h:473:25: note: in definition of macro 'printk_index_wrap'
473 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
include/linux/printk.h:544:9: note: in expansion of macro 'printk'
544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:544:16: note: in expansion of macro 'KERN_ERR'
544 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/hv/hv_common.c:304:17: note: in expansion of macro 'pr_err'
304 | pr_err("Hyper-V: failed to get partition ID: %#lx\n",
| ^~~~~~
cc1: all warnings being treated as errors
Caused by commit
bc57d252ddf0 ("hyperv: Move hv_current_partition_id to arch-generic code")
I have used the hyperv tree from next-20250212.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2025-02-13 3:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 3:28 Stephen Rothwell [this message]
2025-02-13 22:58 ` linux-next: build failure after merge of the hyperv tree Nuno Das Neves
-- strict thread matches above, loose matches on Subject: below --
2025-10-20 2:31 Stephen Rothwell
2025-10-20 17:27 ` Wei Liu
2025-05-06 7:26 Stephen Rothwell
2024-03-12 4:18 Stephen Rothwell
2024-03-12 5:25 ` Wei Liu
2023-08-07 4:22 Stephen Rothwell
2023-08-07 4:46 ` Wei Liu
2023-08-08 2:35 ` Dexuan-Linux Cui
2023-04-18 17:31 broonie
2023-04-18 18:34 ` Wei Liu
2023-04-18 17:00 broonie
2023-04-18 17:06 ` Mark Brown
2023-04-18 17:24 ` Wei Liu
2020-06-02 7:35 Stephen Rothwell
2020-03-31 6:23 Stephen Rothwell
2020-04-01 17:45 ` Wei Liu
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=20250213142804.4ba0e125@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=nunodasneves@linux$(echo .)microsoft.com \
--cc=wei.liu@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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