From patchwork Tue Aug 16 19:00:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos X-Patchwork-Id: 1072212 X-Patchwork-Delegate: bhelgaas@google.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7GJ0XD7019047 for ; Tue, 16 Aug 2011 19:00:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377Ab1HPTAc (ORCPT ); Tue, 16 Aug 2011 15:00:32 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:38677 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373Ab1HPTAb (ORCPT ); Tue, 16 Aug 2011 15:00:31 -0400 Received: by gya6 with SMTP id 6so170946gya.19 for ; Tue, 16 Aug 2011 12:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:cc:subject:message-id:user-agent :mime-version:content-type; bh=wCRqnJJ4nGqjJqg+olb2RmIkHHJQxXVbQv0uC7siQvY=; b=cOSKHZa5KdyEsX8QHqo6ZUuCltAYkRE+3BsEtYCEd1LiKleToV3YliOR+v5taig0Xi 1msXfLeASsNzL/OGOPdMiqfJv9t19Z6+80nUZ1Lni8a3IeGDCPXK7mpeIieyJtmyGIDo IsH7y0WOC0CXVn6249WMDelMOXNVw/f7nxqXo= Received: by 10.236.175.36 with SMTP id y24mr273797yhl.87.1313521231035; Tue, 16 Aug 2011 12:00:31 -0700 (PDT) Received: from odin.local ([189.75.62.110]) by mx.google.com with ESMTPS id s62sm374672yhn.47.2011.08.16.12.00.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 12:00:30 -0700 (PDT) Date: Tue, 16 Aug 2011 16:00:23 -0300 (BRT) From: Marcos Paulo Souza X-X-Sender: marcos@odin To: jbarnes@virtuousgeek.org cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers: pci: pci.c: Fix a warning on make htmldocs Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 16 Aug 2011 19:00:33 +0000 (UTC) The fucntion pcie_set_mps has a parameter called mps, and this parameter was not documented. Instead, the documentation was about the rq parameter. Changing rq to mps on the documentation fix this warning. Signed-off-by: Marcos Paulo de Souza --- drivers/pci/pci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 466fad6..1b78afe 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -3250,8 +3250,8 @@ int pcie_get_mps(struct pci_dev *dev) /** * pcie_set_mps - set PCI Express maximum payload size * @dev: PCI device to query - * @rq: maximum payload size in bytes - * valid values are 128, 256, 512, 1024, 2048, 4096 + * @mps: maximum payload size in bytes + * valid values are 128, 256, 512, 1024, 2048, 4096 * * If possible sets maximum payload size */