Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1411029rwb; Wed, 28 Sep 2022 18:39:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6DEkVykJY0Uol3SqCfhzpa5ZRXT1Siwd4lyrWSwv7hXLxYzwP9DWWp7s7S89wZM7FLUkbb X-Received: by 2002:a05:6402:2748:b0:454:762b:154b with SMTP id z8-20020a056402274800b00454762b154bmr865923edd.27.1664415543463; Wed, 28 Sep 2022 18:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664415543; cv=none; d=google.com; s=arc-20160816; b=hHII2/iWnCKIpNgY0hJpaDOZES0VtWk6qyGF8+Vvv0DWPqO9D1w5wc7JFcYeK4jjLz y5GEABdd4aOAVFxWfOnAGppZPS7mld6gMEytnrZBNxTugblUr3K/HqBz+X+a1D+x13g0 z7sjgapthmSnL9P/Uyrz0C0mSMeYKxIZez9causUCc9UocbQ0qjz0lWoSQvkixIfbwut SAXEXkhNun6GGzme2fO/Ru+euNeCbKNCdmcL6w715V61qzlSWohYnX+5x42l81KdwZsl MiunV5nzaOXyZdSKqPfhh2+95KaxDA2qBb1HIKZw1QNjlihbPJTATSdOlQlE1YaFCZ6S hZuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=EbKGEAU3hVmTqL1SHJ300ODmj+gh0kwVTgEMP849W6A=; b=nGbOTYmBBCdszQH10L8iQ0cE6Lu/OsgdNz6jDFX5ytaMeoLH+B6pWIG5zcFDbcWYMn WKXY70TwcgXSRZ+o5ilm2+4vR6z4osaS2HBSDc+L4xAB+8XTNOcG2QUJAu4M8lv29aU9 KU9POb4fTCcqzXVinsdaZLQ1P2vMiDvjzQhkP5PLCjxstFG4XaPFPkq/dB4V38uX1LNd k27wh15BZejFcxECkcSwqqB1r0jsDygBpwWsxt2gV0gfOD0vP7IH+7AdlsrDy0hZXZ95 AxzzbFC1qcN6b1NRp7XCDdMkKqbf3q1lnsZ8V+grG5UCRqZe6hb0haM60EOkQCpFB9WO i6bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LSsz1NmX; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020aa7d98f000000b00457d00431e7si5150022eds.256.2022.09.28.18.38.38; Wed, 28 Sep 2022 18:39:03 -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=@kernel.org header.s=k20201202 header.b=LSsz1NmX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234434AbiI2BfW (ORCPT + 99 others); Wed, 28 Sep 2022 21:35:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234400AbiI2BfH (ORCPT ); Wed, 28 Sep 2022 21:35:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8780127B1C; Wed, 28 Sep 2022 18:35:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 248C061738; Thu, 29 Sep 2022 01:35:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81B0AC433D6; Thu, 29 Sep 2022 01:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664415305; bh=EbKGEAU3hVmTqL1SHJ300ODmj+gh0kwVTgEMP849W6A=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=LSsz1NmXRRQzI3OKeE3wClAZ+Ouu+LlehP8TaWze87QE+8fwuaY4rgC61ksOrqag7 O+499IEDkImcacixcwvO16fUFeokyYT0an9l/g/DOTAkV6+QyOq0wMGZSUxkCr7bka tzDoly7fD58Qhntk79qxuoBB36uXWOKq65ouFOCT/VAF11l7eNuQR6IN2T8uUdOs/D 83qYzsK0TmBPtzKThuJ5EkCyiQ4M+F+Bgsl2iJFctwd4eBTZPUogwAfOUkThGtJuhx t1gOfMRHPSPpj4xH/p/1M/Apl+W3X8t+9yg4wNmkGoAphB5ev3t2FMmadabtEm6Yax AlEF/r2EpItHw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220920055838.22637-1-jslaby@suse.cz> References: <20220920055838.22637-1-jslaby@suse.cz> Subject: Re: [PATCH -resend v2] clk: pistachio: Fix initconst confusion From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, Andi Kleen , linux-clk@vger.kernel.org, Martin Liska , Jiri Slaby To: Jiri Slaby , mturquette@baylibre.com Date: Wed, 28 Sep 2022 18:35:03 -0700 User-Agent: alot/0.10 Message-Id: <20220929013505.81B0AC433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Quoting Jiri Slaby (2022-09-19 22:58:38) > From: Andi Kleen >=20 > A variable pointing to const isn't const itself. It has to contain > "const" keyword after "*" too. So to keep it in __initconst (and not > mark properly as __initdata), add the "const" keyword exactly there. >=20 > Note we need to update struct pistachio_mux too. On the other hand, the > clk core already counts with "const char *const" already. >=20 > [js] more explanatory commit message. >=20 > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Cc: Martin Liska > Signed-off-by: Andi Kleen > Signed-off-by: Jiri Slaby > --- Applied to clk-next