From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF0D1C4CEC9 for ; Wed, 18 Sep 2019 05:01:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E7F921848 for ; Wed, 18 Sep 2019 05:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568782879; bh=sJyenI3h9yhijDKofovjzzH4KAe+8VnNMcspDIixjOo=; h=In-Reply-To:References:Cc:To:From:Subject:Date:List-ID:From; b=bo0byWWmN+OCejmrZFCr5WciHuGkuhMhiJDK4fUjCYN291RR8/+v2dUUMiWbTkR26 STh8TyxcpG/elJGo3zXSUOkUdvNQxvzIxrkXKXRwH27dwj8HQ7AkrMV9KPPHIMlAFx BJT7EwRvF+fRIArWZ8tiKAM0x2RZ82UCHFSAbuXQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727025AbfIRFBT (ORCPT ); Wed, 18 Sep 2019 01:01:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:42256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbfIRFBT (ORCPT ); Wed, 18 Sep 2019 01:01:19 -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 6639120882; Wed, 18 Sep 2019 05:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568782878; bh=sJyenI3h9yhijDKofovjzzH4KAe+8VnNMcspDIixjOo=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=S+yrQ80DFOGRIvIm7U4EG9xiBXTcu5Ld20fFDWmsSZWTjGHuXEnMd6ltm9MkNWUuX Ld0u7YvkFbRZ+BPu+9KOJPBp+V95IZzHk9mQcdX2bhHD5a2sMTQ6vQovh+P78LVzbS zD3myZTytDL/ZpgaDICuq48QeMnpGyCO982C4ViE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190905103009.27166-1-zhang.lyra@gmail.com> References: <20190905103009.27166-1-zhang.lyra@gmail.com> Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Chunyan Zhang To: Chunyan Zhang From: Stephen Boyd Subject: Re: [PATCH] clk: sprd: add missing kfree User-Agent: alot/0.8.1 Date: Tue, 17 Sep 2019 22:01:17 -0700 Message-Id: <20190918050118.6639120882@mail.kernel.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Chunyan Zhang (2019-09-05 03:30:09) > From: Chunyan Zhang >=20 > The number of config registers for different pll clocks probably are not > same, so we have to use malloc, and should free the memory before return. >=20 > Fixes: 3e37b005580b ("clk: sprd: add adjustable pll support") > Signed-off-by: Chunyan Zhang > Signed-off-by: Chunyan Zhang > --- Applied to clk-next