Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2312630ybi; Thu, 4 Jul 2019 08:39:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxYvNwfsE69M3qw3T9JcSLfaJs53I5IDXku11w6oNiPnTpRJg098cyzptGE0QnOtOAx+lB X-Received: by 2002:a17:902:f01:: with SMTP id 1mr49658636ply.170.1562254750758; Thu, 04 Jul 2019 08:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562254750; cv=none; d=google.com; s=arc-20160816; b=r7CipGamCVxoCNjvRgtKrR4+xLHbM/5O7XhGEq5okr+/iCappDoUoq6XdWo5hR7pWy 7cjtR81BhnIb602Cuog+J7bwN+tSxgO0zQ63KbEosWFCLSw7l0TkKQvH17gpYlRb7rYC gFu7wglwcZLL8jVUKOhJxIg+wJEobKP5MrH3PfmATlE5vktiPObxv8wcGEtRQjpJ7uEl wRnwxMUBZ6WsjuZ88hVqzTRG+5f15lGHbkhqqjqpl4C8DXjfrPg23nIjeX0nuNPEy8jc EN81qwnsQgKUCi1MU7Zksus8tulC6XTXONdwojtnXBsyigfrBBxg8El1Wjzg7Bl84d1o ieUQ== 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:message-id:date:subject:cc:to:from; bh=H/NuBQCBheVhcTbYSm8qnSV1nbKkgJcOd4WW4EFMVKE=; b=VfC5ltiqccrxxDvmVq47PeYvT76JsNy6tDuwgfLxbGFTdYXd3ZiU6TUDWhbFEUTUM3 RCB4YxbhLj+Go+boasssCK6MBNl6EIwLYzti20cfnlZQkJ4ti/sdhsIhB1SP0PewhBdH o2MEgIglULqZGXTD9S+XS9DWZro3QtBRNgjVEi+C0T/Sm6yrwjhiqY710PiY7tO0aFgD TtAOK3g5tdZfGlkDLGVOG6H+nfH1ZEA87mMQ/KfifFg8+n/l09abObDe/E98KZqYRwa4 ftC1Rr92aovYXIG5MiYP/BcKMWzBYrgQgHL56tBUvhS7wt6FEb+NPehrA1wB2sDqtGuT C1Bg== 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 r17si6016870pgo.310.2019.07.04.08.38.55; Thu, 04 Jul 2019 08:39:10 -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 S1727948AbfGDPi0 (ORCPT + 99 others); Thu, 4 Jul 2019 11:38:26 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:59374 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727905AbfGDPiQ (ORCPT ); Thu, 4 Jul 2019 11:38:16 -0400 Received: from localhost ([127.0.0.1] helo=flow.W.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1hj3oH-0004wg-0S; Thu, 04 Jul 2019 17:38:09 +0200 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, Peter Zijlstra , Sebastian Andrzej Siewior , Jakub Kicinski , "David S. Miller" , oss-drivers@netronome.com, netdev@vger.kernel.org Subject: [PATCH 6/7] nfp: Use spinlock_t instead of struct spinlock Date: Thu, 4 Jul 2019 17:38:02 +0200 Message-Id: <20190704153803.12739-7-bigeasy@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190704153803.12739-1-bigeasy@linutronix.de> References: <20190704153803.12739-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For spinlocks the type spinlock_t should be used instead of "struct spinlock". Use spinlock_t for spinlock's definition. Cc: Jakub Kicinski Cc: "David S. Miller" Cc: oss-drivers@netronome.com Cc: netdev@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- drivers/net/ethernet/netronome/nfp/nfp_net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net.h b/drivers/net/ethernet/netronome/nfp/nfp_net.h index df9aff2684ed0..4690363fc5421 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net.h +++ b/drivers/net/ethernet/netronome/nfp/nfp_net.h @@ -392,7 +392,7 @@ struct nfp_net_r_vector { struct { struct tasklet_struct tasklet; struct sk_buff_head queue; - struct spinlock lock; + spinlock_t lock; }; }; -- 2.20.1