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 106E0C7EE43 for ; Fri, 9 Jun 2023 11:52:18 +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:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aGKy7YS1RJwMEEzm4U/IC9trSTYwDHBFECKcMXiCm/4=; b=AC/HIPSfSH6n1l UmnMqbpLRv96WAIOZ3G/d1FT1VQdODES8/M/NGRrwMvRJcw39PjKuxKtDs+4/ZZ+o5skbP5OAqzUr 8aYisss2BcjqYoRz/mEqaCnxiVkLxLhuhAIQ/aMzLbO4Hlq+CbHagsaMeJCObVbiT62s7meoha0R2 s0mjKkkMDoQUu+h/GL+6CxK08b9HRuRwO06ou3VlUCYmtyPHs9VDucb2K+k5x7wrv5vd+bu6dB/IZ wmqaFZCG27ZL0tkeULOZu7pado7q58pQkh/37Zwl6c0VhVZCN1uGIVo6jsbVKQI/445Bytq7GIR2P LHQVIJRK3ogaBkkjPFjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7ael-00CpeL-2G; Fri, 09 Jun 2023 11:51:51 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7aej-00CpXo-2s for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 11:51:51 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-977e0fbd742so253200666b.2 for ; Fri, 09 Jun 2023 04:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686311502; x=1688903502; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8T0wN2xyHqkgu/5OvE+DJyHc6IdgUb7ALA/gkh9SISw=; b=R6Y0oCxUhD2vEYpqllcsJqc1+F/482gIVAuE9WtvwhqwEP9I17G+luiaYk3DpqYZ2t FQPUR3S0cpdiCiLkOLlMRLZ3r1oCUnxRQnFCB4EIPupbl63b2ly7Hg/R7WcPIB5fgnQK zl+gZrt6jPopzygQE0iBq80u3eehgDL0vlldGIXRouKSCBscddlkVmLctx4KK+K8Xu7D urK9ed1G9yQ0qDI5lpoK71WDo7EnUh2vYQ7U5er1+hTQyB4hQSsOv1ueiEJ39d7R8t2x D34opUNIU0bAr2tnBqezuIoTE3lE1q8AR0B7R8locsSBVe0i/s/9dEwI+lQKdZxOeBIw VoqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686311502; x=1688903502; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8T0wN2xyHqkgu/5OvE+DJyHc6IdgUb7ALA/gkh9SISw=; b=G7mih96t/F7K4+9nqLCYc/Qh87zZEnsOZ+bFqpCL/z+JBe1htfbfzmZeG9jey4WHpZ 1xdOT9dfnrrRrBJA/eBYHjmP8qxSjhGhP8NRTEaaVLnw7B3WQPpv6IbOtrx9UItdXtVG JN8SJLD+KDW+5EhsYaDkZoJgLcpqHkqNCD3XEadS6PHyhFS2IdoZHZl+KQu0JhdegqD1 CnotLIqwol9kg6BN/ilG573JnvcOQ3Tvbmxu7SsDQUzcmN/K/f9PpzAE9bOxnt40anwK i12R3BD00DiaS3G47CtOXQStrpnwvBlzcvBmn5jr6/96n68Wjf/V5P0BCtQRkrn/UUZF 2nBg== X-Gm-Message-State: AC+VfDwuAkJgWW+r/vUvWh38bz20W9P1/aT2UYhHartDgK6BFqCeck0p YIr6gKhgq9s33nTmhZmUbU0jJQ== X-Google-Smtp-Source: ACHHUZ4ZX0E/X/YKvqntJSvw3Tv9/5A0eEJHzdaINnGFUFFPTZjJm0mPy2wbX2mDTVvwXuPdfsrBOQ== X-Received: by 2002:a17:906:fe03:b0:974:1eb9:f750 with SMTP id wy3-20020a170906fe0300b009741eb9f750mr1421632ejb.36.1686311502112; Fri, 09 Jun 2023 04:51:42 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id r2-20020a170906548200b0096f5b48fe43sm1193972ejo.47.2023.06.09.04.51.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 04:51:41 -0700 (PDT) Message-ID: <56eff2be-710e-cf3a-0dc0-d0f1d21c8825@linaro.org> Date: Fri, 9 Jun 2023 13:51:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/2] tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error Content-Language: en-US To: Christophe JAILLET , Alim Akhtar , Greg Kroah-Hartman , Jiri Slaby , Thomas Abraham , Kukjin Kim Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org References: From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_045149_936196_011E6EC3 X-CRM114-Status: UNSURE ( 9.79 ) 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 On 09/06/2023 06:45, Christophe JAILLET wrote: > If clk_get_rate() fails, the clk that has just been allocated needs to be > freed. > > Fixes: 5f5a7a5578c5 ("serial: samsung: switch to clkdev based clock lookup") > Signed-off-by: Christophe JAILLET > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel