Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4780027pxv; Tue, 6 Jul 2021 08:59:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe7hkXrACz3Iy8C1+5mJOuUpZiIYHXsowDzq4840UKq6Cf5RX4piDm+mFnxG/T7DxB5Tca X-Received: by 2002:a17:906:5a73:: with SMTP id my51mr17852921ejc.319.1625587196025; Tue, 06 Jul 2021 08:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625587196; cv=none; d=google.com; s=arc-20160816; b=hFQSs8akk8dZnigi3sEkioZJamABs4L4YmVXcxnrf0wwCK/PpPYMIdIYGOmZg30v57 5U9NgKNVEj56viQzcNniF6thtVks78C9hM8nCEy3TPwNJVrBgmzDdk9ji/waCwtR/Caq 7NIgL+Ai4pM06Oynfx0xmPSCNKpuRuENvA6CgI/ilP7ztjdQdYae35unmaT4OfjbdvhG OlgHpLIa2/Gt9tC1vTHLKoKTv9riWpXSLzo9Jz+DzVySXJPZMzH7D8Nnv8I27NLBkmZS 0XgL8hzg3BSGpjUEkIn0+1bDTbXzm1x2p2R0yMBFPGGW2JTjt3oM0xcmDE3ZES2bHLWa vr6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:user-agent:references:organization:in-reply-to :subject:cc:to:from:dkim-signature; bh=CtgBxXlhJt8Wtll8aba26kDe6OF3hHBqz0hVb5nuD0E=; b=Q7biwekxTjPHIneeGSAGtaRn4e6+DIwKBgoN7LuGhqxjpu4mhIpXT0GbftDfmc7xCb nWtgUv3CIQiFRFrjdY7rTUK2loTJ5vXyGYHiER5BCj27stKsM4r97gxPC+/B9yFJjsSc V+lJrpWrhliPlVPjxiuL1xWjQ7vok3dJCkeUQDnu/vdJI7BqcriTrffuZOULH0YFnDbc f+3lf25mgNR91t1Wj4puHQL9gz/7E7fq+7yiiYEmCrwTg3V0NB8txNoaoU10QGRFplO6 82C+SMY/87LUFdS6nYKDH8XIeU8aacGBF2FrIDo2lHyjgnkzwX8pEY8cDHbn0JdJB7T7 MdhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PnML8WqN; 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 e18si3544593edz.11.2021.07.06.08.59.32; Tue, 06 Jul 2021 08:59:56 -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=PnML8WqN; 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 S230178AbhGFQBQ (ORCPT + 99 others); Tue, 6 Jul 2021 12:01:16 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:43835 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbhGFQBM (ORCPT ); Tue, 6 Jul 2021 12:01:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625587113; 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=CtgBxXlhJt8Wtll8aba26kDe6OF3hHBqz0hVb5nuD0E=; b=PnML8WqNifp7Om7/+Ec2pSuYDNB+uaoz1KBIn7uY3FdZA0tzCw+t576SGc1TKVVwp0mY4j 60WLYJB20QCCDPN3KzYRpWCLRcrDrgDEzN+M/IS5Z0KONG+u6WTMFrsIYzpstSo9hfMJtH XuweCNEdpEKO2Rau91pFehh+ziSvNXQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-161-3tmVkwYNON-NoZjdKr8Puw-1; Tue, 06 Jul 2021 11:58:30 -0400 X-MC-Unique: 3tmVkwYNON-NoZjdKr8Puw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1302E362F8; Tue, 6 Jul 2021 15:58:28 +0000 (UTC) Received: from localhost (ovpn-113-13.ams2.redhat.com [10.36.113.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9A55719D9D; Tue, 6 Jul 2021 15:58:27 +0000 (UTC) From: Cornelia Huck To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Greg Kroah-Hartman Cc: kernel@pengutronix.de, Vineeth Vijayan , Peter Oberparleiter , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Eric Farman , Matthew Rosato , Halil Pasic , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v2 1/4] s390/cio: Make struct css_driver::remove return void In-Reply-To: <20210706154803.1631813-2-u.kleine-koenig@pengutronix.de> Organization: Red Hat GmbH References: <20210706154803.1631813-1-u.kleine-koenig@pengutronix.de> <20210706154803.1631813-2-u.kleine-koenig@pengutronix.de> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Tue, 06 Jul 2021 17:58:25 +0200 Message-ID: <87zguzfn8e.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 06 2021, Uwe Kleine-K=C3=B6nig = wrote: > The driver core ignores the return value of css_remove() > (because there is only little it can do when a device disappears) and > there are no pci_epf_drivers with a remove callback. s/pci_epf/css/ > > So make it impossible for future drivers to return an unused error code > by changing the remove prototype to return void. > > The real motivation for this change is the quest to make struct > bus_type::remove return void, too. > > Signed-off-by: Uwe Kleine-K=C3=B6nig > --- > drivers/s390/cio/chsc_sch.c | 3 +-- > drivers/s390/cio/css.c | 7 ++++--- > drivers/s390/cio/css.h | 2 +- > drivers/s390/cio/device.c | 5 ++--- > drivers/s390/cio/eadm_sch.c | 4 +--- > drivers/s390/cio/vfio_ccw_drv.c | 3 +-- > 6 files changed, 10 insertions(+), 14 deletions(-) Reviewed-by: Cornelia Huck