Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp846514lqc; Fri, 8 Mar 2024 13:31:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVyPsXASFzoUO/jS4dSc+CYm5rUb5oUoQuiCEyWPc5k/U9385p5Kkq91Km0hh0Yt1+98j2s/afn23/qs6Lqw8R9wmr+AoNMadR35ic+ww== X-Google-Smtp-Source: AGHT+IHvpDsHKgm80oeGSy1IhJQW+tvczymRNrpjJx9rUg8RwUBkDStZFIYwXNCCW2IrlW0RCY/m X-Received: by 2002:a05:622a:174c:b0:42f:201c:b386 with SMTP id l12-20020a05622a174c00b0042f201cb386mr588092qtk.40.1709933503048; Fri, 08 Mar 2024 13:31:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709933503; cv=pass; d=google.com; s=arc-20160816; b=CoXTLVKM7TLaaFkc1NA5b07YXeDDF9R6yO8CQzir4NekzVztRBs4ZxtkS9Qtq0VPij gYsC2E3gzfEtxmNgSGLhoKlw807qNgPggfYcopktf6fqxQ1WRG42uQnJwhUO/a9xYhs0 URLk9ACaVhcX9WvsAcV0/3DpJ6X2LU2eRKtvV4Ut+1dy23Id3stkjmR2u4L1/s57vWQ/ 7JiE+yplKw73KG+KZZOjwEQGof9z5y6ayjUIUIdB2mphnYIRI3RKSlMIyOomUR9Wgh6w IUd2yb9AoV7qjWXZ83anGdlxM/NkHUFryCNy+2zBnCQvB2cdEqA9UFMG8vxTcVQby2SD CM4Q== ARC-Message-Signature: i=2; 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=zty4Ynmj9xWNg/vKDTDVXk6u5LJL6ovTvIJuF5Q+KJ0=; fh=3rR15UhSjq+5EVpx51purzU9a4h54o+5rkgKUpv/afU=; b=I8eUNCUiQAgvRikpC4Y9/KWiH8+PggmjkCyu3s73aXQXeYhmYafPZo1wzugdZhfR3a B9dYedPVmerYNak/L9ggqFdWR1B3AVVyWthIrKoO0F4hOJ8KEhXOMm6eGoVdtN8NIzrD M4cVJVcKLZ8CROY6GuhCaS9Ia6dnaI6YSy7Gjt9t2GM+dekD48XVTAnUFRrQCgrtY46m 13/rjaicMKkR5tTFQ6qLEdem/NKbIyN43ElYnrgla4E+mUIob0Yxik8lmfwBwzIzffrA Q091oMnk5gOBry9OAnT74JDCCqKg3G9pmscyuQL3oAvNneuoDz8s/YLWrXEnxpNiRQgV ikxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-97604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97604-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n8-20020ac85a08000000b0042ec9b05d21si373777qta.734.2024.03.08.13.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 13:31:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-97604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97604-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AA41F1C2112F for ; Fri, 8 Mar 2024 21:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB863604B2; Fri, 8 Mar 2024 21:31:14 +0000 (UTC) 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 DBADD5E096 for ; Fri, 8 Mar 2024 21:31:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709933474; cv=none; b=STe2kBeq75ebXwkwXLclhEEL6cL0kHMU2xOvQMLZLmk5YW0aPhmnbc6RvXGxacXS/3xnZ440heffr0v4jPFzfOmSIqiqMg5fEFT2L+s2a0OIxGqmK5VUJ211OXazwGAabIi4xAcfj73FN5RyqBqngMVg4LFKBhNg/1ifeYSaHrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709933474; c=relaxed/simple; bh=QAJ8fJK21sztPMaHNltW5WJdbf4tRVa/Fcbxf1vHrac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RwTu8B6SFLg3Rpkssc1clpbmLPZwfj+E5KEwL6ZIzFps817wZbDVFJ1+B+cNLFSBnobQuLlp1vn7uA3hpedc+oB8auyuJhWAEtNAtF7rbXV1WunKrG14Ao3q+zNRGx070BuRyFHauGYm53K7q256VUQQmfaNv+317N6HxNJgnDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 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 ) id 1riho6-0004ej-2Y; Fri, 08 Mar 2024 22:31:10 +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 ) id 1riho5-005D0I-Dh; Fri, 08 Mar 2024 22:31:09 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1riho5-002WXE-17; Fri, 08 Mar 2024 22:31:09 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/2] uio: Convert to platform remove callback returning void Date: Fri, 8 Mar 2024 22:31:00 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1032; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=QAJ8fJK21sztPMaHNltW5WJdbf4tRVa/Fcbxf1vHrac=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBl64OWlGAXnhXJnnmZV7Vc0ZxPpoq6IG+ycBGDL dyM8MLFSoeJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZeuDlgAKCRCPgPtYfRL+ TjYACACiEbHqG0Js6SGv38TbpOU8bS5nNTn5NQV7yiRIHcB5Aj8RU5FjYjMyWSYpPZZ5E+tQteF dV8IQjuHaArHgfVAhTGwk04dtP/FJXgZqohTLMB1U9tMz3NMqWZgKfTyaTzkyrD4VUNb0VKakqD nleCHwTvTFWgLLVfsECMEgDnRQ/u3xjOhTd0uQBGLe71HaQcsZq2iox6hloUPb1meA4EsITP8Od /9tkY8i7gquHN09t6ZIDLkvW52/nHmlOtII4BCh/jzfrbkLcnpL+GWSfvmOQsWZhBkbaphEztHP Wrjx0gIoKiT3VQW/+34OqUPqYCVunb5Df1PbdhPG2kCEm3RZ 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 Hello, this series converts the two platform drivers below drivers/uio that make use of .remove() to use .remove_new() instead. 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. The drivers here get it right though and so can be converted trivially. This is merge window material. The two patches are independent of each other so they can be applied individually if necessary. But I assume and suggest that Greg will pick them up together. Best regards Uwe Uwe Kleine-König (2): uio: fsl_elbc_gpcm: Convert to platform remove callback returning void uio: pruss: Convert to platform remove callback returning void drivers/uio/uio_fsl_elbc_gpcm.c | 6 ++---- drivers/uio/uio_pruss.c | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) base-commit: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd -- 2.43.0