Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2571420ybi; Thu, 4 Jul 2019 14:10:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdwLrZfmqk5NMWIPqokJIM4YV1QaZAib74+2MGCiKM2WWHKutZJB7FniOTA8hGep++LxRL X-Received: by 2002:a65:63c4:: with SMTP id n4mr519092pgv.44.1562274646895; Thu, 04 Jul 2019 14:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562274646; cv=none; d=google.com; s=arc-20160816; b=Je5RzNk9mnFVfrLt1YU5eQ/qKlpkLCgVkVwdDRnr0+VaVrKPWzr1ZewV1msHQcppBx EdmhWnXlBlRgDESUYyWZRLtInEymGaAIt5xWubr0fMukxAiXAKefLNv34s9/tlQUPm8T k+y0LaIcm4UKNZvvmoUg33rpOS3cYK8CCJ+A2uEKtASYL3xlSONseN736sMXQ7EeW788 4425ZeCaOu48yjmMTFCG1J7M/QZq7zDj7ttJI7dj7YsL6kJ+KfxHPZJDTfvGNxdkUrWI /LY0MHuqa+UcEftNWJ0A3bQILOsSP27nFULjs9YuBaGyP7/7vgJoMiDakwlCLUpvfPBC vKBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rcJ0C5reJPUPRr282vI9k081OUcgrz+/xcYOLqs9gP0=; b=ZnjLkUQzV8lbesGgGxkcPQRye3PcIbJJavkJbZ/t0wlZfPcE/Xqt0ZY2TvgvT9ASHA Y0dsjDubU9uRThtV6SoYeyXkrc538rvIyCB2/QzMh7o8i9iD6sCDaRWh4jaJhQ/z42vD TW8nJgjWJQ+DdrImjUiiViSvysKPFUup7iyD2uJ3p6i35GGT5V1w4Qo1g+Loioz1lUYR XbuEA9fzXSjE+Sjby4Zy0+gY5z/z1FHEhH7cHnwvAmqjm0RMub0CmpFCWSESrGCvKwkv YpnOhvYKvYjNtRfYwyeYsgm/HFjh0azhwKNOBJMf2sHiUhissnftYhLzd1hPSkPTw7qp C3CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=VkvlDok6; 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 w5si6431749pgh.430.2019.07.04.14.10.29; Thu, 04 Jul 2019 14:10:46 -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; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=VkvlDok6; 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 S1727352AbfGDUmp (ORCPT + 99 others); Thu, 4 Jul 2019 16:42:45 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:43801 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727304AbfGDUmo (ORCPT ); Thu, 4 Jul 2019 16:42:44 -0400 Received: by mail-vs1-f67.google.com with SMTP id j26so2569952vsn.10 for ; Thu, 04 Jul 2019 13:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rcJ0C5reJPUPRr282vI9k081OUcgrz+/xcYOLqs9gP0=; b=VkvlDok6E4OX5H7Q5JvfdGowsbZDdxUCKC6KLupjDhRgWTZMuK5h1gXLVfPFeU8jXO T01nirzQnrayUcnFBKfOk1zYC+tIUntJ8ihjX8+YyZadlCcIztlDkpcBQq4BHTKjTt49 AzQXmEepycbdGCSNnp2E+39UUQ7YnqzZErGXo8i6cLhWbOW0Wx6rcje/SLN5qDaefkKp Oyv69SFa/LFlamy8EiXCVitMuCHydzwc1I1ATCcJw7LIP8YwGSYjGP/BirgPqRIBCLwQ 2kEaRgD/Up6e97bCHLJchdt4SX827hmBJRvjwsf5icokb+NfaRaUxHLiehNL0tlVBird b72A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rcJ0C5reJPUPRr282vI9k081OUcgrz+/xcYOLqs9gP0=; b=QzLnVjlnECCtWGN8o9E2syOA5N4xuEPPZkRM5GUCcmKkgGNtCDZ5J/SyGzRosN1lJ8 6ih9td2dQnAyhLhMJq27fkvLS7bnR6Mi+x2EuOocqeK/TiFVnscOPmexjc5JwNuaFrvt B1O8scM8ymyug4yFzRcshcLI/6prn+Gnk0iAQtYE7WiPKiXid6Nn/zPsdr6PR1fHb5tf J1z6+pIzJ7b9Tr4D8EU5ZwurZoT2w50yY5sU/3ggiF8lT21TSzkAhX6/Rad5SMvoJEax hU43YYT0e5G4ocvH471fQlJA6FVdqjjHt14s0WAypBObF2sGmWkGS+psDwPYXyzE9iI3 LUEQ== X-Gm-Message-State: APjAAAUOclPvQ4zHrDsyyTYlYTllVz7RqiOV9DFTVo1AyeEWwxzPeASc u3pfmZ0LtDzilRsNdn03Od3l2P3i68P6Wfjtm/Lu9g== X-Received: by 2002:a67:eb12:: with SMTP id a18mr75466vso.119.1562272963879; Thu, 04 Jul 2019 13:42:43 -0700 (PDT) MIME-Version: 1.0 References: <20190704153803.12739-1-bigeasy@linutronix.de> <20190704153803.12739-7-bigeasy@linutronix.de> In-Reply-To: <20190704153803.12739-7-bigeasy@linutronix.de> From: Jakub Kicinski Date: Thu, 4 Jul 2019 13:42:32 -0700 Message-ID: Subject: Re: [PATCH 6/7] nfp: Use spinlock_t instead of struct spinlock To: Sebastian Andrzej Siewior Cc: LKML , tglx@linutronix.de, Peter Zijlstra , "David S. Miller" , OSS Drivers , Linux Netdev List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Jul 2019 17:38:02 +0200, Sebastian Andrzej Siewior wrote: > For spinlocks the type spinlock_t should be used instead of "struct > spinlock". > > Use spinlock_t for spinlock's definition. > > Cc: Jakub Kicinski Acked-by: 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; > }; > }; >