Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2090376imm; Fri, 7 Sep 2018 10:37:15 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbqvt3szwrVlPt2fyu6iUutkhcl24Vg2lP09otVPsJBZZb4Xbrc+IJzX+9rx5zqn1aeDr/k X-Received: by 2002:a63:7f06:: with SMTP id a6-v6mr9461542pgd.296.1536341835894; Fri, 07 Sep 2018 10:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536341835; cv=none; d=google.com; s=arc-20160816; b=VW73PT7jUKZtmz7HUEbx7dVk/XiL3jqb9oTjEt8RCdCbOFQegcKTp35C3hcSjhMzcO ku+5omckjS6cbclW6Q3juOXn1LHmPnaNUfOI7LBTZcWxOa3qE29jrV0WFkfWBym6QIrD GFIFlsfAWnokOs6CwRin3TwmzVAM1jvtYtEfq5qSgkF7cvv4hNO4EtdoaLyBFDYl/61m xUbc2vOXVFn6SK2FzCqyiIqdhyXgjPlR6aa+GVWw7yxFb2Eu02sA4NHYg1Oz73moDYuF 9N0b3hsrQoQeO4wVSEcote96lYHwuvpngBQBdADBOAjcfEsPUHVqSbux+FrFKGUHxkJg EAjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=fi56jIiTPMaAIAZk4rMYMXtzkobmo9yRUSLYY5miIdA=; b=uNOcw4CrYGXMBfNARPAdKUuigGROTrq3bFMCvX+hW6I+y7GL1gxqzVMGz9EHGPafRK ST1yS6Ker4FbDGMC6tEF5RwgMrNmFXFOx2AWJRNFTMpQy2QBxpaAm0Pix/4W+V//dKjb FeRXtDdHxYqDCdACkjLWshHjNKohnOKYM1E9C0cedVy6msSN/U4ZTUXHasitplYoyTCB aNt1iUOmiARaLlkT07xnYT/cf69lGNvdKLUGCfuvCCr2T1AipOEOGDUdV9trH/bicpsm 5e/GFtnSbUrScn3UA6NOahNHoKgHw0AOUElzsU/Le5Ntqb8nKi131rbQcwpmKNiVwRt8 lviQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a84-v6si8973943pfj.300.2018.09.07.10.36.59; Fri, 07 Sep 2018 10:37:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727638AbeIGWRH (ORCPT + 99 others); Fri, 7 Sep 2018 18:17:07 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:50636 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726151AbeIGWRH (ORCPT ); Fri, 7 Sep 2018 18:17:07 -0400 Received: from localhost (unknown [172.58.40.83]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id F20DA1449DA1D; Fri, 7 Sep 2018 10:35:08 -0700 (PDT) Date: Fri, 07 Sep 2018 10:35:08 -0700 (PDT) Message-Id: <20180907.103508.586853927030824859.davem@davemloft.net> To: jakub.kicinski@netronome.com Cc: hangdianqj@163.com, dirk.vandermerwe@netronome.com, daniel@iogearbox.net, quentin.monnet@netronome.com, oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ethernet:netronome:nfp:move spin_lock_bh to spin_lock in tasklet From: David Miller In-Reply-To: <20180907183636.48a681f4@cakuba> References: <20180907162117.47361-1-hangdianqj@163.com> <20180907183636.48a681f4@cakuba> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 07 Sep 2018 10:35:09 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jakub Kicinski Date: Fri, 7 Sep 2018 18:36:36 +0200 > On Fri, 7 Sep 2018 09:21:17 -0700, jun qian wrote: >> As you are already in a tasklet, it is unnecessary to call spin_lock_bh. >> >> Signed-off-by: jun qian > > FWIW you should put spaces after the colons. It's generally a good > practice to look at the prefix previous authors used for a given piece > of code with > > git log -- $file_path > > This would be a better subject: > > nfp: replace spin_lock_bh with spin_lock in tasklet callback Yes, please fix your subject styling.