Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1712690pxj; Wed, 19 May 2021 12:07:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys3jn1GkEWOmPFK9N5qfnFLn4xPqq2UVtrE4fTbgk1Zda9/0LYfg2ElYdG+YzqNH9Kd/SN X-Received: by 2002:a17:906:26d4:: with SMTP id u20mr705440ejc.114.1621451228941; Wed, 19 May 2021 12:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621451228; cv=none; d=google.com; s=arc-20160816; b=bh9h0amusUSyv5CKLVhVNB95HggZ8MMCw77w2H3j3dZQjA+wOuTNuNcTr0xTo99gmE GXsUIBp0f1+ylVaPoRZo8V/5upGNUU6mwtPRv+0uasg4toFVHiXbXLy0H8vUPxEJGP05 rMWeiUEsM5Y9MHGH7+D4xCUfUFLIKf6ynsK+HRmiZPVSiGgr/H9Rnu0CEr04ZruX7G8p QhChJRn9+3eZrr6aw0Z5eqHElwbP8BccduP0pOvFi9oBl2MNUFkCqLmM48bIw/7Qo9qM L1A2UqqJAtH/ueMvTWYm7ApyOos4dEudFajU2uC+UeIPirFPBqHm+2tHt5WUJXXMcDBd KIrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=VEzORXZXTvU7eYTmk77wtpcjmjFnCZQDk56FWp8DxdI=; b=N1xY/LEsg//Mi05ZbUU9MiOuVO0A6WoxuNQnitJQJH/7kluMyu241CZqnu+4ctu21f ag+aHS+G/+qc7MIVzT7WQskbAnLc1oGAv3rcho+CW2rBgdz2Uc3G09ReI5j2A/Nap2/R D4CDaeDaMoEjZKqY8MNg5fQmO50KorOu5qRgn8oCO+kLXOPAwLq4Sn+NRZ1DRJiGP4Be lzbdpYjcoY6o+bHxW5OaFidHyk6LqLbcavSEUQ3Y102PYHkEzJB+aKJRQxpcsj6g5Zpr c3Nc4r9hkk+3bmDlxUvymVucPs/DFhmdNNOiyiuAg1bvUZzxCq2YiWgzQEFQPQlVzFJK oFfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Odq3teru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si67381edq.290.2021.05.19.12.06.44; Wed, 19 May 2021 12:07:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Odq3teru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237289AbhESCry (ORCPT + 99 others); Tue, 18 May 2021 22:47:54 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:51281 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S236919AbhESCrw (ORCPT ); Tue, 18 May 2021 22:47:52 -0400 X-UUID: 9c12430aa253475d82c9b523ee16cf0d-20210519 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=VEzORXZXTvU7eYTmk77wtpcjmjFnCZQDk56FWp8DxdI=; b=Odq3teru8Qo22puSd6vNUrfgLCgCWjekKUPuhAe0x2hZ5j1YqoQ8mzvTrfN9eKBE2Sc5gShzfGIhM1dKTt6Ge28pHVQSp4WuuiaH1ikyKQh9qrn8QbN8nxsB7D4pFJN3FpYh89yJzvEAR9o5UwRwyF7tqIKjqDFTotnjFUI6kS8=; X-UUID: 9c12430aa253475d82c9b523ee16cf0d-20210519 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1246951111; Wed, 19 May 2021 10:46:30 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 May 2021 10:46:18 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 May 2021 10:46:18 +0800 Message-ID: <1621392378.22329.5.camel@mhfsdcap03> Subject: Re: [PATCH] phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() From: Chunfeng Yun To: Tiezhu Yang CC: Kishon Vijay Abraham I , Vinod Koul , Matthias Brugger , , , , , , Dan Carpenter , Heiko Stuebner , Date: Wed, 19 May 2021 10:46:18 +0800 In-Reply-To: <1621257600-15046-1-git-send-email-yangtiezhu@loongson.cn> References: <1621257600-15046-1-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 384A46F9F68EB2F10770BDD73B9B15BC7D398B264992835F51000680BDA137352000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA1LTE3IGF0IDIxOjIwICswODAwLCBUaWV6aHUgWWFuZyB3cm90ZToNCj4g VXNlIGNsa19kaXNhYmxlX3VucHJl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