Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp126041ybg; Tue, 28 Jul 2020 01:31:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf0tCv4gJU1X847viunZb8ODfr+kJZ0nBea91lsISM9fTjqjHqYTj3yboUv2Q746ZLNhNv X-Received: by 2002:a50:fe18:: with SMTP id f24mr25054359edt.14.1595925088180; Tue, 28 Jul 2020 01:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595925088; cv=none; d=google.com; s=arc-20160816; b=JJnLYAQE1XhrSRGvD5hPBJGk5fxgMJq/8HdacLqCtjfdGEJU1rEF0RgvJUjei/8tTs 7y29WugMb/1dOFBeCDIFio/BKZalfTkmHmpCwM3SUkY+3Hu+gDwkKxcPNiSBRyLLp4pr C6It3pr8PYknW5Urp2r7tCwlPVdFKhaxjHIEIOI/i06+HNrSFYSqbLTTDcoOfhAl8fOZ yLA7ZC5PZzoKuDcgYez2cCOA2TiUCsgCWoxJu8ibgFo4x3i81pFTpltSDQ8cnFmXs2Ue U1+HwwHWzK2knk06Hz8xd1Thmyjr/qwRIoilQqWz4rS84xLf5rL2vGcIHLyaBfzo5dQl MVkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=Xlb2BnceXzYTzAXktueoQAA5/ZPhfqE2jgNZ4DMUODM=; b=nyxhl+iSeknz5Fix9fFUxLrq2+p4AmdQMNw8GQ+xkXpa5jq/6uPeU/zOXA7bwAyQbO U9b9LZNUpqBOJv7YwsV1cy22ZFTDhoAhQQht+qFu3vONH9foZZBIwdm7NJWxpZoSYD1H BmQ/NsZRZAdebOq9sPRLUP+oJnnjmyYIsAP013ahn2QFC0lza28JoiAMj/483eHa30ch 2JRgUX6f+vq5c1auH7lz8zNXk2QG9RNtkUHpa6Ipst+ZLxGmhQXVivmpQ8sojgwt0oXp aoVIbBm/5B/CjpokV6U4lipomtUQekVjJqK6S8FEQ7Puk025fdVAeE2UJYycfZMvz8un /urw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WFELDC95; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si10758779ejc.80.2020.07.28.01.31.05; Tue, 28 Jul 2020 01:31:28 -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=@kernel.org header.s=default header.b=WFELDC95; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbgG1IaX (ORCPT + 99 others); Tue, 28 Jul 2020 04:30:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:53860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727808AbgG1IaX (ORCPT ); Tue, 28 Jul 2020 04:30:23 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DDCF920838; Tue, 28 Jul 2020 08:30:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595925023; bh=Xlb2BnceXzYTzAXktueoQAA5/ZPhfqE2jgNZ4DMUODM=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=WFELDC95drZFFISnYKMQaUnapZi9f6SxkbmHoy61ikQli6d21/2So8X5nqLZFOUod T77avNcXK6xNoNKKptgVWK48bBnCGPwkCT2wSIneECsvLYEOOWmzSmm5JfZcqoWkRZ EzVlv6EpKl2Oi/c/PJYZLHW6tGzZHitMI/qiFjR4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1595904889-30811-1-git-send-email-peng.fan@nxp.com> References: <1595904889-30811-1-git-send-email-peng.fan@nxp.com> Subject: Re: [PATCH 1/2] clk: imx: imx8m: avoid memory leak From: Stephen Boyd Cc: kernel@pengutronix.de, linux-imx@nxp.com, Anson.Huang@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan To: abel.vesa@nxp.com, festevam@gmail.com, peng.fan@nxp.com, s.hauer@pengutronix.de, shawnguo@kernel.org Date: Tue, 28 Jul 2020 01:30:21 -0700 Message-ID: <159592502171.1360974.3210900566276289684@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting peng.fan@nxp.com (2020-07-27 19:54:48) > From: Peng Fan >=20 > Use devm_kzalloc to avoid memory leak when probe fail. Please add () to functions in commit text. >=20 > Signed-off-by: Peng Fan