Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4551340pxb; Mon, 27 Sep 2021 21:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy6VYySX7xq8gygSeVIunoL7D74DL6VgD3uVq8JYVGoCug7t0k63gQKgxRvbuNDHJFo43O X-Received: by 2002:aa7:c998:: with SMTP id c24mr4994082edt.158.1632802292230; Mon, 27 Sep 2021 21:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632802292; cv=none; d=google.com; s=arc-20160816; b=E0Zfj1KjprpMXaH2CDq7vlHYwxi/WaoiGTfVzkIfYs8IhBSoJqcenha3rqhNAF1pUr T61l9DkRUHQFNxrJfvLnzJF8OI8SH0A+VGB+C5za//6zM8ym9Ejl/Hp0iFeHGJdsXNb7 PwB35d8lgHhO+d+WSJ8lquCPDfXQ5JrbjwzMwEVrLfc3+ftuW4wt1K0qt01NmepSfgHH JoELpGGlVA/F/2WQV36XnerFGDNmR4ZX1QhM+KG6/lek9My/0wGv7Aj+RxuBBbwv0Oox QFjtrU2BB/CLCPWUjo6d1pRaldbm5FzteSHuGVORZZ2xQtEDrNu1NRoKXPPLwadJG+f7 NQUg== 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=6XUV7oeQ6dC8q6l9NeZ1cQfD5EgmUMSzeTN93hqwTfs=; b=uZrajJ2nhsCxuZku1RqCxsHN+B8Mit5Bxx5Opya5ndj/MfQEGas5FWWRqX6k/kMFF3 BMdIWq1YjCj2/APp8Fg1NDvF8lDSFXi10M2X+0roeXO1aAE0sXinyG17H9x67efh03jM /y16UPOfWSKgMwk8kJ0dZFKT7wahtJ46iECbbIS/tm2IR4isBkNsGaSw9Cd61iHDvJXc MwAf88ek0hbBCloRfx9ONpepDJq1mAUO9Zzyt+sTtGfPW+vImrUgFCYq89jvrJXSKcNX T3nxQRXvYf2DRnvWkA/DFN62Vk+XrX/6uYmHkEiFpP2s4C1mONi3bzYfbcE/0TVAWZ/n 8k6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=XjtiIXNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j30si21336893ejj.467.2021.09.27.21.11.07; Mon, 27 Sep 2021 21:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=XjtiIXNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbhI1ELX (ORCPT + 99 others); Tue, 28 Sep 2021 00:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhI1ELX (ORCPT ); Tue, 28 Sep 2021 00:11:23 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B363C061575; Mon, 27 Sep 2021 21:09:44 -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 4HJQxp5N9mz4wgv; Tue, 28 Sep 2021 14:09:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1632802178; bh=6XUV7oeQ6dC8q6l9NeZ1cQfD5EgmUMSzeTN93hqwTfs=; h=Date:From:To:Cc:Subject:From; b=XjtiIXNT/xiVGgxz1R7LV4un9CJN5iIsLl9ga2x5RAEtdNICLzJFwUT69Mqq89y1V 5yzVA/vZdLAR5Kbj7Ggi2+BoK4/Mntvw70c37UsaVbgKmQB2lTQEiL7oOvdLZSZeV8 b13PQ4vJMf/o+EGX5G87AyeUCf0F7ZQuIqr4RpEAq6VptzCfZPgtlpqL8B4/nroh5U ZyS13+NTJGeyy265l0rV4cJppXUwM46V6Mrv8MXIysoEz6akY/BPTCe6dANWGUejIC yqhyhm1Di3ex0SV8dY03hplKMV+cwpMLDxqKc9b/RY8fdlx9J8iYxAZmLevSQ6xGFS yeoeXZoc6Ni5Q== Date: Tue, 28 Sep 2021 14:09:32 +1000 From: Stephen Rothwell To: Miguel Ojeda , Masahiro Yamada Cc: Richard Weinberger , Adam Bratschi-Kaye , Alex Gaynor , Ayaan Zaidi , Boqun Feng , Boris-Chengbiao Zhou , Douglas Su , Finn Behrens , Fox Chen , Gary Guo , Geoffrey Thomas , Michael Ellerman , Sumera Priyadarsini , Sven Van Asbroeck , Wedson Almeida Filho , Yuki Okushi , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the rust tree Message-ID: <20210928140932.41432dff@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/m5/iE04EcbVWvy1hPRNWrGX"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/m5/iE04EcbVWvy1hPRNWrGX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the rust tree, today's linux-next build (x86_64 allmodconfig) failed like this: scripts/kconfig/confdata.c: In function 'rustc_cfg_print_symbol': scripts/kconfig/confdata.c:669:9: warning: implicit declaration of function= 'sym_escape_string_value'; did you mean 'sym_set_string_value'? [-Wimplici= t-function-declaration] 669 | str =3D sym_escape_string_value(value); | ^~~~~~~~~~~~~~~~~~~~~~~ | sym_set_string_value scripts/kconfig/confdata.c:669:7: warning: assignment to 'const char *' fro= m 'int' makes pointer from integer without a cast [-Wint-conversion] 669 | str =3D sym_escape_string_value(value); | ^ /usr/bin/ld: scripts/kconfig/confdata.o: in function `rustc_cfg_print_symbo= l': confdata.c:(.text+0x738): undefined reference to `sym_escape_string_value' Caused by commit dc08d49444e9 ("Kbuild: add Rust support") interacting with commit 420a2bdbead2 ("kconfig: Refactor sym_escape_string_value") from the kbuild tree. I applied the following patch, but it doesn't seem quite right. From: Stephen Rothwell Date: Tue, 28 Sep 2021 14:02:54 +1000 Subject: [PATCH] fixup for "kconfig: Refactor sym_escape_string_value" Signed-off-by: Stephen Rothwell --- scripts/kconfig/confdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index e1a739897d5a..096222531954 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -666,7 +666,7 @@ static void rustc_cfg_print_symbol(FILE *fp, struct sym= bol *sym, const char *val case S_HEX: case S_BOOLEAN: case S_TRISTATE: - str =3D sym_escape_string_value(value); + str =3D sym_escape_string(sym); =20 /* * We don't care about disabled ones, i.e. no need for --=20 2.33.0 --=20 Cheers, Stephen Rothwell --Sig_/m5/iE04EcbVWvy1hPRNWrGX Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmFSlXwACgkQAVBC80lX 0GzDoAf+M0dSYylTcb4wFL5UBiZb+os1YPSsS6cgd4vzPMF91EkgV/ctkwddW/PM Kcte7yAY66s2qJ81Pm29oZITb1Y44Cae/D5z57yn2ynup9rZJo4SeoWdby+NVlvv dJXUvYIwKjPooQ/6QqSw/X651oHcFyXPOFOzyEPoxunuzSQCycWW18K19X3bM/t2 LKyCConb9IjMXiF/3/1kJO8raTyhnxp8WIrNGkPf2d3RF7D8HJ0sZ17j1VH38W1N crtAx4Yn25ypRjnP7VeLvjfTG7n7OlIbrjMijpajAKIFaxEqaWsxDapcTB2SL7IP wv/ZF3EHR+acKNQfh3rsk05YauO0GA== =i9Zx -----END PGP SIGNATURE----- --Sig_/m5/iE04EcbVWvy1hPRNWrGX--