Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3599212pxf; Mon, 29 Mar 2021 06:40:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztpxtxH8JTOUKIQBgIkHWciWnu239QwF46lKMSqSxZZ3j70XjULfnZDHn88KMoqwqUIYnv X-Received: by 2002:a17:906:4407:: with SMTP id x7mr28358304ejo.546.1617025258332; Mon, 29 Mar 2021 06:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617025258; cv=none; d=google.com; s=arc-20160816; b=fxDx3S34hLboH2InCVBN0qRvH7GsLv2KkQKQhNcUZEW6Mc19mcLh/Xk0DWDjhGgUjt DDxNJ4B3fjkpn+kQTgOPfWfRmbb9WthLRsNEQRJKsGRGnMZ3ZhyV6e1US/lhTwEM2YVN gU+Qb7eykgSC4wFuhXOHEe/jlhnMhPD4JpLRqkzaEVpOY5kT2l6l1XTWqRH56MmppPfw TaThBk3kz4nWL0buoxuU0mJSisGmnVxTyaxiWAJsC9g2wij4V33KpUQZVlJAR45hsxLf UwlQfRVd4MJXmSCvcbSgMbv947lO0eg6OdF2Ya8jkH7EZoh6DMzorT1X2n/YIT+REPsx jpgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=PTI+L6ax+/N+yMG1MXdvXBKRXCBtboFyHdTE1wtJx+k=; b=CdNUaIsJxRGAHPq5Rsm60wd+UkqBvTyCEKY6DaQ7fl+vaCsamcPCPCuVfRjSfLMgaI jvVxJ3L03OQbRkkIvXSRZsOh1XWKQEr6ML1EOMk6t4fCp40N4rEt2xLyN+lT0SF5Ed0r 1S1o9O2+r4W9x7Jb2XCyi/nivI+iTHprH168tIB4J2s+oaIdIEP/dakeqjyqJFtxDLOi l7GE8ph9gTrdMWuLKci66WFbQ9WWrDlE8cjW41eqq4irhRWFiQM1fEhaEfmr8Bjn6kF1 D07/I0mP/KqFdweRunPoXTazcZnV97MlrcDhyNBAZd1fpqDrAA6+Z6pivkadaVexVkPX uVtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=pWIp11nH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si14495629edd.384.2021.03.29.06.40.34; Mon, 29 Mar 2021 06:40:58 -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; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=pWIp11nH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231185AbhC2Njh (ORCPT + 99 others); Mon, 29 Mar 2021 09:39:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231321AbhC2NjL (ORCPT ); Mon, 29 Mar 2021 09:39:11 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35B6EC061756 for ; Mon, 29 Mar 2021 06:39:11 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id x21-20020a17090a5315b029012c4a622e4aso5182084pjh.2 for ; Mon, 29 Mar 2021 06:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PTI+L6ax+/N+yMG1MXdvXBKRXCBtboFyHdTE1wtJx+k=; b=pWIp11nHFW7KdnNAiA9K1BL1Od6BgMAM7GRbTXqtMPyZ7gtqHQXCOkLdSG3wcT5UJE aj2G6x+OC5ELOVlMUvospOx5QDhace1cy5WW2FUoRbaZaR4/HCepnU+gIuH1c2TuEhVL zFN+UEnXJikrfluMdBrX6+RTs8xYNzSJNUR7fTnFypB8a892d27IAYuTudTMWxB8dteU mkABKWFlCP8rzp1OI1TAimg+bL9zTuKU9vcLC31IYPzWTZGvXkmeacqdy1Qh7Qt/MAlL Y7GrMMkjCj8hIP9UtDRnsCcyXjdQ9ObiX0sZEq2PlNof1lR62WjpGp1rOGY3PC5EFnXn AlSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PTI+L6ax+/N+yMG1MXdvXBKRXCBtboFyHdTE1wtJx+k=; b=sTfFCW1byC6LrNCrDuJERfuML/3jDwAVHWNStGZvxet66JnCv5dtM7jsagt/qfCeMb weD5un0COVcVGI7IMxLy9Bvh0Dwt5fA09WTM3GMuP5idzxycd/WWkiL35Mvbpimam9Yr IzThXZGkKFzsfLAokoj3JQc4g0dciNbHw0N+MGo2L3Jf/3iqaF6vtSTLy6ftZlXv6o+2 fKSlFvqujcz38lSOTQe2EIgr14A4NR+aYkgC579g9K6hTBQ67YreAVy1+SnIUyckzpAq /s6zWSm4rEnura/clb96MqR4+0kyu8IV/8EgnjnzC02aJIXg/x2H6pG8KHEMKAUJtZYk 7GUQ== X-Gm-Message-State: AOAM531oKNsjnKOZ09eOc+ceiiqrFerQQHf+SOiEgo8J6FyAr8U6EZ8b mDJSpsmGg+nI3bZUUWSQZEJz+NOskKcYiA== X-Received: by 2002:a17:90a:9f43:: with SMTP id q3mr26582711pjv.50.1617025150517; Mon, 29 Mar 2021 06:39:10 -0700 (PDT) Received: from [192.168.1.134] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id 8sm15739525pjj.53.2021.03.29.06.39.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Mar 2021 06:39:10 -0700 (PDT) Subject: Re: [PATCH -next 1/2] mtip32xx: use DEFINE_SPINLOCK() for spinlock To: Shixin Liu Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210329095349.4170870-1-liushixin2@huawei.com> From: Jens Axboe Message-ID: <11e068c7-0022-8c7e-23d9-c1bd8ee90896@kernel.dk> Date: Mon, 29 Mar 2021 07:39:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210329095349.4170870-1-liushixin2@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/21 3:53 AM, Shixin Liu wrote: > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). Applied both, thanks. -- Jens Axboe