From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 011.lax.mailroute.net (011.lax.mailroute.net [199.89.1.14]) (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 57E2236CDEC for ; Fri, 19 Dec 2025 18:16:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766168188; cv=none; b=mi1KNo1A102LIuLKQFWhfMn8rm1qPfgui2idhM8bcBErNags4LseGLJHEaFdarw69YnGTfhRWmqI6GoEB15eqW/qZKXK0/9NrPYBmbcCy8CbLyjnBnF+5EKVCKBGEJ73CYzsCj3DTM4G9bYZ+Khl87TH1/pnltNPbUcg1VsuDO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766168188; c=relaxed/simple; bh=dY43rN6sGRL1A+mQKUSkpdwUdQZGE0/OzYxKG9vYgOs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eK4t+mvxtU7kGAT9i7nlNNyC2EzUBwTf7R1uHT6RKOgzba3/r9zfyyL0dawODc+kwd0UWA1hUs+9G64pdweUtYpSwJ+Mf1hSZLZzJV8KAGgPpxRo1PO7+tudSIgtwp9OxY/x3TSF4vYaFsXrbKbb0TBzwVsBrSONj7O7KAa541w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=yukFyBax; arc=none smtp.client-ip=199.89.1.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="yukFyBax" Received: from localhost (localhost [127.0.0.1]) by 011.lax.mailroute.net (Postfix) with ESMTP id 4dXwhm5rhhz1XM0pZ; Fri, 19 Dec 2025 18:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1766168181; x=1768760182; bh=dY43rN6sGRL1A+mQKUSkpdwU dQZGE0/OzYxKG9vYgOs=; b=yukFyBaxKlcca7WoTKsi0J7Y2ejfaH+EHdsQwjnQ okYRSwOUnpUAZPAdxxUqTz6A8ETwGuGfWcnyexyMjsWu2oo/JJRv5UIJW3kwoPRw Tm0LUvdAPEGQtZ4niTr9UkkCzmQ668FJ3DNHIbEHmkTuqQY7Pn6Oqqj9Onn9FTuL Qc7C56AXgNTY9K5EE7RX2TIpWSKjyx92mS6HLgryxcKaq86nK5A2PMlwxtHa9Ekn VOjK4LZVrnkCq6GiqKlKWKS9KaEZ9fsElGddaaQcYTKGy69PlT7n+u2yalpr21kF 8a73PCc3wuq/vI78bhpTN1HC1E1+yPj7ko/o8UHxisRZUA== X-Virus-Scanned: by MailRoute Received: from 011.lax.mailroute.net ([127.0.0.1]) by localhost (011.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id ZYtMLHKht-ke; Fri, 19 Dec 2025 18:16:21 +0000 (UTC) Received: from [100.119.48.131] (unknown [104.135.180.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 011.lax.mailroute.net (Postfix) with ESMTPSA id 4dXwhf0nybz1XM6Jc; Fri, 19 Dec 2025 18:16:17 +0000 (UTC) Message-ID: <4594adaa-6ff5-4157-ad40-df2009126f89@acm.org> Date: Fri, 19 Dec 2025 10:16:16 -0800 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/8] scsi: Make use of bus callbacks To: =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , "James E.J. Bottomley" , "Martin K. Petersen" , =?UTF-8?Q?Kai_M=C3=A4kisara?= Cc: Alim Akhtar , Avri Altman , Matthias Brugger , AngeloGioacchino Del Regno , Peter Wang , Bean Huo , Adrian Hunter , Christoph Hellwig , "Bao D. Nguyen" , linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: Content-Language: en-US From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 12/19/25 1:25 AM, Uwe Kleine-K=C3=B6nig wrote: > this is v2 of the series to make the scsi subsystem stop using the > callbacks .probe(), .remove() and .shutdown() of struct device_driver. > Instead use their designated alternatives in struct bus_type. >=20 > The eventual goal is to drop the callbacks from struct device_driver. >=20 > The 2nd patch introduces some legacy handling for drivers still using > the device_driver callbacks. This results in a runtime warning (in > driver_register()). The following patches convert all in-tree drivers > (and thus fix the warnings one after another). > Conceptually this legacy handling could be dropped at the end of the > series, but I think this is a bad idea because this silently breaks > out-of-tree drivers (which also covers drivers that are currently > prepared for mainline submission) and in-tree drivers I might have > missed (though I'm convinced I catched them all). That convinces me tha= t > keeping the legacy handling for at least one development cycle is the > right choice. I'll care for that at the latest when I remove the > callbacks from struct device_driver. For the entire series: Reviewed-by: Bart Van Assche