Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1359795rwb; Wed, 16 Nov 2022 16:33:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Ts7jAvEkXU0jeoAKzLjWyOV3hLLqpON+PXRnUAtCL5nZ8yd2FmVMvo15czon18Cqappid X-Received: by 2002:a63:d016:0:b0:45f:b2a7:2659 with SMTP id z22-20020a63d016000000b0045fb2a72659mr23480899pgf.132.1668645212907; Wed, 16 Nov 2022 16:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668645212; cv=none; d=google.com; s=arc-20160816; b=xH+MLn+AT4vuEX7/FlK5UGKFr2yY858At+27GeKqHtpJ/zT8icMzSJVcUzxH3jbP2Z 5961W2eicytRPhFVyiZN86JEtu2z7ranAmFDJWu+1TwfGbOzsDAhO+Z/imnNKLe9Nh4A H4R/G+Kemo7wkz/gRxNUQ1Zq8v+8fo+mQ14iXwQAs5XGeNk3WkFFZV7pta98bGE6Z7ZR esVdxY66172Cx2870nmUBwyTq/1Ew3Za/cgsYbkGJe+Ln6rZhpqvhbkeA4EtEKTXZPz4 3QtZ0u4jKuD7hOAEF5GA8hut1mAfNKUtXwHsS6vcvzFC7yCXL2IjrCGN6CqidZOAtY6w cTzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id:cc:date:in-reply-to :from:subject:mime-version; bh=YzHMh48QcR2XrwYuBDkz3iqJT5DAY5sP5z88hDlxyNM=; b=byuYInVxe9cl5avqaqrBtghE4TBgXyJ12Y5AzbwTEU3FRyX8t2HmihwPeHtl5tBn8f ClcBzBPur/xfZGdapgwmZ/B1sjvyPboOXYF64OKCVNF59OLsQkXvS6K86vx08k0C2PjN 23b8LpHjgkbTfTaucGfIMmdX4qhHU8xLRKC3yEJPpIkxc/2fwbUhDuM9Yw7e+Cgudxh9 BpcmpeWhfBRZH2zn2asOAZxTAJ8oWVk7WwvEncv7jcpUi1Ul05bJR2T6LCESOp8KUTny bE1nTUYoeET8lLtMNS2SsuC1LQvjHzgODG1MCCvnbJ4fEoYTbwMcGfCD85xXXYSIpGXV n7Vw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a63ec0e000000b0046b1091d76bsi16618600pgh.416.2022.11.16.16.33.21; Wed, 16 Nov 2022 16:33:32 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234166AbiKQAWM (ORCPT + 90 others); Wed, 16 Nov 2022 19:22:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234118AbiKQAWK (ORCPT ); Wed, 16 Nov 2022 19:22:10 -0500 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B35F048756; Wed, 16 Nov 2022 16:22:08 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_E77615D2-BFB2-4C9F-ACA8-67DC4C1B26F3"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH] kbuild: Fix -Wimplicit-function-declaration in license_is_gpl_compatible From: Sam James In-Reply-To: <20221116182634.2823136-1-sam@gentoo.org> Date: Thu, 17 Nov 2022 00:21:51 +0000 Cc: Andrew Morton , trivial@kernel.org, stable@vger.kernel.org Message-Id: <4F6C0B05-1DF3-46F8-AC5C-240FC4B3271A@gentoo.org> References: <20221116182634.2823136-1-sam@gentoo.org> To: linux-kernel@vger.kernel.org X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS 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 --Apple-Mail=_E77615D2-BFB2-4C9F-ACA8-67DC4C1B26F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 16 Nov 2022, at 18:26, Sam James wrote: >=20 > Add missing include for strcmp. >=20 > Clang 16 makes -Wimplicit-function-declaration an error by default. = Unfortunately, > out of tree modules may use this in configure scripts, which means = failure > might cause silent miscompilation or misconfiguration. >=20 > For more information, see LWN.net [0] or LLVM's Discourse [1], = gentoo-dev@ [2], > or the (new) c-std-porting mailing list [3]. >=20 > [0] https://lwn.net/Articles/913505/ > [1] = https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror= -implicit-function-declaration/65213 > [2] = https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e= 6e240 > [3] hosted at lists.linux.dev. >=20 > Cc: Andrew Morton > Cc: trivial@kernel.org > Cc: stable@vger.kernel.org > Signed-off-by: Sam James > --- > include/linux/license.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/include/linux/license.h b/include/linux/license.h > index 7cce390f120b..1c0f28904ed0 100644 > --- a/include/linux/license.h > +++ b/include/linux/license.h > @@ -2,6 +2,8 @@ > #ifndef __LICENSE_H > #define __LICENSE_H >=20 > +#include > + Andrew's added this to his tree with the following fixup (duh!): ``` -#include +#include ``` Best, sam --Apple-Mail=_E77615D2-BFB2-4C9F-ACA8-67DC4C1B26F3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY3V+oF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kNZxAP4yD2RBpOfon2qmVUaxGglz12fKFK3WYwIwYK69MAAgGwD8D/BbPh0BdIpM Kb4Vmoab1VTQ+OLnjNnDkYBNeeJhbQU= =BBCx -----END PGP SIGNATURE----- --Apple-Mail=_E77615D2-BFB2-4C9F-ACA8-67DC4C1B26F3--