Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2926119ioo; Tue, 24 May 2022 09:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO3rIvU2YwrIX32gMq5BosgUsIj2tHChnFeHJS9UKmLbYJ42XQbft9Q10FYuqNZGQeOG7h X-Received: by 2002:a05:6402:2948:b0:42a:ae0c:2f26 with SMTP id ed8-20020a056402294800b0042aae0c2f26mr21664630edb.425.1653408015349; Tue, 24 May 2022 09:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653408015; cv=none; d=google.com; s=arc-20160816; b=f2GVPilkRero3qMgVZOLYLNxYdZvIXJ1OKMdnuWVmJm7qLeunlNuTEhg8pior3pTaS dMh3OJXP06Py/oCryWI/0gm2yWsd/sXSii7RrS7g45WKuhYxUxmSTPYEm3PyQqo+Dvh8 qMGKZir3rXI4Uf+ZD9ie2eEuhD6TrG6DwX0DyZJ/5fWN2ZC2Gf5e4Jlwac+vXD0DGGp5 ai/eAwC40w3T/+cnkPcvlewxlR2nmQ+Y9IwDSuibR8IxrCanqfRVlb/5uUlY0B9WAyQ/ xWr5FfgObEQh+LV9GiYxPJn5oJn7qVHVpPCTbe5uD+CqoDJjElJKsEKF3HIuHCNfKtVD Rfhw== 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=VzgUlTYNv0dRIqcRRl+ii4SVZCeIJz+VYr+qTqOEn6g=; b=OA9LB0mwqOW3TtAY99r9QT0S+N3CMu2VbGF5r2aQOw0lqlWOQxzLzR/NgjTsLr3gUo lq1CZ94T/N8dmbGbL5ZOsh3Bn2Tqz6RfM/O4ZHLFy9cJqMQGwY67mqaMLEaKJK6M7G5G jJcPdhLuRNXpUF4Oim4WbEf+Bjv4i9l1/0j1d+N4Gkn85tbJU4dZPIQPO2B5gLOhgNNO T47ZODtXjgLEH0uqG7uq6/WfVK7/S5bv+/3zEmou5unmYNg1mIkQFXnQwklk9BHNUPa5 WXp1/zX986ghXEtOmtqpZ2sDNrGNpH1OrAc8w3DVrK1JcbtIYm9aVPNFBufCPcOgpt35 N6pg== 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 co8-20020a0564020c0800b00425b9256be6si16483026edb.117.2022.05.24.08.59.49; Tue, 24 May 2022 09:00:14 -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 S236344AbiEXLPe (ORCPT + 99 others); Tue, 24 May 2022 07:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbiEXLPc (ORCPT ); Tue, 24 May 2022 07:15:32 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C43B6B03A for ; Tue, 24 May 2022 04:15:30 -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 4L6s7L641vz4xZ5; Tue, 24 May 2022 21:15:26 +1000 (AEST) From: Michael Ellerman To: tyreld@linux.ibm.com, Haowen Bai Cc: paulus@samba.org, linux-kernel@vger.kernel.org, oohall@gmail.com, benh@kernel.crashing.org, ruscur@russell.cc, mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org In-Reply-To: <1652232476-9696-1-git-send-email-baihaowen@meizu.com> References: <08d9470c-20db-52b8-7015-84f0ed29ad0c@linux.ibm.com> <1652232476-9696-1-git-send-email-baihaowen@meizu.com> Subject: Re: [PATCH V2] powerpc/eeh: Drop redundant spinlock initialization Message-Id: <165339058873.1718562.5563457249542011872.b4-ty@ellerman.id.au> Date: Tue, 24 May 2022 21:09:48 +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 09:27:56 +0800, Haowen Bai wrote: > slot_errbuf_lock has declared and initialized by DEFINE_SPINLOCK, > so we don't need to spin_lock_init again, drop it. > > Applied to powerpc/next. [1/1] powerpc/eeh: Drop redundant spinlock initialization https://git.kernel.org/powerpc/c/3def164a5cedad9117859dd4610cae2cc59cb6d2 cheers