From patchwork Mon Oct 14 10:06:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13834597 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 0E9DACFC535 for ; Mon, 14 Oct 2024 10:18:50 +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=0i2TAHuLDhnnmWGvtDn4dSIb+0YnqWCB6X8WLzzAMBU=; b=S63bJSKyacfcCa4p2vahFH7wfQ 5u0EreRAqFJP8d6+ONS1D+1nI+zWqHeq3UQ2VnLuhWdYl70UMdl+qeBrrKlHIWdq+RT0329WVkCze m9awasGJtrOJzcWlW5gOuFDhs3XW4BBiWZ7dkDZA3WJePpFqnNWIZxS8nUaAUCs9fUpRzyeOJyX4Q qNA+N5EV2SLNFlCerIXrRJyG7NQ2UAOo//dhTeqwNZfk1tIH5VlhCkNqKwpWymFrbyVYRoNTlO5cq 8lGFapDb2ZXwcNPkKDYqNx3W7l1ut4AOBYQkBIdZoY+GqXLNCDPd2fnNj48Hj8HSmQpTVbEJGzE22 zXjcUOig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0I9u-00000004fr1-20La; Mon, 14 Oct 2024 10:18:38 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0HyC-00000004dmH-3eh4; Mon, 14 Oct 2024 10:06:38 +0000 Received: from umang.jain (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D1272667; Mon, 14 Oct 2024 12:04:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1728900289; bh=4z4ceNICW5XYgKjbDxsLq86uTYJPt/LJa75nLs8DYV8=; h=From:To:Cc:Subject:Date:From; b=n4LOA10mFfXev8JBrVbbSd8UUNk8GHdjSFjpOvusLxrRExTsSAcb7OYLqRmIR9clp W+Wa+Cd9oMwazVXQwNAIcSKed6/KQCt5ZH1+5slJ/Jta/Fav/HDZRQaH1jMcoeOG+z G1xNhYaeTnzTj8j5qZdC58qsbDoAgDD4SZjYonSQ= 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 , Dan Carpenter , Laurent Pinchart , kernel-list@raspberrypi.com, Stefan Wahren , Umang Jain Subject: [PATCH v3 0/2] staging: staging: vchiq_arm: Two memory leak fixes Date: Mon, 14 Oct 2024 15:36:22 +0530 Message-ID: <20241014100624.104987-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-20241014_030633_667077_36FDB203 X-CRM114-Status: UNSURE ( 4.91 ) 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 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: Utilise devm_kzalloc() for allocation staging: vchiq_arm: Utilize devm_kzalloc() for allocation .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Dan Carpenter