Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp409920ioo; Thu, 26 May 2022 06:31:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhpurz+VHausjtdW6oX/1+UQb0kHQCUyeSonmWy1LK7w+zuHb/bSyA4ivssac3dCdCtCoo X-Received: by 2002:a05:6402:4411:b0:42b:a773:4800 with SMTP id y17-20020a056402441100b0042ba7734800mr11870135eda.37.1653571861313; Thu, 26 May 2022 06:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653571861; cv=none; d=google.com; s=arc-20160816; b=ef4tGKh8UFRzJkY66cr8ysmdZnkU7uGfAFyhZHNw1qjiEgIu35NqK9SgNaJ0G9ss3j sgsxXYYA+rn4HJHftR86LwupH5QXAJcWRlqSrD/FtjHtL9JrSPyhkcKvjp4rz/3Dx7oB A8uAyTXLRHi2+0fE2YOqcHKFm+vcEqUIlJjnpwGMoPhhs5MIXYnSQviA+jbYO9RFq+ZV HPIkY1D9UKKU1wsfJ5AADGvEa1CBS78vAFXKEeEI7AFxIzA/NNq6p7+5lVkF/nuPNSkW jq5l3uTnd6BX0nHWOcKVO88ru59jm7wOFCQEbRb9ds73ibkGr/loEHKD9+iX/bo8OIeb LSkQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vXt8qkDQP1DJLJkrPjKKKNlLSx9RNHSsvQbVs7pLFqQ=; b=qa7qj+oeFUzkSONlHIWIQuaQHsmr/sNSk9DLtUz0p/P4zSPG3xaRjS6gzuwH4i1VSx JWWu3EpImH3trN38VRLLcMyWOiO5VMKW0UFifaS0EMmEk020Bykz1HwDXzGPeAgLsmTf YEZu/fjggqyBqblsZYwp0sfKYuvANFCb4Efj+uEES0N2rvjgUJvZlHx3KS2McWdspC5C EWhwiWnDjIEmxhi3YuoDZ2ouMS2Xt/cSXrCCON/m1r3KCqhXU0cVohHxqhR09U1m9+Lw uqtDs+IdXMFYMVpNuDJE9j8GXrLbxRkjBzyCZJGQ+1cQK3n7gDEWMAlPFwAABk8YDmki sxbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v9-20020a056402174900b0042b605744d5si1672750edx.61.2022.05.26.06.30.31; Thu, 26 May 2022 06:31:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1346930AbiEZKGA (ORCPT + 99 others); Thu, 26 May 2022 06:06:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235655AbiEZKF7 (ORCPT ); Thu, 26 May 2022 06:05:59 -0400 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D8EC9ED3; Thu, 26 May 2022 03:05:57 -0700 (PDT) Received: by mail-wr1-f53.google.com with SMTP id e2so1540087wrc.1; Thu, 26 May 2022 03:05:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vXt8qkDQP1DJLJkrPjKKKNlLSx9RNHSsvQbVs7pLFqQ=; b=Rt1CX4WSy1Rc3RJ8MpSGHXD16pSfrS9I8JhIyxXh6dX1R0xXZH1DJ3cnpk3Z3MiD7a I0UsoeeqRHpsOx6hvEgyAeNeydsUdt8JWM5hjrcNcwhtsXGQ+KsgSoYuKVbc0LiTSVN8 U8ycPhEFCWf/u7KiwqADeKBgeJtQr8erM9qWEEpylqPUGMiLZtvySpzZEJ4FneLV534x aOF1gBxh/08uURtenMX1+11KvChJGwikRM2uoYDks6p1jRmjGZMIDg4VC+Kb0g9bRKsj yEjmmakVkw8BF5vgY4308zKj7LBYm8C2ajA3mp0LjR7fFEpwKXbsA6mZ4vxU2efNZ/4y egqw== X-Gm-Message-State: AOAM5314CNG+wOruWl1YaffrbMH7RcY3xyIGaWMazFi7SrOQubZO28sM qC3w+FlYTYGQqg8+1bf8AXz2BB6X68c= X-Received: by 2002:a05:6000:162b:b0:20f:fb06:ba97 with SMTP id v11-20020a056000162b00b0020ffb06ba97mr8048732wrb.158.1653559555814; Thu, 26 May 2022 03:05:55 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id l19-20020a05600c4f1300b0039746638d6esm1489440wmq.33.2022.05.26.03.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 03:05:55 -0700 (PDT) Date: Thu, 26 May 2022 10:05:53 +0000 From: Wei Liu To: "Michael Kelley (LINUX)" Cc: Shradha Gupta , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui Subject: Re: [PATCH v2] hv_balloon: Fix balloon_probe() and balloon_remove() error handling Message-ID: <20220526100553.mmdulkk4qalwrxcw@liuwe-devbox-debian-v2> References: <20220516045058.GA7933@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2022 at 12:29:18AM +0000, Michael Kelley (LINUX) wrote: > From: Shradha Gupta > > > > Add missing cleanup in balloon_probe() if the call to > > balloon_connect_vsp() fails. Also correctly handle cleanup in > > balloon_remove() when dm_state is DM_INIT_ERROR because > > balloon_resume() failed. > > > > Signed-off-by: Shradha Gupta > > [...] > > -- > > 2.17.1 > > Reviewed-by: Michael Kelley > Applied to hyperv-next. Thanks.