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 35DA6C77B73 for ; Wed, 31 May 2023 04:12:42 +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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x3BAXRqkhzTyG64Uxb4sa/tgsCk7RRxQcmaiDzk9xFg=; b=gHRuNQRg9BkeAN eAmGYeoxh3C04WuEvIzrFPVMovt5ZWhW0x3M/gteCHb9rAAEJBHNy1I5qrW9YBcSaJ0npfCEH1r+s 8WY5iDuJnpg3yP/P1GdmmxJHp3hkBEx+gjo0d+bE3yvlEpusdUFEbZUD8Do6fhIcRq4O3Snd5Thoq SPJwmF4jWdUd/5ytBZP6SocwgrB3/gpNCJsL7yZEOTLOK8mfCYHcGj1pzesWUhTGXS/Wy88HiAPRH MhPV62XOe+I4YKBWTex1gBhqUkHtlyRycs4bDWO72F3vCd3btdPD5SgJl2otLayMM9sn4vJNItQRi 2/3vF4nE9Q+xFNaVHwiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4DC4-00G0mM-1J; Wed, 31 May 2023 04:12:16 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4DC1-00G0lI-1s for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2023 04:12:14 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 7405880FC; Wed, 31 May 2023 04:12:07 +0000 (UTC) Date: Wed, 31 May 2023 07:12:06 +0300 From: Tony Lindgren To: Claudiu Beznea Cc: mturquette@baylibre.com, sboyd@kernel.org, luca.ceresoli@bootlin.com, nm@ti.com, kristo@kernel.org, ssantosh@kernel.org, michal.simek@xilinx.com, aford173@gmail.com, mike.looijmans@topic.nl, robert.hancock@calian.com, shawn.guo@linaro.org, fabio.estevam@freescale.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 7/8] clk: ti: clkctrl: check return value of kasprintf() Message-ID: <20230531041206.GF14287@atomide.com> References: <20230530093913.1656095-1-claudiu.beznea@microchip.com> <20230530093913.1656095-8-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230530093913.1656095-8-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_211213_676568_379E72E0 X-CRM114-Status: UNSURE ( 6.82 ) 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 * Claudiu Beznea [230530 09:41]: > kasprintf() returns a pointer to dynamically allocated memory. > Pointer could be NULL in case allocation fails. Check pointer validity. > Identified with coccinelle (kmerr.cocci script). Reviewed-by: Tony Lindgren _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel