Message ID | cover.1702933181.git.u.kleine-koenig@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1531959dyi; Mon, 18 Dec 2023 13:06:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgUU3+CV9XbyuI4j2dn+smuZLwEls4SrbQOKo+K389w/Yqx4Pt3NQt1/Yc1z1PMgyKcCxE X-Received: by 2002:a17:906:5306:b0:a23:6493:6e19 with SMTP id h6-20020a170906530600b00a2364936e19mr751896ejo.112.1702933566773; Mon, 18 Dec 2023 13:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702933566; cv=none; d=google.com; s=arc-20160816; b=0hT5/q1TlfmTZWiwamMpN50sA/Ae6Ua0a7RnqZqCPlWt7WgvQPs3EfH6kdYdK95By9 8d4wb/ysJzziEm7G6YkpWHT/sICOnq3dMp69mL1l3LF3UtG1mnPOI5f7+lOO5nxRINRf 6SmMe/qJSOVw7fY04Lv3g74t9FoXopggTCpRYl1gDSOeXbohqsxVL+netH+WyZqGm7fa Z4NAgTWqqzXBKeZirhtBlp6dGrKYNiRQ+4S6AYmxIk+Ly8GlU3I77yLqPfvsTimGZRxb fGdRtxr7sqAUPyXbw4yXbXUjYwkDFPo/bj4Y9/b+Uc0K28w3+j09sDUbnL2oYhJS2XjW CRSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=ghJOK0EXH6lNWGpSgCNe/p4E1NxzSmxgyRoto/NF/MA=; fh=z+4mHlQ+bi7WTLlpPKhEQGijRz9jx1kHnkUntbLysbk=; b=0PGvQh7FOvHzg+Z1VQ/UlpyYQnxq1FUMCMrOXfv1t2+cFumYzxuELLFEbQTdQdg/7w 2Dqm+al0TPkcnbdngeGLEJknUhRyInmsaXmqN5jASAlXRHDeYMGba8mparNNSUFuBftc +SYh/lLJZB8Ymy2h5BkfcaPVuvVl6CNAjd5UVXqZtDl/K4KrRA7z6mBGfPm7pTlnAa5i PysLjrw04z/BsmZ6C4uMgivsFvAybDmxzeT9sa20P+S7yvTdCUsxMjJe24DxfYBF6SCY srdsN8tma3upByxM0Ig4XI0EzKHnhhVY2ZFupdi9TOwkCcWc3tTtSppjD/5iNS75ekjZ nTmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s16-20020a170906285000b00a1db8805188si10027563ejc.229.2023.12.18.13.06.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 13:06:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4386-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CE5F01F20F17 for <ouuuleilei@gmail.com>; Mon, 18 Dec 2023 21:06:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21F2874E01; Mon, 18 Dec 2023 21:05:36 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0310A2D for <linux-kernel@vger.kernel.org>; Mon, 18 Dec 2023 21:05:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ukl@pengutronix.de>) id 1rFKnr-0002lP-0x; Mon, 18 Dec 2023 22:05:31 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <ukl@pengutronix.de>) id 1rFKnq-00GmWx-AZ; Mon, 18 Dec 2023 22:05:30 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ukl@pengutronix.de>) id 1rFKnq-005Y6C-1Q; Mon, 18 Dec 2023 22:05:30 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de> To: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] parport: Convert to platform remove callback returning void Date: Mon, 18 Dec 2023 22:05:17 +0100 Message-ID: <cover.1702933181.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=841; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=NqpmQLSPHcC2yz+6ePrX/QuLgXrvJdL3SxGAU6DN9XA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlgLQMgC/Iq/GHBw6WgR8xnEPtf4JApJhnSdHXY xcvmGvMAzWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZYC0DAAKCRCPgPtYfRL+ Tvo1CACrvkfCfOPMM65fgJySkgUA0rfOMRoQSKHHlbsWuan5wr1rx+EA++5Sd0Mv7A7zrCJl2/8 SpJd9dUC4EV1ERTJNqBFfb9WfUuYRxoO8tTnjxmlw5m5CNxvcyP/hpHzfF18ut9RM8yrepmF7Hf NHgcV1uuK/iyMj+Ea2sNkOFwbT+Qmz+tMqMcZy6WXrr/Lwsv2MKAnLi2TlrN3DVflZ6D50vgB+/ DcuN13ggn4dhem3d9qLLRX3xAxLrO6XCPEXklUq7/hLZ2otgHbo1f5eUXBXlMYcG/aNCMIkFoqd BcAhmB8E75QQUF6ry3LS66OrOlPgOAfjvtTzsyNixJWZpQdY X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785655267417320066 X-GMAIL-MSGID: 1785655267417320066 |
Series |
parport: Convert to platform remove callback returning void
|
|
Message
Uwe Kleine-König
Dec. 18, 2023, 9:05 p.m. UTC
Hello, this series converts all drivers below drivers/parport to use .remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The TL;DR; is to make it harder for driver authors to leak resources without noticing. This is merge window material. The two patches are independent of each other, so they could be applied individually. Best regards Uwe Uwe Kleine-König (2): parport: amiga: Convert to platform remove callback returning void parport: sunbpp: Convert to platform remove callback returning void drivers/parport/parport_amiga.c | 5 ++--- drivers/parport/parport_sunbpp.c | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) base-commit: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70
Comments
Hello, [Cc += gregkh] On Mon, Dec 18, 2023 at 10:05:17PM +0100, Uwe Kleine-König wrote: > this series converts all drivers below drivers/parport to use > .remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove > callback that returns no value") for an extended explanation and the > eventual goal. The TL;DR; is to make it harder for driver authors to > leak resources without noticing. > > This is merge window material. The two patches are independent of each > other, so they could be applied individually. > > Best regards > Uwe > > Uwe Kleine-König (2): > parport: amiga: Convert to platform remove callback returning void > parport: sunbpp: Convert to platform remove callback returning void I got no feedback for these patches since they were sent two months ago :-\ Looking at the last patches to drivers/parport, they were merged by Greg. Given the patches weren't sent to him, should I resend? Best regards Uwe
On Thu, Feb 15, 2024 at 10:22:09PM +0100, Uwe Kleine-König wrote: > Hello, > > [Cc += gregkh] > > On Mon, Dec 18, 2023 at 10:05:17PM +0100, Uwe Kleine-König wrote: > > this series converts all drivers below drivers/parport to use > > .remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove > > callback that returns no value") for an extended explanation and the > > eventual goal. The TL;DR; is to make it harder for driver authors to > > leak resources without noticing. > > > > This is merge window material. The two patches are independent of each > > other, so they could be applied individually. > > > > Best regards > > Uwe > > > > Uwe Kleine-König (2): > > parport: amiga: Convert to platform remove callback returning void > > parport: sunbpp: Convert to platform remove callback returning void > > I got no feedback for these patches since they were sent two months ago > :-\ > > Looking at the last patches to drivers/parport, they were merged by > Greg. Given the patches weren't sent to him, should I resend? I can just take them directly from here, thanks! greg k-h