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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5AC0CDB483 for ; Thu, 19 Oct 2023 01:16:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=95jSYS+4GVkfv4SgIQVo2Yp3Mg0UUNE7rUgyXPwXxQ0=; b=qXTStyh22Ue4yW aU23IjpPObYDkqqJpa4fY1XyXDTiQU7CECaVmLSBfJn4/RV2Vxqx4yIGJhvNH+KA9cG6tZLmNip0+ yeUqd7yDG7Qotmin/RtGWoRo4b3+BUrFoknnvmiSfpC5px/18jhAk7r4E8+YXjhnk2cfDPATIhx+V 6XthzxGBftbg4eTPJhvct5n6T0M3q7ROprSzY71H+sNhCaleZEQ3jW7lecQkxRmqUvp6I3qbMtbfW u2B0DfpBJtfprxFsn2fEwelt1OcVoLI/Fv8PPvBC5euYK9vB52Prqqx2PIOSiPQNqXiLoK1yzJq3O /9MVh8ZNLV1FfxxEXotQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtHdN-00G2j6-36; Thu, 19 Oct 2023 01:15:33 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtHdG-00G2iI-2s; Thu, 19 Oct 2023 01:15:32 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id AFF9A619F1; Thu, 19 Oct 2023 01:15:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A63FC433C7; Thu, 19 Oct 2023 01:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697678124; bh=PMTO8UWQCoX94E73XTeAOx24nxa4cTkNMfXh7S7Z5DI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=KjKKLc+UKiksoWp2TLvoOGwi61JlSjSDMtUYP/hTtIrWCr/xRwjQd2cC5atIgj06S E8QF8q+jhQWglonqfg1cDB8vzGuPY+uggWJSNiHGI8S0aoVBBkW6NCRliZUqrGR68j NUDS2QHvu1luzGw7f5cdXMg5Sq5WRHjlkYWQZ+M98YpniwxZQaLWYPH9WDsc4XHdRp XEGcwUc1wlmmW2r7GK0SbVgPm/p8LyS2m7/wUkdrfY7Dgx3WJ5pO08dnyZuoB4+kgH uF7spZjAIa/e4Y2pSZrsGD979SXEHREPIo/KIiRAwhyxvGtKrKVObiWMyp6Uulrho6 FSunhlD7A+KRw== Message-ID: <9c8633033bb689bdaa18b672ed4ae40f.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <20230912093407.21505-1-jiasheng@iscas.ac.cn> References: <20230912093407.21505-1-jiasheng@iscas.ac.cn> Subject: Re: [PATCH 1/5] clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jiasheng Jiang To: Jiasheng Jiang , amergnat@baylibre.com, angelogioacchino.delregno@collabora.com, cw00.choi@samsung.com, frank.li@vivo.com, kevin-cw.chen@mediatek.com, luca.ceresoli@bootlin.com, macpaul.lin@mediatek.com, mars.cheng@mediatek.com, matthias.bgg@gmail.com, msp@baylibre.com, mturquette@baylibre.com, owen.chen@mediatek.com, robh@kernel.org, ryder.lee@mediatek.com, u.kleine-koenig@pengutronix.de, wendell.lin@mediatek.com, wenst@chromium.org, wenzhen.yu@mediatek.com Date: Wed, 18 Oct 2023 18:15:21 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_181527_113820_8B45FB21 X-CRM114-Status: UNSURE ( 7.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Jiasheng Jiang (2023-09-12 02:34:03) > Add the check for the return value of mtk_alloc_clk_data() in order to > avoid NULL pointer dereference. > > Fixes: 1aca9939bf72 ("clk: mediatek: Add MT6765 clock support") > Signed-off-by: Jiasheng Jiang > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel