Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2911485rdb; Tue, 13 Feb 2024 00:29:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlkgZH5LzwlEa0aEypxsnmESygnJaOUokLgM9quJyXQHbCM+XsxuMLBpoHYhDaxzUX03b6 X-Received: by 2002:a05:620a:170e:b0:785:469c:3ef5 with SMTP id az14-20020a05620a170e00b00785469c3ef5mr3617177qkb.13.1707812941541; Tue, 13 Feb 2024 00:29:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUzfec/Xum68uGf8yRcyY0xa0te2B9w+5nL2q6hSEgiAW9hRVXIULrOxb4LOXh+ZlKC04v5199IAPe4M48dEHMOc5S9JICI1QtxsPu1cQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qp28-20020a05620a389c00b007858ab38744si7568444qkn.142.2024.02.13.00.29.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 00:29:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63119-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=sTzHE16t; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-63119-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63119-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0AC8E1C21F25 for ; Tue, 13 Feb 2024 08:29:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 660F6225AC; Tue, 13 Feb 2024 08:27:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="sTzHE16t" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2021.outbound.protection.outlook.com [40.92.22.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 502C721A0A; Tue, 13 Feb 2024 08:27:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.22.21 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707812873; cv=fail; b=ed62utTNxmSsKHyw3cfV3Oy+SaOOAZiR+M5SRGPl1lliJ2eh102YrceXSVSLsidsuv/9RVQgFr/e1E/P0+1ZbW+cmLHQ57cBgX6k5Bw3IJ1r/jPvXdLc0HoBC2zVszj5gfX1swb9qB6KWY7nXowQNPsJbMBFjo3RBAdd2a39F9M= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707812873; c=relaxed/simple; bh=Slxe8Ifxk4dI3e0L991fFbJ29Fv+8l6ZMbrXlQER2/k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=ff6aczpfIa0D20iopqxKHXk5KPaJiGVoY2dN80SAE0taeZrUrfOSC1ErxrcAc7G54nYJUSWBcsuaN1i8qvef0IJ8cjmgKmxsANUo3WgxcVay4gT8vBidl43tJBYPkBRnhNIt57JK1JWAk1mIlp5HEnQuRe4ellZUjVLRio/ivzg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=sTzHE16t; arc=fail smtp.client-ip=40.92.22.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aExYkJcxVz/X25gAZbktpT1nAknVJEO9+1q6661+y+9YxbI34SnGKgNtwUcXWsebIh8p/MMJ07jJ/Z6HnxKtpzGyTX3/1RE/rPxRBbMyl1veZEdDDBF/d1c1Ioc7HSy+06JcZLpFOrAtTdeEgJrQAcZVoIupBK9LiWIB5mwQDjpjIRieilbTRuFJP0YIInguMyQcYbZ3X27rYhdyObuweiz5iVUxbefpwVE3jPYthz6urSMYxSNOCuozDO4f6F9/CcmWSR8C5iscrBHfmSutrMkj0EQoKia7c7WpX95Zgff3WAhm3LMnw6UkcBaPaCg9LCqKuJ1poaJBHSWPX0A++g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Slxe8Ifxk4dI3e0L991fFbJ29Fv+8l6ZMbrXlQER2/k=; b=hF+p3bTAKvMK9G5AeOLWa5R6W5jMKrLDRJkAQc8x64i/LKYz/HfKac+38cRsnbSIfTMCC85QjSLhZ2F4jckiNj6Zu+dNPgDayJ/1yRrpRKKm6A1YtW+PkBvWDy5KZKufWUbXChIkR2u//aM0II1zFgKBbU86L4znOOGGp6rfXeDwbnNn0npjLeGpWIv/jW48wVMiW5aeB9n+PxAUcHZi0b+6GKdMR4HDuilWoITt5Odsfao3gBBWfOHRGYvCZ64RKXBHCmZfgl814ANbJGeN08CQidMhZov8i+PGlhD98cDclLrRlHLSgXQ+Vx+jwKfBUgYTpQBT8mInTPmJkP87kw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Slxe8Ifxk4dI3e0L991fFbJ29Fv+8l6ZMbrXlQER2/k=; b=sTzHE16tPy4k/w36CcZtrhUQweGitMJb2wrCRxluNYno6b5tU56NagWWpgtHy9BSCGgsBqtC8CT3o/WepkYjF70ty74bAtY7UUZ78fuWPVwVilXf+nw/VRC2CJvATBdyHkUimUcmgdhFdu8rarsZzogvQ+y2GnBhhexkWX/uDhX3cPxmvyQh/CjJ6v5tyyWPT24RaAeLCp7wY1DeYxmTmwjNcyUv8pIWt9dfo2zK2cs2U6LNsmqlI+XXKw4m7DrEe4CMUKgVm9YGJ93/mD8fnFeY1OS4N1RQDI3U5ulpsC9iy5xfxi0eUsmoFPb4YbL83X687MXri0U0I3oicXmzKQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DS7PR20MB3776.namprd20.prod.outlook.com (2603:10b6:5:3ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25; Tue, 13 Feb 2024 08:27:48 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b%2]) with mapi id 15.20.7270.036; Tue, 13 Feb 2024 08:27:48 +0000 From: Inochi Amaoto To: Conor Dooley Cc: Inochi Amaoto , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v7 3/8] clk: sophgo: implement clk_ops for CV1800 series clock controller driver Date: Tue, 13 Feb 2024 16:27:40 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240212-list-grumble-819f7988aaad@wendy> References: <20240212-list-grumble-819f7988aaad@wendy> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [8BAhYj7SrFmZCx7s+Yv60qkSlhwm4n76KPnu1+SHYfzrG3WTYeOEQ/nOIGMzEI34] X-ClientProxiedBy: TYBP286CA0029.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:10a::17) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240213082741.608683-1-inochiama@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DS7PR20MB3776:EE_ X-MS-Office365-Filtering-Correlation-Id: aad7f232-fcd1-4140-ea99-08dc2c6da93f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6V5tr74vDc8g7Cv4y6A4piCIPRorKcI6uWyK2cuwAEm065tY3c0JkfEtDQyESbrRgGlpGATyp5Z9CITjmuq2R0qGrtigFhtSEOaJze2CtNKRW5n66aaWS+np92HfS5E11hwfyDD6WuLh5LOZFoShgXCDC8AXWxZ+i7/BJ+xkBvClCsvejk2UrkGbHD2Q4Whgxwa0AqANcYxjj9tn+1Ig+lI6Acf5I5MzZ85ftHUckOE+9V7coCoGWK60zsuzF4AEwvVlSE9Ky4BFttTaEW9+4bgujKx9b8NwBXMwJyEyAxGMZnSNy6Aq0uUJMYzNMJ+dBKRBmo4PSd69EnCgoM077Bk3Kaqf1xwe6bm+6gviix8NlAwZKUypFMafjdh8IukR2KBFnKUScMF7unwFjo4mAtTfZ3qg3A8BNCWZjMQdmQwmLvYJfPW3qvnxcP98AyQjj5Kmr4Nu7XYt5MBP5kUOKtI2vdKstxGswYzMbhF/kxlYY5O32BWpY5cveT+YsyDse5Sn+I/dgkcXb5v/JSQ9M5hmrj1+Xj18zj234QGRl55HzqqkqVEreWH4oakBePItV3RVexodhHG3w1iZ+da5WL6TcTMhHpWOb5LLIPy2vxhuf3vbnZwl/UotSAPfOWb5 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?139tMaxSgwNS1FUxVIKQ2//JSYAj/EIj17Dp/uci7kY/I56cm9gwl5JqxN0q?= =?us-ascii?Q?1vQuLHDrTdveRVY2kufuuirFRSUJlMzhxjx02F1klYSWukAlfozojvzYDmPk?= =?us-ascii?Q?CeAo0jRmayKL/8Ly2NvvYzwYQfhy2T+iyMfaoaihBNRzjR/oXn1fN79bbnoD?= =?us-ascii?Q?sjjV02RaAxMrnVynvzeNxpXUK5QXiz0klyfBXa8VjsVX77oUMC9yhdDa7fbc?= =?us-ascii?Q?9E8p3TFla6UDQwumuHoPWnC34cv5L+x6u70SLxInrdhEJ7YvQGxm7xh5B1+1?= =?us-ascii?Q?WvFQTEGQGL7gc5u0MXdfzmzOEjy7bJXCBoRpWdmfAYv/t6KrCtM8Fw7YGse3?= =?us-ascii?Q?X+N/L0AkABr9t4BeBSWTGsvWNRj1h6HCJzOr+izKo8aOTvtdAd2qCA5vd8D8?= =?us-ascii?Q?i9piau/dInbDGesgmyeFNB52jn0b9cgHPwHZC5bQsJu/EKWAY6xxa5Q7Y0TO?= =?us-ascii?Q?fXziNKYrZgvblPYfdh8tVrrK0kReXYAnqPe7onVlDkPfJ9mJ6WUIvrkubXDf?= =?us-ascii?Q?IHfqudcMGU7c6DQxZBlOxR0CrpK08goFqfAKbqVuHB0OCIf+doCuawiteYDv?= =?us-ascii?Q?TanFE2LQQV+skTjZSgkLhL1KpdNwadrpuYGtf1s0HQzwbx6zJGft8LDwUadb?= =?us-ascii?Q?P+PJyIkiyymnxnqOWgGBrE4JAKtDm7Xehp61MK9f4kKSzYuVlX0dGZahSfV5?= =?us-ascii?Q?+xXS4sbgq5rIYv8nYIEmKYlvyfRUKTjqh3UptNE2h8O/oBH1j//jW7BQO5NG?= =?us-ascii?Q?PMZ0zDsaJnu5LhW91Xy7qhaKbMeHGnTudnOAqEOKu9qAbrbuW0VR9FJBdMV3?= =?us-ascii?Q?kJxeGribI+k3OMbqrG9c7SP6mvbSI4hsCWt5hzjVcuNVP0H9ptlBPeTBjc7h?= =?us-ascii?Q?nV7XmZSucByE8I2UiWq4T7ZdS9KNrCgoDspQpCngUdaVAjEv6p1wM6+JF3pf?= =?us-ascii?Q?/ZDZ54MDQUBMJx1rLoEaFWtb85IQ8BWjBMYvrgqOY7HHx+c6oYaqt5gaSTNT?= =?us-ascii?Q?DcQybz3YjL8Os3qfeBfLxDQX/+Ob2kUz0mMMypL4iLpn4AFgn6y0y3RYcwmD?= =?us-ascii?Q?ZSazfaEHBigClZuB89ekpis4i+kLFBUBOOFJ8O9wplrKi5LcqDgugX22408z?= =?us-ascii?Q?PBj9ssgzL/Sdb0tlb/rJ+btY06tesl8ICHR5vdeVcJLKRwxar8bxId85iGAm?= =?us-ascii?Q?24kPPIsHCSSgWuOO6N/lo/e6ADKXZo3xTOjwPHRNk0rxNML2dnPu0PAvFLhz?= =?us-ascii?Q?bZcwLe9foWtsQ9VWpxVgF1J0DVWmsXMrdfDhGNkDz+ortiTy/zCINGbr1iE1?= =?us-ascii?Q?3Q8=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aad7f232-fcd1-4140-ea99-08dc2c6da93f X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2024 08:27:48.4191 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR20MB3776 >On 64-bit with clang: >drivers/clk/sophgo/clk-cv18xx-ip.c:745:6: warning: variable 'flags' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] >drivers/clk/sophgo/clk-cv18xx-ip.c:745:6: warning: variable 'flags' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] >on 32-bit there's also: >drivers/clk/sophgo/clk-cv18xx-pll.c:28:2: warning: comparison of distinct pointer types ('typeof ((rate)) *' (aka 'unsigned long *') and 'uint64_t *' (aka 'unsigned long long *')) [-Wcompare-distinct-pointer-types] >drivers/clk/sophgo/clk-cv18xx-pll.c:28:2: error: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Werror,-Wincompatible-pointer-types] > >Cheers, >Conor. > Thanks for your test report, It seems that I have made some mistake while splitting this patch. I have fixed this in the new one. Regards, Inochi.