From patchwork Wed Jan 17 17:40:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Elfring X-Patchwork-Id: 13522056 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 899CBC47258 for ; Wed, 17 Jan 2024 17:41: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:Subject:From:Cc:To:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oZooldcvM8J0ZKclN3UonJ1wh+xFsJFQTZ9DG4Y5oZQ=; b=B22/jJJjbms5z9 EHigm6i02WpFg+mFvBwnbDk9tKba/aLyAZTml5dO4dJbGRW3oQMEGA6fBc8W2c2nCM8VXWEZLYAlh NQbgMaPiSRGG9G2ZJ4b0D/fhtNuAPisGyh7qxPu2bIZe7UOU3G6exw+SGxD4z/xaqU5dxrpmvnmPq oWvnnqY42v17mh+EiiPV+7L/IoWXL3pGYcXYwktgGsHnZlXzQPLA5u1W6+f9jVt3JhXYSHS89/v4m FiCqiCgW6rFdGvak8wxwbMTMyOHsRZx8v9rreJKqYsinBiqgRfUoNG8hTfBfrzH5KcoiwnzPkDsXZ pGk/1fdCIeBKQVyVkoaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQ9u3-000FpK-1c; Wed, 17 Jan 2024 17:40:39 +0000 Received: from mout.web.de ([212.227.17.12]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQ9ty-000Fk0-0f for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2024 17:40:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1705513211; x=1706118011; i=markus.elfring@web.de; bh=rJx1rYDQZuvD30dy0a4RC/ZegRq5ZNJx/Z0Ct+LDDC0=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=dSrWPwokwz/d+kHIINY2V96gx2bJ9l8rgsVO1K1VocUcAL7V/hjnDFuorsk5iuF5 1vrNnSflKWHvSBpSuTn1Z8a3wzyuib2gEmRn1XU+jFhJp/oIYuKsLjQlaAJwSA4n4 aUy7evfzRvyp/rx4FXVdm9uHiX+2KoKTD90KN0uj927IYo+Q7dKrdRXdVKZw8yYEG R+zXuXcuKoU8kaKWwicQDKtCdoeaDqjmf30Q1J+HS4McZeaVyQtPjenI2JBS/R16t Uc8T5OcnSTLKe8YBPh4ILaOXTkYpeIoHFryHgZffp6jeU8jujLKeWtoAH7yQe1eCz JH5FOheryPZBC9MJ+g== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.84.95]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MzCA5-1rDyYr3VEB-00w7rX; Wed, 17 Jan 2024 18:40:10 +0100 Message-ID: <061aef8b-a41f-4346-af6e-560c7594b27b@web.de> Date: Wed, 17 Jan 2024 18:40:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Michael Turquette , Rob Herring , Stephen Boyd Content-Language: en-GB Cc: LKML , Kunwu Chan From: Markus Elfring Subject: [PATCH 0/2] versatile clock: Adjustments for two function implementations X-Provags-ID: V03:K1:C09BDWiDSxoh09TLNFQ2W3BnYJ/zwCfNfzWlMbur2e+atf4cd7v G/NgTSAe2930o7l0OXK+oG6yKC6SzaQkKOiz0QBzoKCb2Y6Vas9L+zQ8zuHZPSLCHh+H9SA FTNrJ4vRnfDfMeiwcay/eTVqY+pzq5JdWILEBNTYbcTT2uz5ZQdMJtmQxl6QswlxOkW4SIa HqHan20J63G3kZIt2LEqA== UI-OutboundReport: notjunk:1;M01:P0:uJu5C1X92x4=;iMJLVQLh1hzxY4RtoP8i5QPoAZK S7Jk5OCfDl0Ipfkwj+/eIuRBYT/5LHWyxTDrGcJgtyweQ8DacY829mJ7lq9BX4UDhnFfXiFBn tTvWcewDi03wgNME1y+dLtzvuW/x6Z8KmbN7AFIdvYmvUp0ZP2AXS85SnK8kwO+aNLcb90umC azNcZYxQdu9uD2N40VV1RsW+d/OcsprqudRgqDWtKP6ejfQBz+bS5lAtXfgXIlDujlMpD8JrB bP6Vj9trSrmrAu1mXACwxKF8JAk8KtUf7XrMwQG/f/AjKM1l/iWXjEzvKb+UWM2/UREwypUYx qzsW5ajZdf5mm6QyD08xVLGLC0M4F8yqAn2K8JJUKuLfRRIJy2BQ9zQtG8AKXjZYlr62vUIk9 K25MKPhohZ5l5nGljtkExUQ92tRCq56tGjcbfnYlHZoErjqs1wsMkeKSgghiD0tS8OUi+JDHa XYxlHfIBKWfHvS1fYUrsgxNboIR88fhFT6tJDmIc3X7Y4yRlne0A2Xzy6AsngIEWSZ/fHjrTA w+i3W6iP6d86pkpnOVxELW0PgMSdBKgWQ83ktxebfdJOAcMl0OwzxCH3G1BG6YgsjmfMb0Bsd tcV/OznMj9cpZW4M8WEUSTUBC5gFDwmqz3/T/d7BPtLw7ESdVcP7mCDANH1LgODKIxSP9bDkS GpFV2CLCsAaNZa5r3oIWz37OHZEHRmhjg+71IEI2/5gg8jUdDeBDJDn3ZJg1TF8CJLBDHCfqC ovAan16HA2zco9V/J1cVZ1rqkuKbWsZSGQpK77fbFIfkVoXsL0mjV+wOhFY2HlIq2oqCFa1gQ SONj+wXdhx4HwrUaYNQZM9pG7to2HtIdBeQyG+KyXnGc+5ouxbghywCJk3UFaOq5fD4Kiym+d hmspsjzlkkzVESp7A91NXba1+C/fraEzFH1+WAKAbilBIWJ2Rirbz1J4LSVEprQh/ZkFP96J0 TfxEKQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240117_094034_744143_077D2216 X-CRM114-Status: UNSURE ( 5.27 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Markus Elfring Date: Wed, 17 Jan 2024 18:30:08 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Return directly after a failed kasprintf() call in of_syscon_icst_setup() Use common error handling code in icst_clk_setup() drivers/clk/versatile/clk-icst.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) --- 2.43.0