public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Nuno Das Neves <nunodasneves@linux•microsoft.com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, Wei Liu <wei.liu@kernel•org>
Cc: Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: Re: linux-next: build failure after merge of the hyperv tree
Date: Thu, 13 Feb 2025 14:58:59 -0800	[thread overview]
Message-ID: <8434b7a7-1062-4750-8a84-08e9f56b1d73@linux.microsoft.com> (raw)
In-Reply-To: <20250213142804.4ba0e125@canb.auug.org.au>

On 2/12/2025 7:28 PM, Stephen Rothwell wrote:
> 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.
> 

Thanks Stephen, I have sent a fixup patch to Wei.

I also added W=1 to my make command to catch this in future!

Nuno

  reply	other threads:[~2025-02-13 22:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-13  3:28 linux-next: build failure after merge of the hyperv tree Stephen Rothwell
2025-02-13 22:58 ` Nuno Das Neves [this message]
  -- 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=8434b7a7-1062-4750-8a84-08e9f56b1d73@linux.microsoft.com \
    --to=nunodasneves@linux$(echo .)microsoft.com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --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