Message ID | 20231122-rkisp-fixes-v2-0-78bfb63cdcf8@ideasonboard.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1419842vqb; Wed, 22 Nov 2023 07:51:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQS/83kiOf9tegWGt7EMj3PrEcDnrzmAte3gOkbCK6LfnxKtVN0bN+Zo1r9cS2sIdbmfBj X-Received: by 2002:a05:6a20:d044:b0:18b:4dc2:a4c7 with SMTP id hv4-20020a056a20d04400b0018b4dc2a4c7mr1940946pzb.14.1700668293218; Wed, 22 Nov 2023 07:51:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700668293; cv=none; d=google.com; s=arc-20160816; b=bU6TSI1ORTj1GtHQQ0om7m6H5UWsDTnsX32yaSYzSELVYO8tegVCWNPaaWjZKnLTSw vurlcgjWu2S/ng+kTiH5bpLMIH3juHMFQuBpEkORApTz4P1xs+bQxfVkAshyDwJTGqnw WuR1r+ZtEQcqHnnWRmzrruXx3MqA9Rv3GPwQVXxUvYVFzoN6nFn0YUH+FTAOSzJ4NlHs sNPpUNW45iDb0Boh48xw1jWueMdeF9o5y7N3yhus/VJr77iS/reIwx+oEKobzZbI3puF rsYrhwLnyxNObqQ8TDlTdCXZT/m2AG2bP0DRcpGomAE807GLO9omwoWerHwgxUKGeMOH S0uA== 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=p+SBEPIm+7KL2q6XGe4PfUx7tfcoN/PD2W6LzjoqQow=; fh=C0dXkAvu/VipV4SxI6kL8WioTQwoH+s7n35QCI5Zld8=; b=KqE4QVJ1n8qIu5lKq6b4FPr+rsxwjsqgNpBNzUJjaYxiNxqyombIpOm7vxJw4FxdSH Kpj9OLdUSHB/1BzFc2LIMdTsTWj8rIhIOcDR7IxTR9mvNPi4qWRVunWn3Vm3otDELW2H QVviOST0UQSiXhTHBXgqKieErXNSRcRL7xWE1PntDPLnvqQpCgFXgKblYiWn3yLHTpH/ yBvZ+yc/hvMY9IpSSk5pWTcRbQjWDo8oaLqBBpMN4qgjAHFbwV6bWYgrXXqN3WYsnmDo ogwLIjReYFEcr7mz+Ay+9emvVTBKMKjymU98Okr9Zdm7jTu0lApAOWDMws/ooIVGztTC GGIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pKEFlqZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f19-20020a63dc53000000b005bd66bfc253si12763822pgj.148.2023.11.22.07.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:51:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pKEFlqZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id BE2798260E92; Wed, 22 Nov 2023 07:51:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344433AbjKVPvA (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Wed, 22 Nov 2023 10:51:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235246AbjKVPue (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Nov 2023 10:50:34 -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 CAA1C10EB; Wed, 22 Nov 2023 07:50:30 -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 6167A276; Wed, 22 Nov 2023 16:49:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700668197; bh=uilUL/CQsGPrrLqlIQUCAs9mt6Z3Ge5A5dVOnCwLOH8=; h=From:Subject:Date:To:Cc:From; b=pKEFlqZ6tZyPJKdJPQ2vpW0utUX81Kc4bcsr5Q7jTyzuRrN5ENrYrZoYWg4RPNx7m qk+N6xUD+YulmxPAPSqMJ0pwXluuvSc/KHK1evbW+B4mAZwMZiRPa+un+SpKCotjZ2 rGI5QAYRrDe3Ephui0Z3EhxkI1qA1BpaZaFsRWfE= From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Subject: [PATCH v2 0/2] media: rkisp1: Fix memory leaks Date: Wed, 22 Nov 2023 17:50:06 +0200 Message-Id: <20231122-rkisp-fixes-v2-0-78bfb63cdcf8@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAC8jXmUC/22MQQ7CIBBFr9LMWkwZQiquvIfpAmGwE2NpGNNoG u4udu3y/Z/3NhAqTALnboNCKwvnuQEeOgiTn++kODYG7NFojajKg2VRid8kKuDgbPApeovQjKX QfjThOjaeWF65fPb4qn/r/86qVa+0syefzKDJuAtH8pLnW/YlHkN+wlhr/QJrEkERrQAAAA== To: Dafna Hirschfeld <dafna@fastmail.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Jacob Chen <jacob2.chen@rock-chips.com>, Yichong Zhong <zyc@rock-chips.com>, Shunqian Zheng <zhengsq@rock-chips.com>, Paul Elder <paul.elder@ideasonboard.com>, Sakari Ailus <sakari.ailus@linux.intel.com> Cc: Kieran Bingham <kieran.bingham@ideasonboard.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Eddie Cai <eddie.cai.linux@gmail.com>, Allon Huang <allon.huang@rock-chips.com>, Jeffy Chen <jeffy.chen@rock-chips.com>, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, Tommaso Merciai <tomm.merciai@gmail.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=778; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=uilUL/CQsGPrrLqlIQUCAs9mt6Z3Ge5A5dVOnCwLOH8=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlXiM+yWSEQjnzVopQU/vU15HIG5yo5Ka7LV1xp NJTFvoLROyJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZV4jPgAKCRD6PaqMvJYe 9f9OD/9KTCA0JW6Wlg2TCo5NrOiPtGYya55O0RsHyI7KES2PUlXXdCtR+J5tQxqD9ordIK1uC+d LcnCwl0P+lpLDXrRyLoSdF762OfRFtHbz1x4EcnORDkmKKATPxHfIcIFFtC9nLcdGnwRkacAVj5 2AnoRI1i5FrfbT/6jRde4dnELZAxNnt5zid6ICLlmF7GKUN+tk6w602rpka8jtnif7dbPQGpRHb wbhzK9bJnHRbyDmOc9HFm9ELcVPxpP5+XFk+xWQ4gDBQ6e7mMA3LXOLLHBWJ3EqyJwHiRPY/wwX VyHnZQLvpE1Ibu1wKEPN2tDhbDRbRbEdpLu2Iu8Xp4fsSOTbRsUdo/s++CIZJ6Iy6Yf35AwUrvo J2T++IS8Gs8qFy7gt6WdkdoXShSrp25VkWHZ+z90jtO6bs8zNuRlbWcsmpSv3n4HhlS6BPxMBuH ntXPwxMInEo/nLR01cq+T8QzOeNsXss3s0oD5AN7wG7aJ2LsYuwtdKpEJnyqBB3TwL1ebn+SrUl +Gcc6q7H+tPc4Sen0FcoyiqGR2GsO2IVc6r0A8p4nO5fYXScGypVzzzT8PjdUeyxG37xlwrfMfu Djlemo0wFtnO0HgTeqfSodEDhmHNKR9uR3F8y51M+ZjsL2vPJK2LVYvzB/fYKhv7h+sZNEXr5k6 ol+NnYTyQ8BB+5g== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:51:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783275654762612067 X-GMAIL-MSGID: 1783279956303027148 |
Series |
media: rkisp1: Fix memory leaks
|
|
Message
Tomi Valkeinen
Nov. 22, 2023, 3:50 p.m. UTC
Fix two memory leaks in rkisp1 driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
Changes in v2:
- Fix error path code for rkisp1_probe()
- Add Rbs
- Link to v1: https://lore.kernel.org/r/20231122-rkisp-fixes-v1-0-1958af371e39@ideasonboard.com
---
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 | 6 +++++-
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
---
base-commit: 1865913dd590ca6d5e3207b15099a1210dd62f29
change-id: 20231122-rkisp-fixes-c2795cafda52
Best regards,