From patchwork Sat Jul 3 15:13:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= X-Patchwork-Id: 12357051 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 773FAC07E98 for ; Sat, 3 Jul 2021 15:15:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FAA561402 for ; Sat, 3 Jul 2021 15:15:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FAA561402 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Uv4bgWnSTEb0O6iGM07EPzFf5+3ByTK32xy2BuYVkF4=; b=rv+kBk/5e5mIpC 6piZ01cTbjl7InjEqqNSzzn/fCN5knL0mNA+YlymrSR4IYTzEljOwHQ6ZW01y85Zm3cR6svv16CSI ddITjGKdbTdVtnE8dxbvEkX127smoQQRzCLtS2qLxK2pw7vgK/4DsTr+yy4G62mfPJUoXvz3dB8A1 12RLE7x1Z+o7gUQfqwE5C4lBibwkYLITY8QIr1t9wywo7RfZfWtRvZO9Or1RgF2SrWuH5l8tBFU15 TOK6ZfRLR3G2VHPvyJ1qeLjH6JDwNM014Z6DQDu2lUjJ3fUKT/80NBR/0jxWwGN1G9gAl+ciNf0B3 uyM6JZHeHebfhE5GM2CA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzhKp-0050cg-Pz; Sat, 03 Jul 2021 15:13:35 +0000 Received: from mail-lf1-f53.google.com ([209.85.167.53]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzhKW-0050Zs-IX for linux-arm-kernel@lists.infradead.org; Sat, 03 Jul 2021 15:13:17 +0000 Received: by mail-lf1-f53.google.com with SMTP id q18so23841042lfc.7 for ; Sat, 03 Jul 2021 08:13:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cNlKcnCbf+U9MYL6Tec0SeQijh0GE4vaKksfFp6LR00=; b=qWj1QTqW3/9aoFjQ3PYHvukFJUTdnTPlTZW13mW7xtGSZBSAkjpOXGXocwVBNLgESC eMFbjgpyzLRUoyogs7bS+EbeFtJ3Ki5E5ydtshdj9ngBs0TweaX++7ETu8OIPVuW8orU 4GcwkpA8TN7FjrIC9ABO4Ei+AvNE3/F7zfKofA7SQt8B4J0BjEPpTaszenoVp5MpkR3L ONF4KP8HrRsUGMrFPRIjbsMCauNqh08PUH98lvHyhkLF0wFpFQkPXfFwWLywBCVTGhAU UEnBRElzgkHz+rYi4NfbkyWGtTqyy5cuayZb2+8zRu64tKWyzYz2NiEgxSncUsHSRH3H 8CLw== X-Gm-Message-State: AOAM532ZrURrzyg/evhE+2apRt2cr0LhvSDEnujoztjeSZpoYO30v4ly OxizyRMunB22k0HgnFE0tqo= X-Google-Smtp-Source: ABdhPJyNUz9oqR3m7d9EcsTihaXJum064mwNQTq7KBIFgp9VmGalJfqatTUu7MOeiAI+aLjRMxU2xg== X-Received: by 2002:ac2:4ecd:: with SMTP id p13mr3562303lfr.351.1625325190608; Sat, 03 Jul 2021 08:13:10 -0700 (PDT) Received: from workstation.lan ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id p18sm715980ljj.56.2021.07.03.08.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 08:13:10 -0700 (PDT) From: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= To: Bjorn Helgaas Cc: Lorenzo Pieralisi , Lukas Wunner , Rob Herring , Scott Branden , Scott Murray , Tom Joseph , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Subject: [PATCH 3/5] PCI: cadence: Add missing kernel-doc for struct cdns_pcie members Date: Sat, 3 Jul 2021 15:13:04 +0000 Message-Id: <20210703151306.1922450-3-kw@linux.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210703151306.1922450-1-kw@linux.com> References: <20210703151306.1922450-1-kw@linux.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210703_081316_659157_002AA373 X-CRM114-Status: GOOD ( 13.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add missing documentation for the members "dev", "phy_count", "phy" and "link" of the struct cdns_pcie, and also remove surplus member "bus". Thus resolve build time warnings related to kernel-doc: drivers/pci/controller/cadence/pcie-cadence.h:281: warning: Function parameter or member 'dev' not described in 'cdns_pcie' drivers/pci/controller/cadence/pcie-cadence.h:281: warning: Function parameter or member 'phy_count' not described in 'cdns_pcie' drivers/pci/controller/cadence/pcie-cadence.h:281: warning: Function parameter or member 'phy' not described in 'cdns_pcie' drivers/pci/controller/cadence/pcie-cadence.h:281: warning: Function parameter or member 'link' not described in 'cdns_pcie' No change to functionality intended. Signed-off-by: Krzysztof WilczyƄski --- drivers/pci/controller/cadence/pcie-cadence.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/cadence/pcie-cadence.h b/drivers/pci/controller/cadence/pcie-cadence.h index 254d2570f8c9..e118c650bbf9 100644 --- a/drivers/pci/controller/cadence/pcie-cadence.h +++ b/drivers/pci/controller/cadence/pcie-cadence.h @@ -263,8 +263,11 @@ struct cdns_pcie_ops { * struct cdns_pcie - private data for Cadence PCIe controller drivers * @reg_base: IO mapped register base * @mem_res: start/end offsets in the physical system memory to map PCI accesses + * @dev: the PCI device * @is_rc: tell whether the PCIe controller mode is Root Complex or Endpoint. - * @bus: In Root Complex mode, the bus number + * @phy_count: number of supported PHY devices + * @phy: list of pointers to specific PHY control blocks + * @link: list of pointers to corresponding device link representations * @ops: Platform specific ops to control various inputs from Cadence PCIe * wrapper */