Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4726299pxv; Tue, 6 Jul 2021 07:46:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWS67QrChUlJkCvznYB4H0Om/shoxVvOd1uDRxQbmMl6m8HHbD4zwDcTJ7gxcJRRx50rSh X-Received: by 2002:aa7:c607:: with SMTP id h7mr23462302edq.13.1625582790877; Tue, 06 Jul 2021 07:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625582790; cv=none; d=google.com; s=arc-20160816; b=B902kgj8XYElXo128HIzxBdlfJeG1+bqEzVvfZb4p/SdtBcZKqlBfoyvMcliASM4OB 6wB7MU9zCsJN2V27tEPn0tIlghcWQDUpRwPhkfTSJE3B6+YLIMRTR5VRMvCAkUdpm4A6 J1A8uJAnR9gycSInX8CwHYRE7UOLpXai9SKDeBK4mOXrzwQlpJu8/ejiWbaAleKvioJt x1nhY8ynzmRJ3/fGS3QsYcuOjv/sCDbDWh2YCRVNKzqVm90iREHkwW9d0Ibn5ysfU23j vpbx58ir8RuoSgy9E9FQv45Ei9/OYZZ+Wtg3uTVs5sUWLBx7Q4qQd1S9bAhJ0sH24AR0 IFTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=hIGlWplN3h4+H7k0zEf33Wa5rvWTcEsOsBYR4qfAjpI=; b=LvcmDGQqHVwWCaxLsK7Hk3zQ3mpefzN506PMzQkNX7hLWE5YIjjQm2s+Emq/VXViZz PLqHbf4D810hAVp0t1UWeWVNkZJZ0kqdKhxNFnaMfWzkoGjbc6//1nu57Q/tlbk/wHDO zyEURoGg7qwyz65SW8Y25is6xVmzZrtlfbE2fn+W5ZIBj9YJNty3/Mp56YwncDimw4AU zUo3SfzhDfI/MVCdPTK2+QKR9ZjuyMxwTF891bdA2BCk+JE6y9REcjNcMkVB2sFdTFYu i3lcs+IVbFDktVAmiNfZvQRXoz1dk8mwLKrKAXeNtCj1WA9NPJ1b38XdvVSO76sfo65l EUFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pe+of7Fl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si6746480ejj.636.2021.07.06.07.46.06; Tue, 06 Jul 2021 07:46:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pe+of7Fl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232963AbhGFOpv (ORCPT + 99 others); Tue, 6 Jul 2021 10:45:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35993 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232936AbhGFOpk (ORCPT ); Tue, 6 Jul 2021 10:45:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625582580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hIGlWplN3h4+H7k0zEf33Wa5rvWTcEsOsBYR4qfAjpI=; b=Pe+of7FlJbsK2KCgzqKjj5XxtJjjJz3rMPQG4d0cZTtAoCn/ngqZJ5KOvZ1HHvnS19B2Zo rXKeCHWQ/hSbGWNlnnQfjyG15d4GGrx4Nd2HzhM3UpC8kdC48+1/kwMxmCSVpXCk0BbFsm KlgmybBAVK7maZNhnbykrx1Ga5/XQ6I= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-516-ASxvRmmNMk6LRvJQpPr0Tg-1; Tue, 06 Jul 2021 09:52:11 -0400 X-MC-Unique: ASxvRmmNMk6LRvJQpPr0Tg-1 Received: by mail-oi1-f200.google.com with SMTP id r3-20020aca44030000b02902241b7398a8so14444159oia.19 for ; Tue, 06 Jul 2021 06:52:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hIGlWplN3h4+H7k0zEf33Wa5rvWTcEsOsBYR4qfAjpI=; b=om0G14kqgBaJaUt6dftZsg650r0yasUiU4nP6cKnUoL7rhvTyzkPj8w9vErPOMvO9m Dk+Cgsg6fpAwm9rpRhYF/MsyGSNezxmYZ+VzKEiT2WtxvaBvT6wBLzFABzPfQN4kJRoB RtS+/ndA49EuSfFaY2UT1m7qCaJan02CceBL0g1NW07oXR+6+IZZkAHOm8+5ZS4/vtcf RdXWvXYOw9vHL+/XX4F+7tDpbtq5O7ZzX2OZS0HVru+bVs8/gUe6n1fUwnP3FwB4dR5J dr/vVLiW6feJjQCEU3yMrlESNhhMWDX1Rdhc1uS0f+99DceJ0CABpOciO0Q0ldaNWotx hDrQ== X-Gm-Message-State: AOAM532wO+SlKgbXMdkhXgWStI7oTv0QMaHS1+cJIsbDV15NSgoBLNvK dof6FTB87u74buZtxm4C8oBQVSc8CTVeGKSkQTX1k++2kXrVfSl02P/8rM6wNScTts1QRxVAR93 gBMHNkd/lh7u4ERdytOPiQ2JW X-Received: by 2002:a9d:8d3:: with SMTP id 77mr903118otf.6.1625579531236; Tue, 06 Jul 2021 06:52:11 -0700 (PDT) X-Received: by 2002:a9d:8d3:: with SMTP id 77mr903109otf.6.1625579531076; Tue, 06 Jul 2021 06:52:11 -0700 (PDT) Received: from localhost.localdomain (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id w16sm1202113oik.15.2021.07.06.06.52.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 06:52:10 -0700 (PDT) Subject: Re: [PATCH] bus: Make remove callback return void To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Wu Hao , Moritz Fischer , linux-fpga@vger.kernel.org References: <20210706095037.1425211-1-u.kleine-koenig@pengutronix.de> From: Tom Rix Message-ID: <4c7210e4-76e4-07fe-a40c-a58e331d0a6e@redhat.com> Date: Tue, 6 Jul 2021 06:52:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210706095037.1425211-1-u.kleine-koenig@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/6/21 2:50 AM, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void from their remove callback. > Additionally some resource leaks were fixed that were caused by drivers > returning an error code in the expectation that the driver won't go > away. > > With struct bus_type::remove returning void it's prevented that newly > implemented buses return an ignored error code and so don't anticipate > wrong expectations for driver authors. > > Signed-off-by: Uwe Kleine-König > --- > Hello, > > this patch depends on "PCI: endpoint: Make struct pci_epf_driver::remove > return void" that is not yet applied, see > https://lore.kernel.org/r/20210223090757.57604-1-u.kleine-koenig@pengutronix.de. > > I tested it using allmodconfig on amd64 and arm, but I wouldn't be > surprised if I still missed to convert a driver. So it would be great to > get this into next early after the merge window closes. > > I send this mail to all people that get_maintainer.pl emits for this > patch. I wonder how many recipents will refuse this mail because of the > long Cc: list :-) > > Best regards > Uwe > drivers/fpga/dfl.c | 4 +--- Reviewed-by: Tom Rix