Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1140779rdf; Wed, 22 Nov 2023 06:43:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3FS4Inhrch9P9Lj0Pm1Pt+a+ZpszZCRHc8b5ua0I4lPsL4b4S1q8f13to9aodGS75zzOy X-Received: by 2002:a05:6a00:1f04:b0:690:c75e:25c8 with SMTP id be4-20020a056a001f0400b00690c75e25c8mr2592293pfb.7.1700664193230; Wed, 22 Nov 2023 06:43:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700664193; cv=none; d=google.com; s=arc-20160816; b=iKRLIeyJaXKy7fLCRASXhauw3SZKf5IyLkjX15FHalGcRW/RRdoPfK99lfh3F18BOM q0wXhk4p+Ozwc44yTKal17MLkdG8R7DkUB0XpUp2XpSQXCdlcMHk4Xp7V2ftd9Zklg5P YJ8qh/NEJl7cVoegDQamJNXT3fZY5ng5y9qx99P0i/a/T0nx+Zq/+qDblReKo+8hwfjC UalqDt9v1Cgl4lVavcJscisqYsea3xLZEh1CIqGVkmh5Y/jVLIT2p4EElXP0GGgvcyev /r6+1njbiyJeCvZFnL986ZeNZEH9rACRcLMmIGHfuu/YNLX1AZpimNBg1R5zE5vvpd3u s6HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=eqvyKpGztwtroBhA+OLYrMTn+mQJtTrG+paozA9+3dQ=; fh=e2+FywPT74OKeNAVnhPDEB5sc4CoF2aRKIHvw6X2EL4=; b=wnJSCnNbpdor2ybW3eiWQcAIOZeH+WhYCf+1MY/IuGWoUZAMYPjAVkXBU6j7iaUKiv ShkKftXX5b5Er+QysLuVD0e/sdhyKbRaZNhH2GAKIilS0KPHKw5vX2llP3P7ekOlp2c4 fDM8aDyf63PYTxDxOcj5Tfc7eGoiBslg7AWtxpf5/2h2rkWLnpUT+fEdmMddrSh3lO3R VwqFlvwzTK2GfOtFGnhwca0ps+goPwG/giITnoIGiigksOtbDXam4ciCbthG+8pA2KX5 IK7dhMMSocUHPwQUHNL8+En5/JoNHaIzBQiFEGTNBWcZLM55ABTz9vykIZdz36NkZHdW LuGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=gvxTVU+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y12-20020aa7942c000000b006c507a60e2dsi12421687pfo.177.2023.11.22.06.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 06:43:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=gvxTVU+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0257E81DA3B0; Wed, 22 Nov 2023 06:43:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344176AbjKVOnB (ORCPT + 99 others); Wed, 22 Nov 2023 09:43:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231701AbjKVOmz (ORCPT ); Wed, 22 Nov 2023 09:42:55 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDAEB1AC; Wed, 22 Nov 2023 06:42:50 -0800 (PST) Received: from [127.0.1.1] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0579929A; Wed, 22 Nov 2023 15:42:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700664137; bh=Q1F0LY9V1uh3EhSCWJsd/th8ziEnKGSJDEVMKi83lT0=; h=From:Subject:Date:To:Cc:From; b=gvxTVU+JDNsoybOx5RQzECQarcc7Hp5qvNLOPHn7tudo37KR43SqZT+WqnvbHgXc9 QWYcKkYO1nh+MfFJIJzs1DBQj8EcH9+oS8aY7pXLNXEPgjq3QpvxXlZuGt7gN2sO4b 19WKPYB0Dz4jNbAQm9CzcTcO2ISKr8zt8pnL9yGY= From: Tomi Valkeinen Subject: [PATCH 0/2] media: rkisp1: Fix memory leaks Date: Wed, 22 Nov 2023 16:42:21 +0200 Message-Id: <20231122-rkisp-fixes-v1-0-1958af371e39@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAE0TXmUC/x3LQQqAIBBA0avIrBNyQqKuEi1ExxoCEwciEO+et Hx8fgWhwiSwqgqFHha+U4cZFPjTpYM0h27AESdjEHW5WLKO/JJoj/NivYvBWYR+5EJ/6MO2t/Y Bn3o7/10AAAA= To: Dafna Hirschfeld , Laurent Pinchart , Mauro Carvalho Chehab , Heiko Stuebner , Jacob Chen , Yichong Zhong , Shunqian Zheng , Paul Elder , Sakari Ailus Cc: Kieran Bingham , Hans Verkuil , Eddie Cai , Allon Huang , Jeffy Chen , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tomi Valkeinen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=587; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=Q1F0LY9V1uh3EhSCWJsd/th8ziEnKGSJDEVMKi83lT0=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlXhNi6mGmzFhiwH8XScOyZRSpdoZWu7l19VDPm +NTh/PUYw6JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZV4TYgAKCRD6PaqMvJYe 9TJlEACtzRXltazs9OpEwit3KlmQqsXxumZIs9MDHWKt1ZVCffsxlBDMisG0iIfdcN5UATuJZls 1QdO2nYLHp8hCbXwzQGYeEo2TZGmbPc7xNM+RfINEHCgBdRF2tOB1sA2DyvqdNqaywW7RmNrxoA sCw/IsPGQQ5OfiJoPVV/E6Ch6EfokJayyoWtDt9/9iv1fr+4rEmoc/cwiwPjcZWnc6y043sI092 29EvdmvEDq6UXKTtj72N8cCTmMFN24DIj0AO8bcUGzsUjfkGRgKvvs7YV2d/15GlJiaIqMLBNLX P46dOH1xLXFm6anWeUE1cNGoNzs7hrXyOfAWoGL5rfPkgWKSetxCPt2TrsRY76rW7vB3ISlsJdr PxLrP4NjFVPEJkKBDHoVPsgv06Fn3Gro7CCfzRk4t3oCoIbkJhkCHzeZHiteWbx5h6wCA0B5blF td0bIFXGhnSVtztPYLQrQdWF94jCKJzIV3N/XoRnQpzYsLWBwL7qaVOkG3AbbpKDfzK63FjRyYr PhYCnrhhVb8Xa1wYPpm0AEiXjKozx6gR+n0xJOTiSJEIHPOrBOGFIFcTF34hAwDt/CSzyNOPuHP y3yIE5JCEJMrKITlqJLbROl+nv8VqY2y8EBxWDAB5nHoULrED1TzmUg13abKHqv1Cqce5wHhdNd 7oq1wifnplUL3uw== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 06:43:11 -0800 (PST) Fix two memory leaks in rkisp1 driver. Signed-off-by: Tomi Valkeinen --- Tomi Valkeinen (2): media: rkisp1: Fix media device memory leak media: rkisp1: Fix memory leaks in rkisp1_isp_unregister() drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 3 +++ drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c | 1 + 2 files changed, 4 insertions(+) --- base-commit: 1865913dd590ca6d5e3207b15099a1210dd62f29 change-id: 20231122-rkisp-fixes-c2795cafda52 Best regards, -- Tomi Valkeinen