Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4022521rdb; Thu, 14 Sep 2023 09:26:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZ3rooru7ErVRM4EbloQ/UyQqn+beMhFw6Lw88mAZ8e4MmahQ4Lu99vbyMccdluD7lpaT6 X-Received: by 2002:a05:6a20:3d0d:b0:159:f884:4d72 with SMTP id y13-20020a056a203d0d00b00159f8844d72mr2127279pzi.42.1694708807601; Thu, 14 Sep 2023 09:26:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694708807; cv=pass; d=google.com; s=arc-20160816; b=Wy3mZSDb0kGkhQ7kbSBewXVcPhXYM73hC+CTlMA1/bOKdO+CNm64zdmG5QK27+dFKX 5v8AAc27q5sNMJaPeSCy8BO5+dHKkcbd8Om4Psg5xUTLRbK/pm6PdOg0LqsrhYg3BQDT kUFMkZq8hbXUDWlw77n0OcqYv6vFPtwdVY1KvxGZPB1ePpXlk49aw0Opeh5vxSWNuasF xURA1tO4pc2QYJEqC4Nh6VGgxncVlFc3hHgqlV0C+8gRcoccCpmWUzWQIOhBOLEDgBEB lyOxzU2pG0XPLwcnk5rXjjz1tOx/mIs3DqdeG58FsKcziHyTiO9ZeIAkS2qrCK+CEYoV RZ9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=86e6zB0JNzVLJMib9ZdlscZgSj1VvstHvc51jzK1Zz8=; fh=d1C/Q+n7d2nvQ1ekyaAW2fP0WCSily2Vq4gsqOi6TpE=; b=bqz/LdCsb3Mj4HESgQUGkkCZt2Ue0e3cM0qG9yPa74Woycv3JS6+BdEI3J6c/W+2tK MtXB7Hb5QvK8KDbzcVw05qjB3roiGn3VBTmJTXgMwhvBWRFA4H1W6+4BPNcNbJqOYbTZ cFIoWhq53l9vvdjqLnG9hquUUFSkFC0nIpbgNXrIHFKtp/rBdIkj4E6FUW+NiU5ED85e EhyUvTm3DB9N+rlgHEYV1Y9RjKZOjVJ1XHzPD0GzbIvxwALPfyE34VUovKG/Yjb3FqKU AW5YkN3pqyZF1+A8x7S7YfbaEHP1DAmEeVkfvzxlMnZ+0z30MdhyqtDGTAVrVZpRbECe +GZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jOyPf1iR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id x14-20020a63170e000000b0055b79986063si1719825pgl.300.2023.09.14.09.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 09:26:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jOyPf1iR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A4D8881C0C2F; Thu, 14 Sep 2023 03:23:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236701AbjINKXG (ORCPT + 99 others); Thu, 14 Sep 2023 06:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230141AbjINKXF (ORCPT ); Thu, 14 Sep 2023 06:23:05 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2045.outbound.protection.outlook.com [40.107.7.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D24B81BE9; Thu, 14 Sep 2023 03:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bJoaMAScdB43tQPLfic3aclFrBVPtEWp+JOpDk64K8GarF/kdfBXGsb/uFuX7e/YE9cqGtzhnaUsjIqwQHSbz/AL6pYpGG/mzoofc5W18zp2RpREVPmm4KvLbhgnKbF+mQPF51gpVdb1P/kXWSWL0z2EGZK5as07u1lvN3BRJChGehD3eF2h39yjeb6ZlGU3h74dGiG18ljqh75hpeoxILBLGw3NZ0yiw/5Feo1YSo57uQMf5XTkX5KZvtbap/yEhGB0jWlIq4IEApaQ+XB0t/EKhTNVCmIhuHv4PJHr0DwkkCaG/CZEwI4sCNP2zcPL1RQAb8S9MKYzdPgBJdgUxA== 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=86e6zB0JNzVLJMib9ZdlscZgSj1VvstHvc51jzK1Zz8=; b=B++NgnY87Q9jCId/LrIm5k2pNK4oZpAnQ2bmrz2CfpFYy4Ze+2ncUgqdzTMIWQDOqNtNbkI3yyRBsuv2RPTfvaJ0eiafc43BskUzDnGASAniGoRvyc2t9ibbqchbDy0NOaQHWO2OJ981beoTXfxoio1ulFo3Qi2fuL7FWy/4ZK82eI+vhwFCs0kS5VZs3c530+TPpk94MEmyz6mNJzD2zsfJ7GN2fVxl4JXfruyakyvKQ1ok7S6N73pOsKsv2lcuG9amlCe7OQXYi2NvLjFfh9NxFb24AsOVlGCuY7ObE9RbbVuMiv8Vqi66YAHYlTN0yuDZTBxcsgKLNvocvdqhXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=86e6zB0JNzVLJMib9ZdlscZgSj1VvstHvc51jzK1Zz8=; b=jOyPf1iRuGNfbW27uUw6sHZPBc6Gr49yCiDdYj6XiAiU/fu/XbrrDe77a36dQP2C4HAQFmboE5wrnv/nhvmoj6p3hWFy5szH1b9Xyw2xR+6eeYKl8x3T8uk8KFqd4zsl9cCGZOM5BgfNROL0E7cVJT05HzGUYEpyEoOos4WRYM8= Received: from AS1PR04MB9264.eurprd04.prod.outlook.com (2603:10a6:20b:4c4::14) by GVXPR04MB9803.eurprd04.prod.outlook.com (2603:10a6:150:111::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19; Thu, 14 Sep 2023 10:22:57 +0000 Received: from AS1PR04MB9264.eurprd04.prod.outlook.com ([fe80::22ec:b7f4:780a:ac16]) by AS1PR04MB9264.eurprd04.prod.outlook.com ([fe80::22ec:b7f4:780a:ac16%7]) with mapi id 15.20.6768.029; Thu, 14 Sep 2023 10:22:57 +0000 From: "S.J. Wang" To: Christophe JAILLET , "abelvesa@kernel.org" , Peng Fan , "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx CC: "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: RE: [PATCH 0/5] clk: imx: imx8: Fix some error handling paths Thread-Topic: [PATCH 0/5] clk: imx: imx8: Fix some error handling paths Thread-Index: AQHZ5vVuJ1bkWufps0KPYlMW4So/JQ== Date: Thu, 14 Sep 2023 10:22:57 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS1PR04MB9264:EE_|GVXPR04MB9803:EE_ x-ms-office365-filtering-correlation-id: 4d004c07-64ce-497c-bc94-08dbb50c90d7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6gVAkmZXr9dFDwjEHNfGNm2jJ1Ew+sLKLTwBhP7iyrBC4BkHi4oVqujovK/PgnPpz6fidJqAjMXKGa6g0eDWuB6/FZ+nOi7NfOVvUdCpvHJfe9CdGq03lmTd3/QjF6l2ZkI2Gsl55cVYRLzuSV84YaEsV5itxapD3Tw7AlMVUjT+PYWnPouq2hZBYNhXLFeWR1LWQOm3uKZCbE++/wyNsrfMvukeTxKcGweTgdXkSYUCkC+vqUdpGFSAOhf7w2aTqt0lh25TZIhvKISQRwwqF53WFxoQhuVHmLoFHdcnwMq5XcRAwYhBz5RNJbrrfIPEG04IO53Jhpudkj0Nc2/Ox8cq42s/mw5prFLjliqVLTSZGPZxOuVIZUDdOOwJvI7WzkatVD1QdpZdQY3cLtQTTRxR9G6l1HOg3dg3q48SmPQ6CXSWpfrNM+A27QMSmoOGopB5hQrno4DBHoT2kYaFv1tSIYdtx8Z5Bd9yVu8mFcaJ7rGschBO4S52DYa5xBrLGkJd8mDYgwEApKMXJmC7aQWwYwkEIyfeNzH6MD/AnXYbVQYkNR7q9dhLm0kPXxBO8iEUTIc2gP61ya/N8fZsHlDlTg6KrxDgHm+Y0737GvctF2pdp0xF7KBg8jl0JP4q9iFGH4PoOxj/dnSuKsxWvQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR04MB9264.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(346002)(136003)(1800799009)(451199024)(186009)(83380400001)(71200400001)(55016003)(26005)(66556008)(33656002)(110136005)(66946007)(76116006)(64756008)(5660300002)(4326008)(52536014)(8676002)(8936002)(2906002)(7416002)(41300700001)(54906003)(6636002)(66446008)(66476007)(316002)(6506007)(7696005)(9686003)(478600001)(122000001)(86362001)(921005)(38100700002)(38070700005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5Gf6n21D12/hTdrfi2VS7XmildQMzXyLBfwzCi4RsA/jYQx95fRy0bH3MhW5?= =?us-ascii?Q?Spyb/k/aXHLoimFUdYPmCRH7vMu/vpXzFofADAPtaPzbVPTf4Da6STYUYJjH?= =?us-ascii?Q?KFH10NX20CbgVhU/HPFpUP53TpBwxvFE8WZr+PRdlVQG+aehbjTwNw15uBYC?= =?us-ascii?Q?w1GzxI48DJ0KSXeti7a6vbi53BZrOUZsXDsuc48Yn0Yowpw7Qo6gU1UiimK9?= =?us-ascii?Q?gpuyYiT6AY2aJAdqSFeydvdsMpgT5inTZvIwk/+b2IEM6+dFsKrQoeuUt/Nx?= =?us-ascii?Q?PCg0HX0CH5yGDW8JNvZhi3tWvGY7egFaMmda+y0JfVvYqyNrXtsIBXWkxktt?= =?us-ascii?Q?rtkrnZyNil2MU4TsR7hW03gA8+u7N5XW8UeYk60WLNx+I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GdcMrZNAJnTFdoK84CHCyju2tRKlKfVC+wJD/Wv6dP9a3GSS8PU0L?= =?us-ascii?Q?XqrAtXoCaCvLayCMrpyC498sYh3pohAPFwN0FAGVua9cozvUm+c+jWyNgJgE?= =?us-ascii?Q?kMjSm1XVv5H8cgS7STY/rZPJ1oj6pcHduqNqoaUTD5fQBi8PNvOoEv+ASC6b?= =?us-ascii?Q?3fnXHisEhIVU8g20I6TWN21ovwF7ZWYqH3HoEuLheKsT5gRKmmTF7R/zymQI?= =?us-ascii?Q?V6p5sWYAclWWXMr4Q4qOpYepMuI3yDYjTH76ob1aN4SfFO+HYmCBIXNh21Wp?= =?us-ascii?Q?XcvTOOvhgKh/1WHcQGr/cvHYVztXnNqxKUg+bdQb?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS1PR04MB9264.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d004c07-64ce-497c-bc94-08dbb50c90d7 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2023 10:22:57.7163 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uE5PnIvHCXUh3hp0MRrkQ5fcPmt2Hixlqo1ILQFyK9Ct8H78BJysg3jkBzRAplsONqCRdDf38BJZduHYIhjcew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9803 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:23:14 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email >=20 > This serie fix some error handling paths. It is split in different patche= s to ease > review because the issues are unrelated and the proposed fixes are maybe > wrong (I don't have the hardware to test anything) >=20 > Patch 2 and 3 are more speculative than the 3 oher ones. Review with care= . >=20 >=20 > Finally, I got some problem when generating the serie, and some patches > have been hand-modified afterwards. > They look good to me, but I hope have not screwed up things... From the 3rd patch, it can't be applied, maybe there is generating issue. Best regards Wang Shengjiu >=20 > Christophe JAILLET (5): > clk: imx: imx8: Fix an error handling path in > clk_imx_acm_attach_pm_domains() > clk: imx: imx8: Fix an error handling path if > devm_clk_hw_register_mux_parent_data_table() fails > clk: imx: imx8: Fix an error handling path in imx8_acm_clk_probe() > clk: imx: imx8: Add a message in case of > devm_clk_hw_register_mux_parent_data_table() error > clk: imx: imx8: Simplify clk_imx_acm_detach_pm_domains() >=20 > drivers/clk/imx/clk-imx8-acm.c | 27 +++++++++++++++------------ > 1 file changed, 15 insertions(+), 12 deletions(-) >=20 > -- > 2.34.1