From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06B63C433ED for ; Mon, 12 Apr 2021 15:18:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88CBA61206 for ; Mon, 12 Apr 2021 15:18:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88CBA61206 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=g8g80iXkXxE3DXak/DkSl5Erukap5nS3PI1QtaSr7r4=; b=SYmf8KXAZQObPFHjttfMoWhWU T21ziYokuVxOzz3hC++aHW3qVskeJPKaq1bG3Owsa98BLUGutooH4wUClzHgePclAY5zKWG5pBJvF dsZOucaRjgvERY439dw7+37D8Qs6lTEj0kRjASS2haUajJB+57GBEGdxcSj6pJz989sLklT8q7AGr oGIFtfw47WYwXxRlcT7VVOEf+O+eVxCBDCan5nNUtJyMhpyYlgV/p/vxzmNnkrIeIm/1NPenraV0V YijMjUyJHxuwur2fRc0lkzkFdtpBE0I/XCHD0HtiKfzTuWO3lLNd2ywmVqb6PQ045f8XuLyrUfPSS w+i4W50FA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVyJI-00732d-LP; Mon, 12 Apr 2021 15:17:08 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVyJB-00731P-Bc for linux-arm-kernel@desiato.infradead.org; Mon, 12 Apr 2021 15:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mTVsjCsRptgt88lY8aB7tx1euruP+cDdk58xBOi31NE=; b=zmUYX3a2wYga7Ol0lr707Vy3+F myO1lhO5aUnIRVVIQ1q7uFp0er+zGrTU3twBRf6QbTgf73gNBrrFP90CuHNXv60jAk0TJdZ0U8gGG 4A1GF19LLNH8xFyg9Eo2CbWICZ+wU5eD1y82xRFohKm37JK+KnCdVaPF5mPsuwiLcv/E4xdfdqnt0 Z0go5CUzkI5iI+GiRAWEuB66PiYYVwu8VBS8iy40MA+Qq/bk7eK5GDnW2H4stAge4wIZxehwMyDd+ 84r+BQ3mGJCeGLE91H3KlnVzcLCFwVUNaTdRTn2PpOvvn0brCpgrPaxK1yudMIKpzmgoVOW1UdPY5 NN1GFAjA==; Received: from elvis.franken.de ([193.175.24.41]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVyJ8-006Kpk-8p for linux-arm-kernel@lists.infradead.org; Mon, 12 Apr 2021 15:16:59 +0000 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lVyIz-0006wH-00; Mon, 12 Apr 2021 17:16:49 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 8C8EEC02C4; Mon, 12 Apr 2021 17:07:04 +0200 (CEST) Date: Mon, 12 Apr 2021 17:07:04 +0200 From: Thomas Bogendoerfer To: Chen Lifu Cc: Zhang Qilong , heying24@huawei.com, yuehaibing@huawei.com, weiyongjun1@huawei.com, johnny.chenyi@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock Message-ID: <20210412150704.GD23632@alpha.franken.de> References: <20210327095225.104997-1-chenlifu@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210327095225.104997-1-chenlifu@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210412_081658_477802_3758E330 X-CRM114-Status: GOOD ( 11.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Mar 27, 2021 at 05:52:25PM +0800, Chen Lifu wrote: > From: Lifu Chen > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Reported-by: Hulk Robot > Signed-off-by: Lifu Chen > --- > arch/mips/alchemy/common/clock.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel