Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1141074/?format=api
{ "id": 1141074, "url": "http://patchwork.ozlabs.org/api/patches/1141074/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190802105457.16596-1-hslester96@gmail.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20190802105457.16596-1-hslester96@gmail.com>", "list_archive_url": null, "date": "2019-08-02T10:54:57", "name": "[1/2] ixgbe: Explicitly initialize reference count to 0", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "168262c4ec84c2dc728816baf7afb6a66c6a84e4", "submitter": { "id": 77068, "url": "http://patchwork.ozlabs.org/api/people/77068/?format=api", "name": "Chuhong Yuan", "email": "hslester96@gmail.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190802105457.16596-1-hslester96@gmail.com/mbox/", "series": [ { "id": 122946, "url": "http://patchwork.ozlabs.org/api/series/122946/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=122946", "date": "2019-08-02T10:54:57", "name": "[1/2] ixgbe: Explicitly initialize reference count to 0", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/122946/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1141074/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1141074/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"srMJDRVV\"; dkim-atps=neutral" ], "Received": [ "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 460PFZ34Pjz9sBF\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 2 Aug 2019 20:55:13 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 331DE23358;\n\tFri, 2 Aug 2019 10:55:10 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id aD08ZxcVX1m8; Fri, 2 Aug 2019 10:55:08 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7F2D3204B7;\n\tFri, 2 Aug 2019 10:55:08 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 52BDB1BF356\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 2 Aug 2019 10:55:07 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4C4BA87B05\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 2 Aug 2019 10:55:07 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 2ZjEuMFLnEBF for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 2 Aug 2019 10:55:06 +0000 (UTC)", "from mail-pf1-f193.google.com (mail-pf1-f193.google.com\n\t[209.85.210.193])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id AAFEA87A2F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 2 Aug 2019 10:55:06 +0000 (UTC)", "by mail-pf1-f193.google.com with SMTP id p184so35851483pfp.7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 02 Aug 2019 03:55:06 -0700 (PDT)", "from suzukaze.ipads-lab.se.sjtu.edu.cn ([89.31.126.54])\n\tby smtp.gmail.com with ESMTPSA id\n\tq69sm10647674pjb.0.2019.08.02.03.55.03\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tFri, 02 Aug 2019 03:55:05 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=DIqOI2KhnovE2Wnn/sL/EUNF3A52jl9llVbTYD86JMc=;\n\tb=srMJDRVV8ygDsohT0GoVuEcKCpACjwtqHx6wxeRhf8dlMqfZgWenGwR3OhfdebtaPn\n\t7KxUDWtnLUEjat1S8i1wsaYqGkjsrj7IWyhKZIGULZ/jnwjvLkhBk26tdtqCyYyZa89y\n\tcWRKBS2/4Soe06tTBS0S93QKwqcgm4ECGKhzpNLxGGBnSyfwe4TOtp35XknKVbTjjVSI\n\tpmMurfmHTPw37WouScJHwO65WdJmWZ5Lr3Zi9f0eIU9L2SHkrSGRMVSVG3+WFcZHeP+U\n\tQ9TF4i/8l7KWsIoQLSolkikbA13CHToGCC9S6MNnN+0X0dYBBxzu6uPISFglsMMc2B4A\n\t/5ng==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=DIqOI2KhnovE2Wnn/sL/EUNF3A52jl9llVbTYD86JMc=;\n\tb=JEvinX9gQn2Y0ApCsEs5mshBP0xvkQVugHxg23IX1Au443IHoieL8rASqGKC/Ds9SH\n\tEGpuOCRo2oS/MaeJTARJCB6hR5hcCMeFPESIU4nNwfqsygUZAT8wHH7e6PZJme0c9YPW\n\twZ40TIy1mUUqCCoY7xSkOJCRu3FmeLekYbMvUsRK6fji+0fTW+3ywQKq3PparfcnGy6z\n\tY5woeX/+pBKInUiUyutwe5jC4YqBKJpYfXUKwVhRtz8gnuPVLumwnVeQMhRaS/fBK9fW\n\tBBMl789Mklbfyvf/FJkb8EVEAaEcgaH7zZV8IMuospyBRLBQFN1/ZdrVeiVG08QA3jiN\n\trqHg==", "X-Gm-Message-State": "APjAAAVCazwNk91ClmeRgx7wfSFFPpnaiLP7U/vFzdwEXiGLfAlHaHuP\n\t4Hc611h4l+lx9XH+MXlG/yI=", "X-Google-Smtp-Source": "APXvYqwMFjm28/XJVWXgLOL7J4uLlnk5tcztUOTOT97vTba5XRvZcyegYR38vqyrRvSWGSOFZ8sPeQ==", "X-Received": "by 2002:a63:b555:: with SMTP id\n\tu21mr125832838pgo.222.1564743306326; \n\tFri, 02 Aug 2019 03:55:06 -0700 (PDT)", "From": "Chuhong Yuan <hslester96@gmail.com>", "To": "", "Date": "Fri, 2 Aug 2019 18:54:57 +0800", "Message-Id": "<20190802105457.16596-1-hslester96@gmail.com>", "X-Mailer": "git-send-email 2.20.1", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH 1/2] ixgbe: Explicitly initialize\n\treference count to 0", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "netdev@vger.kernel.org, Chuhong Yuan <hslester96@gmail.com>,\n\tlinux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\t\"David S . Miller\" <davem@davemloft.net>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "The driver does not explicitly call atomic_set to initialize\nrefcount to 0.\nAdd the call so that it will be more straight forward to\nconvert refcount from atomic_t to refcount_t.\n\nSigned-off-by: Chuhong Yuan <hslester96@gmail.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\nindex ccd852ad62a4..00710f43cfd2 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c\n@@ -773,6 +773,7 @@ int ixgbe_setup_fcoe_ddp_resources(struct ixgbe_adapter *adapter)\n \n \tfcoe->extra_ddp_buffer = buffer;\n \tfcoe->extra_ddp_buffer_dma = dma;\n+\tatomic_set(&fcoe->refcnt, 0);\n \n \t/* allocate pci pool for each cpu */\n \tfor_each_possible_cpu(cpu) {\n", "prefixes": [ "1/2" ] }