Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4173695ioo; Wed, 25 May 2022 17:20:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfeexfN7/xaOf2LaOgYafzuTNwT6MHOGXWMQvvdy7sMSgxk/ixVbceej2fCzRbC8+MivKO X-Received: by 2002:a17:903:2285:b0:161:c7ed:38f2 with SMTP id b5-20020a170903228500b00161c7ed38f2mr35264721plh.49.1653524428373; Wed, 25 May 2022 17:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524428; cv=none; d=google.com; s=arc-20160816; b=Yud2dNUGR1++eTdgI8q6zdULRlZkDA6qi5GqYCjXC4av2XDV+LATJ3IFpMqC7t+aYF O1llC/3tq1A736GKkZznN7m2pl+ygRrMuSmcBSPdPxpciBTYQbh926lnA7sfrxA5IkQ0 We2gyC6PFGkoBmxZ0VO4YBA26AhRlIrREGaMMrQMiooUYgH5Vsl/Rj19gVGhAzFm+UcX AtxJJ/wjviI5OhCxqlNgN3itQR4bcSYFunTH8z6xKf9CgZbvqLU4qju5I/l4S0Otl/LK rE/r7TfiB81jFI7n7ar8y9li6mq/EoMFLwLJex408yElMQiVi6tFtuzpR1/r+2sqNcmd lvrw== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=WlzY5ZH5tNXOwgX7Lh5IsdJpEy+qi1cGd46k41X+T50=; b=EcZe/NKbagkiGF+raLg+heI3BRWYn3swd3txAPIf21XBlB/W3l1qBSlFUgt6xnlmiP T4Cs2uDyG9aRp+iMV8RuhV4e6Jm9xI4ELVizSt0Hj5/hRFbYHhu6j5P78uP2a9y8v174 Iti4DgP5Vi0v3u5ps9HX4ms9I7iWG6/typJ+LWO51KrI8h5HoKM3Z36qMvNyfgBlnYtU TP6WNseLOkQ7it7M2YQR6NMJodxAqpDV8RoZ4L1J3ZAxGd27qQTodMJI4zQHXyAvrBUo OW/ymiFOK2AHxUlLHza4Outxx62XGaRtE9LTMK5g01DdMFWEs4XEkJ0Rq2oxoQVusqd+ dUaA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a631215000000b003f605851c65si518946pgl.303.2022.05.25.17.20.16; Wed, 25 May 2022 17:20:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbiEXLRG (ORCPT + 99 others); Tue, 24 May 2022 07:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236578AbiEXLQH (ORCPT ); Tue, 24 May 2022 07:16:07 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 065AE3EA9D for ; Tue, 24 May 2022 04:16:06 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4L6s852x09z4yTX; Tue, 24 May 2022 21:16:05 +1000 (AEST) From: Michael Ellerman To: paulus@samba.org, npiggin@gmail.com, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, benh@kernel.crashing.org, haren@linux.ibm.com, mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org, Zheng Bin Cc: gaochao49@huawei.com In-Reply-To: <20220511033507.2745992-1-zhengbin13@huawei.com> References: <20220511033507.2745992-1-zhengbin13@huawei.com> Subject: Re: [PATCH -next] powerpc/pseries/vas: Call misc_deregister if sysfs init fails Message-Id: <165339058660.1718562.17170565423375451543.b4-ty@ellerman.id.au> Date: Tue, 24 May 2022 21:09:46 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, 11 May 2022 11:35:07 +0800, Zheng Bin wrote: > Undo effects of misc_register if sysfs init fails after > misc_register. > > Applied to powerpc/next. [1/1] powerpc/pseries/vas: Call misc_deregister if sysfs init fails https://git.kernel.org/powerpc/c/426e5805226358dbe9af233347c5bf3c81f2125c cheers