From patchwork Wed Jul 1 14:50:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Krause X-Patchwork-Id: 490410 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A7A7B1402AA for ; Thu, 2 Jul 2015 11:34:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=pO0FlccF; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 28B25A3BDE; Thu, 2 Jul 2015 00:59:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id izNmvmVAduv7; Thu, 2 Jul 2015 00:59:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 882D5A3AA8; Thu, 2 Jul 2015 00:59:27 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C81D41C2258 for ; Wed, 1 Jul 2015 14:50:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7CF7A335D1 for ; Wed, 1 Jul 2015 14:50:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ccSWHgEDi01g for ; Wed, 1 Jul 2015 14:50:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by silver.osuosl.org (Postfix) with ESMTPS id 9FBAB335C6 for ; Wed, 1 Jul 2015 14:50:57 +0000 (UTC) Received: by ieqy10 with SMTP id y10so36428139ieq.0 for ; Wed, 01 Jul 2015 07:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=BrSs+u2BpwFp0/rAO7GUKpLeMJrFz8+cHUPFjA8RzGs=; b=pO0FlccF9v8JZ0CtSRZ5D3RfxCDQKeNXfw3NIV8y10f0pC54/+8uyeuKQgJN3W3dpe jk6JI6X56CZaWO7g0KMT1eoRrALlSAbqvUNFitQNfleVBwoJ9cY7IWex7SylCPQmYdnT 1iy8vTeicCNGBo5hCTCKEdAOCZob/lsdrsVEUr/Sz6N3Iv/ARmgvP0YJf1s4k3VZzbA5 Q/U7aj2gYwa8JJV1RsQ43WjRKAdN+/qQYbmI1gNasl1Nz567WYPdfVxCE6y4jHfTWAYJ RibLhBGv060FpOs0W8w6RJNmoOn+ZLi29/N/ikjJIJAgQzPh7ndVT+V9l04UoiB2exQb prOw== X-Received: by 10.43.39.208 with SMTP id tn16mr4472117icb.27.1435762257156; Wed, 01 Jul 2015 07:50:57 -0700 (PDT) Received: from nick-System-Product-Name.hitronhub.home (CPEbc4dfb2691f3-CMbc4dfb2691f0.cpe.net.cable.rogers.com. [99.231.110.121]) by mx.google.com with ESMTPSA id m92sm1475518ioi.41.2015.07.01.07.50.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Jul 2015 07:50:56 -0700 (PDT) From: Nicholas Krause To: jeffrey.t.kirsher@intel.com Date: Wed, 1 Jul 2015 10:50:53 -0400 Message-Id: <1435762253-21649-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 2.1.4 X-Mailman-Approved-At: Thu, 02 Jul 2015 00:59:26 +0000 Cc: linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: [Intel-wired-lan] [PATCH] ixgbe:Fix function comments for the function ixgbe_setup_tx_resources X-BeenThere: intel-wired-lan@lists.osuosl.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-wired-lan-bounces@lists.osuosl.org Sender: "Intel-wired-lan" This makes the function comments for the function ixgbe_setup_tx_resources properly state that the only error code returned for this function is the error code -ENOMEM. Signed-off-by: Nicholas Krause --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 9aa6104..0ee64958 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -5389,7 +5389,7 @@ static int ixgbe_sw_init(struct ixgbe_adapter *adapter) * ixgbe_setup_tx_resources - allocate Tx resources (Descriptors) * @tx_ring: tx descriptor ring (for a specific queue) to setup * - * Return 0 on success, negative on failure + * Return 0 on success, -ENOMEM on failure **/ int ixgbe_setup_tx_resources(struct ixgbe_ring *tx_ring) {