Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3257488ybh; Mon, 5 Aug 2019 15:06:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7aIuBX0BVl7MqmLPXKrOZQ7a0xtFMwj1QfnOpKzg7eQpmLGVyFL6ZkBQ6VlGzVbjZ6NyC X-Received: by 2002:a63:58c:: with SMTP id 134mr100749pgf.106.1565042774432; Mon, 05 Aug 2019 15:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565042774; cv=none; d=google.com; s=arc-20160816; b=nOqadZ0nGy+OelMvFNawb96CFzbYTeL6C7eNATv8+sbQgQlsGVUCwJ8VecX74IQyn8 ifQZu31WPP4oGdZARVZjSwi1mVbovbCeMFdFt0kIghfh9pzrthfNflSXpifPHgIqpupY iJc3Lt3EELnORI+aHTWGFxMtKcJ4I8grd6umOfF7LOOOrKyjOuF4GWyfENSoLoXFrWFj KfLtWMQR6JhgAVItXtGYhqByM7CWxSlKVP2NOR8mNWdAASv3lAHNwRix1+E+QlRtVgys 6YKR08sddilACqwygvrbEb03S8q4iXAM098gQ5PY8mlrXFDS9t9vWSYGnMXMJRe//du3 wmLw== 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=hQkPqzCl0EgO8ejsOWFwcjYDROGmuy2jsvyxtVP20aM=; b=qcOeEkYe8ZCD2ovs/2KPf+6Is1TFivSL23XQ7oLacbPQ1BxEfZNMFvRhptavCPDITh Qd+Flw3JCOVXomh8rvQkmGKWFld/fucdPr66CcHIhki3g2HhaiH5eLIAnETT8OqsvX2p s1uRAO8shB9XEfkJKs9bN7anI1+C0FnChQFzbIZ/AfoZGLCcZpkSUuXvlvEBD8bbwF6f JQyr4vWwQHiU3yXFT/9FtCzrPzEBm2sVt4lxdlwrhSa4vgwFjBBGLyI8uhr/0HZwWvVD c9EwWRFtX648uQk882+gI/ZYEBLwf2ochRBdFbhiVRvpBvkM8Qpsg/mWgnrl6DHBNS7e 24jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FCJwaACz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a32si39851946pla.178.2019.08.05.15.05.58; Mon, 05 Aug 2019 15:06:14 -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=@gmail.com header.s=20161025 header.b=FCJwaACz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730811AbfHEWEJ (ORCPT + 99 others); Mon, 5 Aug 2019 18:04:09 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:33774 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728483AbfHEWEJ (ORCPT ); Mon, 5 Aug 2019 18:04:09 -0400 Received: by mail-oi1-f194.google.com with SMTP id u15so63626504oiv.0; Mon, 05 Aug 2019 15:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hQkPqzCl0EgO8ejsOWFwcjYDROGmuy2jsvyxtVP20aM=; b=FCJwaACzgf1lMLExxkJ0zmSYaGN+RjeBxMMU7Lk33oCV3CEo868GUeLDDxRP8mE1cO 1+wU+wOa9k11DarcGLU9OVtJ2zAkqSj1yefQviDdYqkf7C9wGG0fb+b0g7bvyVTR1OEY VrbnQZMl/kXiahEqmsY3qHI56gsaEJJ02c38h7UtUzchv41TArVnLCeThcrLLMr6eAYk Ox4H1/llesBgvumKRwVMvQI87/EbuXwbiPWy2YRdMb2f+Sbtsde13IXtqzgZjhJj86mA 4b2/CYpjuJX+HfG9w4X9VG/rCkSp5laJerKuNBQTsDY89wMo7+hNSjcRHyWdjIzA1ArD uazg== 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=hQkPqzCl0EgO8ejsOWFwcjYDROGmuy2jsvyxtVP20aM=; b=D0F6sWSMaupHC0eMKNG8hdNjMXQW/AojAaSM1fu7SGB/aUP7qA6IVFfWBAML23d9CA HYdsBU1gj/7VZ2ybmd8hIkrYHh94y4rVcWTBoAgigV2/o50tMIiEqEnVXEfublHpSYcd qc2wdtivg37wTdUJE8ky9ewDThK2fKcGKVXQdUBNCtXjzdMsnd9ngR1yBRSb7tteaAUF dEhW9nIbZlr1g4Cg1PjxOK2gSHV0lOgvDu2vtIGxaJI4wIJKewPUAmkG1Uhbk0X4ZB/Y YEsDzAqkrvGRiRZUDo0zvIdzbyt58GGQRe8IDzC0ZzqkWPqglsxoQRSlOLgK2Qdc/EG/ Exvw== X-Gm-Message-State: APjAAAWz7+a3U5/b4G8h+yLCeACyvt3vHJpE0He8QshbrE6qOpUYo19r tiX4xRPnI+kpCgUN6txVVu8Q5+8QLjWh9qQm7OY= X-Received: by 2002:a02:b914:: with SMTP id v20mr567705jan.83.1565042648210; Mon, 05 Aug 2019 15:04:08 -0700 (PDT) MIME-Version: 1.0 References: <20190802105457.16596-1-hslester96@gmail.com> <26D9FDECA4FBDD4AADA65D8E2FC68A4A1D40F162@ORSMSX104.amr.corp.intel.com> In-Reply-To: <26D9FDECA4FBDD4AADA65D8E2FC68A4A1D40F162@ORSMSX104.amr.corp.intel.com> From: Alexander Duyck Date: Mon, 5 Aug 2019 15:03:57 -0700 Message-ID: Subject: Re: [Intel-wired-lan] [PATCH 1/2] ixgbe: Explicitly initialize reference count to 0 To: "Bowers, AndrewX" Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" 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 Mon, Aug 5, 2019 at 2:42 PM Bowers, AndrewX wrote: > > > -----Original Message----- > > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > > Behalf Of Chuhong Yuan > > Sent: Friday, August 2, 2019 3:55 AM > > Cc: netdev@vger.kernel.org; Chuhong Yuan ; linux- > > kernel@vger.kernel.org; intel-wired-lan@lists.osuosl.org; David S . Miller > > > > Subject: [Intel-wired-lan] [PATCH 1/2] ixgbe: Explicitly initialize reference > > count to 0 > > > > The driver does not explicitly call atomic_set to initialize refcount to 0. > > Add the call so that it will be more straight forward to convert refcount from > > atomic_t to refcount_t. > > > > Signed-off-by: Chuhong Yuan > > --- > > drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c | 1 + > > 1 file changed, 1 insertion(+) > > Tested-by: Andrew Bowers NAK. This patch is badly broken. We should not be resetting the fcoe refcnt in ixgbe_setup_fcoe_ddp_resources.