Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6362979iog; Thu, 23 Jun 2022 17:52:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJ8QhPuE+gciawto4niBKembpAPrXq+UNY4hweeU5J5lEODGsoMhK82VBKy/zzaa2DiPRe X-Received: by 2002:a17:907:1c18:b0:711:c83b:8a14 with SMTP id nc24-20020a1709071c1800b00711c83b8a14mr10314283ejc.379.1656031975447; Thu, 23 Jun 2022 17:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656031975; cv=none; d=google.com; s=arc-20160816; b=JP39ngLT4xohk4caEAG0xtoo7IYNr0v63f6luuWrU++h4pHIg4jpPRhMY3jNIUIf61 g8U5dlcQOCoto8nwVT63MWM4SmQInqubkrTTx39sStFcELRyuhvDT2ozAhXBvY74/LsT INhEiqyghkaK7Xc+e/6PyMoJ0VGRKAy+2HdIZEsbnFNtUrNkOwRlKQvZSFbMWgV+mOTz R2Fe6dlRgC65Z9vMSIKfXkvpVGC4o33P51Tap43yA2aZrwvwBfXAX8s+Xc9PuPQjlYnI wHKwkE7QfGkuvAEkvV+Pyhee7l8pUfRqd+afho00tFs8AVMmLRneEvxKLuKrOz4AEvwT Pv/A== 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=M79RgiIEkcoDcwMsibp4OP4hdwZwv4hSJ0vyxrAV6pk=; b=kyP1EXwloKUJkz60AASt15BNXRifwsX/6+HI1NLLxARJCDoYlu7S/BkrD2vKj0OQx9 B0Wg5Y0REQVZSDAFEvZTvHPk28Wm0Ird82+VYaSO8m6swFCIQq8gHhoB8vvCMLHT+LkT ZspfrWCsYQrvBzv2Rq6zPUKZmhwmgj3mpOXJF9MXeQUSyuL15rc2L41t6td2XmwJSLGu oClsDHRNgj2OSvKi7MEJUfseTWObuOdWt2cnicR0hXbj698HfMThx9CF6uUqO/u+U6KV hI0S5F585RQ3W1lRJvxQefeO+3HN5jD0l4xBKJlH/O4+RS/vVqSPFr++zMcQ7yMDCvpn 15wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AfhC1nDK; 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 bu22-20020a170906a15600b007232e05af5fsi809806ejb.77.2022.06.23.17.52.30; Thu, 23 Jun 2022 17:52:55 -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=AfhC1nDK; 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 S230196AbiFXAmn (ORCPT + 99 others); Thu, 23 Jun 2022 20:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbiFXAmm (ORCPT ); Thu, 23 Jun 2022 20:42:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BF45DC25; Thu, 23 Jun 2022 17:42:42 -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 B232261F9D; Fri, 24 Jun 2022 00:42:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBCD4C3411D; Fri, 24 Jun 2022 00:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656031360; bh=DI0FXxI6PSfD9rLKB6kDL9lKC6YPyy5SZxWJ3Enrfj4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=AfhC1nDK01STGD+Lb1EqlIFbNQ+zlukNen3ynfq+EboThvy8BR4juTElrvkfZ0VML rLP/yiUhzgLYzYRg+V+dCxRSX+E3TN0/eEzxlX4gEAU83CQwTwjIXbSHOKzyVcxs6P MqBU8GkzddsYctfOC9Ear7/3idSGBLLoH6Q5BXbwId3Sh8dlOQb9Q9JqrNSxpgsVRp yHkGkV8qUCVMfXG00JDINfROFl3/MN4l/CySga9cTK4h02IsIcoJTrhsawQC8kadgJ SIrl2B4ad7Rf7XeUFsbnoNv3GbuMs5k+1ipm1K3f1YGMO06BLna1E6XZV3UxwjentC ltMBdYjYWEe/g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220623083217.26433-2-jslaby@suse.cz> References: <20220623083217.26433-1-jslaby@suse.cz> <20220623083217.26433-2-jslaby@suse.cz> Subject: Re: [PATCH 2/2] clk: renesas: rcar-gen4: Fix initconst confusion for cpg_pll_config From: Stephen Boyd Cc: mliska@suse.cz, linux-kernel@vger.kernel.org, Andi Kleen , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Jiri Slaby To: Jiri Slaby , mturquette@baylibre.com Date: Thu, 23 Jun 2022 17:42:39 -0700 User-Agent: alot/0.10 Message-Id: <20220624004240.DBCD4C3411D@smtp.kernel.org> X-Spam-Status: No, score=-7.7 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,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 Quoting Jiri Slaby (2022-06-23 01:32:17) > From: Andi Kleen >=20 > A variable pointing to const isn't const itself. It'd have to contain > "const" keyword after "*" too. Therefore, cpg_pll_config cannot be put > to "rodata". Hence use __initdata instead of __initconst to fix this. >=20 > [js] more explanatory commit message. >=20 > Cc: Geert Uytterhoeven > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-renesas-soc@vger.kernel.org > Cc: linux-clk@vger.kernel.org > Signed-off-by: Andi Kleen > Signed-off-by: Jiri Slaby > --- Acked-by: Stephen Boyd