Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp691529iog; Mon, 13 Jun 2022 10:45:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj2kFKFdTjlkaEp856rGCBM93TOovUxpoyHixcCV1WmFtCKzqSc5dmnR2hx6SC3BUdMJZK X-Received: by 2002:a17:906:10c4:b0:715:7749:8d0e with SMTP id v4-20020a17090610c400b0071577498d0emr763505ejv.765.1655142323305; Mon, 13 Jun 2022 10:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655142323; cv=none; d=google.com; s=arc-20160816; b=BLrjZtw3TF3BL8qj5xmmMjWWCcQFulPwQ+NROBPIqld5F/wy7devwe9uANKK/VdAdu gvLrJO4N7FvaOOcg/chrDMHFh9fRfzvVHglwKtMhycGlxHA4b4N7tQtOuimJ4W0ad7Lx zu3+1CEsHS9/rFMNfW0vHG3fTWPQjfkEG1oduLI4TQaOyHpUaTWN29fYIJwx/kEAhGds iAqB9S3yQIQAwASMr5Bk+skRpf0KF3Tn37shqFFxU83vhgDaLfVZCoWjJcxSEDyEB0hF xYUJqvf3lAmhs5w6pNAiYvHnFqwRSPWAIAYa96a50nGX6r0o6CdQxGVeRLoS20cV1ngL bvvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nVuBQEiHOQyvccHn+WHrHJ7hU/oUCMMeutwq+hAFgoo=; b=GRhhBkwpgwyqkNn7JU3McuBMRZtoyU9HNGyfnGZMLDsd00KdxL7j6KuCwjX8zKh4R/ E8FspJbISjk0P2y2/zCxyujOtWQMPsPorbT/zj5qH8FdhT2IXJrVWJmx2pQb/GG21Lmr qlAE1WE3ponxV9/tSXUwBJXIwlLRe4EEvOYiCgt/l/gY9CpvtO539U+b+J5gm5upW8IV Sf4FNIZymSgieNSdGzdhumklAi6Ql+xzCTqs6d4bqa0OI/ZTeli0pmB1/nX0Yy9QQlYk zgXoUt1RVwSJsPAuy/d+mPv7cknkZvMDCoPVxn630LoSl5K7nX+V3W/0UIlzf8+g3chx kbHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b="aOumEP/I"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr5-20020a170907720500b0070efb6a9b59si8686185ejc.985.2022.06.13.10.44.58; Mon, 13 Jun 2022 10:45:23 -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=@digikod.net header.s=20191114 header.b="aOumEP/I"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238259AbiFMRR1 (ORCPT + 99 others); Mon, 13 Jun 2022 13:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244461AbiFMROD (ORCPT ); Mon, 13 Jun 2022 13:14:03 -0400 Received: from smtp-42ac.mail.infomaniak.ch (smtp-42ac.mail.infomaniak.ch [84.16.66.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46D4B5549E for ; Mon, 13 Jun 2022 05:20:08 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4LM9cj5FsVzMpwtX; Mon, 13 Jun 2022 14:20:05 +0200 (CEST) Received: from ns3096276.ip-94-23-54.eu (unknown [23.97.221.149]) by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4LM9cd4MYKzlpb2d; Mon, 13 Jun 2022 14:20:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1655122805; bh=P8NVyXj34ZvJVQWESPk01PC8KYswBLc2J5cBfxA5wlI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=aOumEP/IoqVDxckhdOnow8XBOtzF6rPUHSpjAaEiKv4s4qTv9+QazdFI/MV0sY9Oj WNcCDGC2NsIWSWr8htmOXQonlVhjqK6/U6g/yYRD9VTzd/JdIjpyOFwXcDvdlX4LMS ZPoJ0aNzkEJ9Yh+5Wu0QvJ3PdsdwNy2lAdCZDTxY= Message-ID: Date: Mon, 13 Jun 2022 14:20:00 +0200 MIME-Version: 1.0 User-Agent: Subject: Re: [PATCH 1/4] certs/blacklist_hashes.c: fix const confusion in certs blacklist Content-Language: en-US To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: David Howells , Jarkko Sakkinen , David Woodhouse , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Snowberg , Herbert Xu , Tyler Hicks References: <20220611172233.1494073-1-masahiroy@kernel.org> From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= In-Reply-To: <20220611172233.1494073-1-masahiroy@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 11/06/2022 19:22, Masahiro Yamada wrote: > This file fails to compile as follows: > > CC certs/blacklist_hashes.o > certs/blacklist_hashes.c:4:1: error: ignoring attribute ‘section (".init.data")’ because it conflicts with previous ‘section (".init.rodata")’ [-Werror=attributes] > 4 | const char __initdata *const blacklist_hashes[] = { > | ^~~~~ > In file included from certs/blacklist_hashes.c:2: > certs/blacklist.h:5:38: note: previous declaration here > 5 | extern const char __initconst *const blacklist_hashes[]; > | ^~~~~~~~~~~~~~~~ > > Apply the same fix as commit 2be04df5668d ("certs/blacklist_nohashes.c: > fix const confusion in certs blacklist"). > > Fixes: 734114f8782f ("KEYS: Add a system blacklist keyring") > Signed-off-by: Masahiro Yamada Reviewed-by: Mickaël Salaün > --- > > certs/blacklist_hashes.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/certs/blacklist_hashes.c b/certs/blacklist_hashes.c > index 344892337be0..d5961aa3d338 100644 > --- a/certs/blacklist_hashes.c > +++ b/certs/blacklist_hashes.c > @@ -1,7 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0 > #include "blacklist.h" > > -const char __initdata *const blacklist_hashes[] = { > +const char __initconst *const blacklist_hashes[] = { > #include CONFIG_SYSTEM_BLACKLIST_HASH_LIST > , NULL > };