Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4786369pxv; Tue, 6 Jul 2021 09:07:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYg7RyuQLrjXMbIlbR9FS+8iRT15np+eYiK00ZuM92k0Wy3BZxzJCAiT8nShIr5pxPtq5D X-Received: by 2002:a05:6402:31b3:: with SMTP id dj19mr24727026edb.24.1625587622224; Tue, 06 Jul 2021 09:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625587622; cv=none; d=google.com; s=arc-20160816; b=q25mdZKnuy8aS5K3i/SHe1HYDMDA3XGBghCVmuBe1QoJonnRb5T1Q9Y7Zf/ww5b2cF KYJthns7Ml22W+cGxI1wgvD2RQpI9Kj0MeJ+V6j4dknFgvPmOjDTJyhb38WERFsoMlYh Dt+sRF24jn5Xik0KFPSfuzf2ZVb0zm4XabXeZ4HW9tx+dLYqlAyrRw0YmByRAtFx4wgT fiJzfPrNT5x51ZDc08bfuvchpM9Lta+QS7rjzPqGqrIgRpK1meqD8ucYRQFEVEaPpklH qxboNvUvODx5/DcFEUii+2V9xBoeYROjUPGPVUYAY9S61Fg3WXsHPhSfSOruWo7CxYlj fqUA== 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=nfIRC7rfDe6kFL8Lgm0JvIXgRdabfH05pXW2TNlYm0M=; b=dQREfx0BLha4Zcx3s94/CFfc9+Ubk9Bv5AWPbitLIybaIj70Y3BZs0zh0CIKgucy27 5eJox+Qv/shOCTGnoxa3vZbrg6658ccMeggG2yoFBxFucjg0gtzjI/z3RXMlI8ES93Vz DurxtiKylnKYKvvVjTMjyJumvjCNtb0d8y83rdGsCFFK9KB/lVm9u690Nxu209gtD0Cm 1o9riJg+cixisPLAaa6cS3JeepZ5CdpGjEZ+4CbMH15/gCB0oGnOy08NGq/X9uSRB/IX a5hxPF7BkjwAclyLYydx35mkly/SY7NZRHf7+PWdcKQhX0n4iI1+3i/w4VcHrhlN5eXE 5XZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=afsMMvT6; 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 kj20si792094ejc.213.2021.07.06.09.06.34; Tue, 06 Jul 2021 09:07:02 -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=afsMMvT6; 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 S229807AbhGFQIO (ORCPT + 99 others); Tue, 6 Jul 2021 12:08:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32564 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbhGFQIN (ORCPT ); Tue, 6 Jul 2021 12:08:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625587534; 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=nfIRC7rfDe6kFL8Lgm0JvIXgRdabfH05pXW2TNlYm0M=; b=afsMMvT65OAraRmU6iCkGnP8EqFXDH6hlqDBS/j0XT4aR2cIrOYZ+s4Dom3fZnvQsh8qFq bhtpN/HSGuGgW6rCm7DQl2iJkilNYxLTBUrpl4ROXDYKeXU3jmORPlaKLslrvbmpjcmlFu napTrk1huaeVkzzf1n17gYZhQyqlo0Y= 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-594-Tktz9wa-PDOil2dmFkSzyA-1; Tue, 06 Jul 2021 12:05:30 -0400 X-MC-Unique: Tktz9wa-PDOil2dmFkSzyA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0DFF5804141; Tue, 6 Jul 2021 16:05:29 +0000 (UTC) Received: from localhost (ovpn-113-13.ams2.redhat.com [10.36.113.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A956C5D9D5; Tue, 6 Jul 2021 16:05:28 +0000 (UTC) From: Cornelia Huck To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Greg Kroah-Hartman Cc: kernel@pengutronix.de, Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Vineeth Vijayan , Peter Oberparleiter , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] s390/scm: Make struct scm_driver::remove return void In-Reply-To: <20210706154803.1631813-4-u.kleine-koenig@pengutronix.de> Organization: Red Hat GmbH References: <20210706154803.1631813-1-u.kleine-koenig@pengutronix.de> <20210706154803.1631813-4-u.kleine-koenig@pengutronix.de> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Tue, 06 Jul 2021 18:05:27 +0200 Message-ID: <87tul7fmwo.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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 scmdev_remove() > (because there is only little it can do when a device disappears). > > 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 > --- > arch/s390/include/asm/eadm.h | 2 +- > drivers/s390/block/scm_drv.c | 4 +--- > drivers/s390/cio/scm.c | 5 ++++- > 3 files changed, 6 insertions(+), 5 deletions(-) Reviewed-by: Cornelia Huck