From patchwork Wed Oct 16 13:02:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13838458 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 1A08DD1AD56 for ; Wed, 16 Oct 2024 13:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=V0kdCwVazZM/7m1h5zlqfL7tPPfU32CSBzKoqN+pVPU=; b=sSJC2Me1tn0UeJ4qmtH29jWcfW SgvHmP3PPpmGAc/vhtB7CIi9QdtY7pXdsmTUkiREV+sxwJifsXiIQzMV/ssQNORP9FBaH2S2XJGiV 7mQUvkKH4ilP3JJyWZ6CZHQXJaswBtwVQRtvZbwcdOvxBNUulQZx9hqlyAIc000fTGCDcjwKte49P Epj6g+DEyluI8nnmPtCLKIzcfCF6qqJTtDa68TTHki4Xm8tjwLa4+Re9/Xfpoi+Bp8Zt4AxoQinqi H4rHM5ndFJlGD2RC/nXU8ucOagvNJ641wYGj6lmznovaPqVvbEw9ZwpFXpu0DsOzQrAH0BtSykhra e6VlpG1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t13if-0000000BrnY-3OWI; Wed, 16 Oct 2024 13:05:41 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t13fk-0000000BrMW-3xJl; Wed, 16 Oct 2024 13:02:43 +0000 Received: from umang.jain (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7CC9AA2F; Wed, 16 Oct 2024 15:00:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1729083651; bh=9U+Pdo3QeHZ4CzgnlEsxiTkvWi3GjRDjQG+pAMqgyLs=; h=From:To:Cc:Subject:Date:From; b=BAoXMe6+a4TsrrC4Mom95CmVfZGgLc/M1KOu4VCCodjP0PhgAb20Gcni6+GDh6G/U +/tKZ5MfvvUSpRdmNG6Ovc1WXdO2vUc79NyiN4chmKdBOulSEOSe7iVHih418Jer78 wNfvCUZdEmkRqTt1lb+9JA4Uo3pktOgAINR7QHl8= From: Umang Jain To: Greg Kroah-Hartman , Broadcom internal kernel review list Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Kieran Bingham , Laurent Pinchart , Stefan Wahren , kernel-list@raspberrypi.com, Umang Jain Subject: [PATCH v4 0/2] staging: vchiq_arm: Two memory leak fixes Date: Wed, 16 Oct 2024 18:32:23 +0530 Message-ID: <20241016130225.61024-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_060241_141364_9678358E X-CRM114-Status: UNSURE ( 5.26 ) 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 Two memory leaks were identified and this series addresses those leaks. Changes in v4: - Make commit message's subject un-identical - Fix a spell error in commit message Changes in v3: - Add Fixes tag to 1/2 as well. (Suggestion by Dan Carpenter) changes in v2: - Split patches into two v1: - https://lore.kernel.org/linux-staging/b176520b-5578-40b0-9d68-b1051810c5bb@gmx.net/T/#t Umang Jain (2): staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation staging: vchiq_arm: Use devm_kzalloc() for drv_mgmt allocation .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)