Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11908331rwd; Thu, 22 Jun 2023 21:40:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ523CYo3ZLMFZv9dln1M0npkO4C0FrGsy1n/ZoXORGsihoTYyHuzPHeqeg3TWcY+qmufbwW X-Received: by 2002:a9d:7f9a:0:b0:6b7:1ce4:2d84 with SMTP id t26-20020a9d7f9a000000b006b71ce42d84mr2717606otp.21.1687495258375; Thu, 22 Jun 2023 21:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687495258; cv=none; d=google.com; s=arc-20160816; b=JI26cefHa3Pv6axbm82mH37QOY+d2hTDeARt4u+DDR0y0nbwr+U4lh2zG6FkcWOyZL 3A7gH6tm8+ZA0fJZy323YYiBF2IKJ3aZqLARHOVtXk+t6nfhgrCXaKIt4oA3iy4YUF00 fml4HkKdKu6k/jJ6o6fdA+0nFFAFOGcsG3OImGpBnzWBYZW0If9bxnOVQ3mXfMFuGXCx n7saLzY2mM8BuwE+vLOBYTGYcgJ5GZt+X3ByxZ3mmgw2E2HkwwnqBqPqg/DsQZ8mX7Bt 9ZwW+FopUbrUPrYnUIzpYN8OScefJFCD65c9Bus51vrqnfi/PEUVnpGRWLcmxW+VXUnt IlMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=HLzyUWe2JdTNFgsbOVFqKpagFNhTmjAHxqDf7II5T4I=; b=pfOS5BN2azcCfE1nU+YQ423pT4z2LkTZmG+XzyvB84zcOpiBV7f22E5GmwdVR6Yl5c 2tsQ5xV+pymPKqH1O0acKo6aYXXjPhR9p0+FHfvwLFnNGgVOWxjwe0nm+SZ8Ic073ogp tEcj9kMtlAejZT0xMnoFK9dOVAui4S2obh1+9O3UIbB97Vp9vY7wlmKFnY5Vzw9TuXkA am1+6txVoJo0WcvCfobbosMeFvVf6tqGxu8XmTXGJfYrgUn4YK77hOv/uF70gcK7G4SH Q1OsCjBw6Xi/ORRWrpMp8tP9vHevjAJi1Ij1Tjq8v+51q2oeP3jWxCRNyH8AMiBo6m57 nolA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=L57Mqkaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k62-20020a638441000000b0051a8a22a42dsi8301847pgd.268.2023.06.22.21.40.46; Thu, 22 Jun 2023 21:40:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=L57Mqkaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbjFWEa0 (ORCPT + 99 others); Fri, 23 Jun 2023 00:30:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjFWEaX (ORCPT ); Fri, 23 Jun 2023 00:30:23 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 592972126; Thu, 22 Jun 2023 21:30:20 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4QnPRZ4hpGz4wj9; Fri, 23 Jun 2023 14:30:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1687494619; bh=HLzyUWe2JdTNFgsbOVFqKpagFNhTmjAHxqDf7II5T4I=; h=Date:From:To:Cc:Subject:From; b=L57MqkawvTsztT6t1CeX2hsBVT21KqHEoLXcQDmZeobmJW4S8HX7SPI2QDWIxOCP8 HG1yUlSdC9RPiYCh6mP6tN3xrwEY0mKx0UHDwRmqG6ppqBnp3x2QudOk9SLN7iyTHv AW7jio0wTwZVX6v3Zxy5UdoM/2+QzxoYp0utlliOaTUgI7dOVMvc/R3CCSmEHyhMar UIBzWR2W6z9UtmNWfuKBJU2p5WQEKnjD7CwA7I+l8QCrSk1Znbz9QiusWw3jxC3HK9 Yyzwr3F8/vDoGSNvLAIVEBDwMwZV/aAmMIIQ6W7GfgwP2c0LgApcnqsSXRFexVoho3 w8lh1T3gM6Lzg== Date: Fri, 23 Jun 2023 14:30:11 +1000 From: Stephen Rothwell To: Alasdair G Kergon , Mike Snitzer Cc: Demi Marie Obenour , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the device-mapper tree Message-ID: <20230623143011.7deba53c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/LwocnfiZv+HSDnECGx87lz+"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/LwocnfiZv+HSDnECGx87lz+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the device-mapper tree, today's linux-next build (i386 defconfig) failed like this: In file included from include/linux/kernel.h:30, from arch/x86/include/asm/percpu.h:27, from arch/x86/include/asm/current.h:10, from include/linux/sched.h:12, from include/linux/kthread.h:6, from drivers/md/dm-core.h:13, from drivers/md/dm-ioctl.c:9: drivers/md/dm-ioctl.c: In function 'next_target': include/linux/kern_levels.h:5:25: error: format '%lu' expects argument of t= ype 'long unsigned int', but argument 3 has type 'unsigned int' [-Werror=3D= format=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:427:25: note: in definition of macro 'printk_index_w= rap' 427 | _p_func(_fmt, ##__VA_ARGS__); = \ | ^~~~ include/linux/printk.h:498:9: note: in expansion of macro 'printk' 498 | 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:498:16: note: in expansion of macro 'KERN_ERR' 498 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ include/linux/device-mapper.h:626:25: note: in expansion of macro 'pr_err' 626 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##__VA_ARGS__) | ^~~~~~ drivers/md/dm-ioctl.c:1421:17: note: in expansion of macro 'DMERR' 1421 | DMERR("Next dm_target_spec (offset %u) is not %lu-b= yte aligned", | ^~~~~ cc1: all warnings being treated as errors Caused by commit 5df1daff2cc6 ("dm ioctl: Check dm_target_spec is sufficiently aligned") I have applied the following patch for today: From: Stephen Rothwell Date: Fri, 23 Jun 2023 14:24:29 +1000 Subject: [PATCH] fix up for "dm ioctl: Check dm_target_spec is sufficiently= aligned" Signed-off-by: Stephen Rothwell --- drivers/md/dm-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 5f0b641538d8..8b480d7825fe 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -1418,7 +1418,7 @@ static int next_target(struct dm_target_spec *last, u= int32_t next, const char *e } =20 if (next % __alignof__(struct dm_target_spec)) { - DMERR("Next dm_target_spec (offset %u) is not %lu-byte aligned", + DMERR("Next dm_target_spec (offset %u) is not %zu-byte aligned", next, __alignof__(struct dm_target_spec)); return -EINVAL; } --=20 2.39.2 --=20 Cheers, Stephen Rothwell --Sig_/LwocnfiZv+HSDnECGx87lz+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmSVH9MACgkQAVBC80lX 0GxLbgf/fKBB8K/ebmMUX37B2d0fLs8mbW0dAqDaNMg+VMjo1xq0990KQYLfusnn PKCuzwSQwxcvdHicYjGna+nKANhkW0WiajDPYT5AZ8fpRTdZeAP7TpFw51bbDUT5 e+kiFzbT5glGA8stfbRtfJfz8p9PNuQDfWR0XBLAToHI1ris9tjmGStfa62iUy5e HSrmhPsWX5+7vTtKA9W5jVuAfmfihMRZFZLqPwM1tb8uRHbyS6cQnUwq7X9ZcWkk uL1gwTJ6uXydGNWERmsuqgzFGbWkhMoRAgSbx5mTovfCUSsvjlHGY9YX1FisAa6E JoqjEFh5zP7se/mpHXyDkPH4FzERcQ== =Iov+ -----END PGP SIGNATURE----- --Sig_/LwocnfiZv+HSDnECGx87lz+--