Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp509496pxv; Thu, 15 Jul 2021 09:09:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz53QhaO9IFB1J+cBD89RvY9XhgCtwn0hL/4kouCVhzgd1PB1P8DW3rE0FaZpw4WCATgBlG X-Received: by 2002:a5d:8198:: with SMTP id u24mr3678248ion.81.1626365364688; Thu, 15 Jul 2021 09:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626365364; cv=none; d=google.com; s=arc-20160816; b=rM7kCHcPaK84qjvcBJZ5oVLFHsrcbYnHzhQw1KoHdym5yZOCi43xb7Cmt4vtq1LpDN xW1mLP0zrmTzVRV22j/HNCH6JIS313V1dcvWskDWljfaV9RjP54yrCyoa+/eTL51FEms TEqQ4f8UEnY+P0/QNUsXZKC4sdJ7UxaZlR9u6wA5S6+ZaHCBKFoblPq2eMHwnMvEs/DN aDz7J4rLnNvg+KDw4NrGi7/SpHN6DBrj4bT4WlcDCHoCcFh8tN9zeTV/8K84Sh2IAnYG +bHLQs+UFT6Wuk4GXmzMHJgVMHY3NcNn4GsoczItVtFAjt4DsugEsPIf591WR/j2opHl Hdfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=O+M79BeIDhVxQMgy3sWJEueXStEdWGM0NwaNbUc7J0U=; b=YgK22ihTAQ6Mfvdhexs8IC4pI+iGQltMjxIyrn62HoIUV4Uof7sspqI42MtBR0TnZD xa9RK0Vy7myFwORMl2MmML54qYtJYDlz+l+bEflJp+KSQKfwkjb/05GJzTFZR4Oh2zIA 1EjgLrUwYUYzJce5jgqtEEtFF474VPMKsGqvZk2hSD3AMRiV8pHd2iQyDggKw0vE57Qw lmtU0yE+1YTuh7838c0DjzTEcP65jCF9JmITBq++yavch5Z6CsLmhq2TZTRfO+t1dxpM 9TzieLVLSRjrsA/TrzgMb25Ql4+vLGg0Gnon/jGFP8izwN7HquVBaALCuTHwdNnXJGK5 TCVw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d80si9161774iof.46.2021.07.15.09.09.12; Thu, 15 Jul 2021 09:09:24 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237439AbhGOMor (ORCPT + 99 others); Thu, 15 Jul 2021 08:44:47 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:38682 "EHLO mail-wm1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237422AbhGOMoq (ORCPT ); Thu, 15 Jul 2021 08:44:46 -0400 Received: by mail-wm1-f46.google.com with SMTP id b14-20020a1c1b0e0000b02901fc3a62af78so5959417wmb.3; Thu, 15 Jul 2021 05:41:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=O+M79BeIDhVxQMgy3sWJEueXStEdWGM0NwaNbUc7J0U=; b=TvjY9mxKzzY5f+viYkVwvLEyysfn//OyXoqnJK1HOw4Bf6LRhjiOqITAFuiM0WTcUQ Jo/Sx13E6NWbgTFyjSpOfv5SvRC4xQvZGtWaHcxbBRCA39KHeljU95UogRsnQzabCSh0 2mD1Uv1dyYiD9D1sKzbPOiAg94orIUznKPtYF6weKy34ieE36l4fnT2SgT9rWNjaobGG dtzXkWLcUxIZE5UOsYJmDxhmJQrsfxIF7ORZer5aqKAJkRBmKo3baclIpyif+KUspSvn /MNWtyN+0FXtf8Y9R9HyNg5t5ikuAzgn9uv+SFDCFVoTzVFtijtrBmEnMGiI1AvHMw3k gvVQ== X-Gm-Message-State: AOAM533H+rG4CzViu07zoWKOyVlv8rVuTBmdkdX7K0gmndR8tjuFYzdD HMDfo7PbKXqXNCNhmhKxQvs= X-Received: by 2002:a05:600c:8a9:: with SMTP id l41mr10569478wmp.152.1626352912160; Thu, 15 Jul 2021 05:41:52 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id r16sm8148995wmg.11.2021.07.15.05.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 05:41:51 -0700 (PDT) Date: Thu, 15 Jul 2021 12:41:50 +0000 From: Wei Liu To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 4/4] bus: Make remove callback return void Message-ID: <20210715123636.ychn4zea2dltnwxg@liuwe-devbox-debian-v2> References: <20210706154803.1631813-1-u.kleine-koenig@pengutronix.de> <20210706154803.1631813-5-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210706154803.1631813-5-u.kleine-koenig@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (Drop irrelevant CCs to avoid spamming people) On Tue, Jul 06, 2021 at 05:48:03PM +0200, Uwe Kleine-K?nig wrote: > drivers/hv/vmbus_drv.c | 5 +---- Acked-by: Wei Liu > diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c > index 57bbbaa4e8f7..392c1ac4f819 100644 > --- a/drivers/hv/vmbus_drv.c > +++ b/drivers/hv/vmbus_drv.c > @@ -922,7 +922,7 @@ static int vmbus_probe(struct device *child_device) > /* > * vmbus_remove - Remove a vmbus device > */ > -static int vmbus_remove(struct device *child_device) > +static void vmbus_remove(struct device *child_device) > { > struct hv_driver *drv; > struct hv_device *dev = device_to_hv_device(child_device); > @@ -932,11 +932,8 @@ static int vmbus_remove(struct device *child_device) > if (drv->remove) > drv->remove(dev); > } > - > - return 0; > } >