Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1994784ybh; Fri, 17 Jul 2020 06:55:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDpa64Yu8OnXCYp6ByjI3AhS+O6zVdEZdcDcqu9h9DV07sPP1vWGIDPGS4aX+tK7W0njRl X-Received: by 2002:aa7:c2d7:: with SMTP id m23mr9413285edp.216.1594994138786; Fri, 17 Jul 2020 06:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594994138; cv=none; d=google.com; s=arc-20160816; b=i9qDqUKs7CP5p1TNwG6qVbxDc9r5lfTRpmNsQdQtVccggPmh1EyUUGxiHfW5IGpKmw IYhOMKAPcsXOk9EhS0TFwJyeAe+t5WMJ7zqBoTihgvdan+TsVda9aWVyanwue9EDpkhX 9uxsG8wCGeSO2LLH9yqWERBhXMQDCJCCXOFQreKo06eL5sPxfOQ4pPEeKADQFDLljAeN plie3ZbZ1ob1rDGM7y8BS4IdBJ1bi0C3Fo15oCOtWOVRZn2yRdW30SBo0ajlWaFfvVQZ 9LyIPBQT5k4hTqVBPhPDZk0nG+hdGUWolhAo/qktfhYf0KBCh9hMfbtgvP9PQGZVNFoo wjxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TZd/W0TpHswu0SuYSG0OcLxLAj8b5WuGZfRv6Lvmmao=; b=AE9pdQxrdBLpC91fAaqTp+vkR63wGcdGalxOyfjcQ/lf6vliU1C25aU4fPhGPj5u3z +y8EuMfAqouaXZN04zo96mtrKefxw9BjNSWQi4gnHB1bRTL7IUJqxZQAnmopSYnG+pJ6 ZVjqK3obHta43mQ6/lkDjzYF1FSPNmcppm0OWRtgQYMWDyKSC899GzODLIw6OkCI06wh anePpqu/ByAt6VUNSZLBwrlq+Q5DtdOCO/OFMtVbW7wf2gmh/Gap82q1DEJajVsWlUqu 6hYoR/HT2qFV99RuAfOAF47TnNa+mYyRasVNEUXAHkh++nxuJmpi2e4dGa9hF8Kjt42S bIzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CLcRog2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq8si3458214ejb.320.2020.07.17.06.55.15; Fri, 17 Jul 2020 06:55:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CLcRog2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbgGQNyp (ORCPT + 99 others); Fri, 17 Jul 2020 09:54:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727047AbgGQNyj (ORCPT ); Fri, 17 Jul 2020 09:54:39 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DC95C0619D7 for ; Fri, 17 Jul 2020 06:54:39 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id j18so14942294wmi.3 for ; Fri, 17 Jul 2020 06:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TZd/W0TpHswu0SuYSG0OcLxLAj8b5WuGZfRv6Lvmmao=; b=CLcRog2efhriOmziPd49uvqHp4X3kgn1MMhEVojt9mJGnBLfyFuKfUqJx5yUzpj2Zj 5Ym61ZRmqQ3DPrfbITu3j1YnCKySperMNZP3cU9/bdO1TgPDWdDmjQ7d0qmWsdesIvOB bpIYUeLDljadMWctNzF83RAoClWIdr6ZSV9f6nz8BgpWTi2y0Wbqedj2QUGb4eXYyhXl YxdqabjHzf9qfpd/LXuXtREuBS0/PiNBbOp/snlxaqVb4l4MNvOyJybjndDRwjdnl8LP v+6owkZu7AR/Jbyz9Uap9KGe77zwO5b6d8Qz+tNE0W5rLJK5uCHXMlkkdJN/ItaZQ7br qxOg== 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=TZd/W0TpHswu0SuYSG0OcLxLAj8b5WuGZfRv6Lvmmao=; b=o2zpDYAzxiFIb1ZmcEhDJXd1Qrx2yFp0csj90ctM2cJ5Td5urq3R9YM5zRvip4xfYB FdJc8sRWdkVSWBPH6zlvrCiK3Wam/nZiq28btFP7oquJNNzheanoEjJiBzZtktNA6L44 BSMugaD3V+Ibi4/7Ydl3yPrB7XiA5O2Mhw17okvflnLnnVzYpuwASfxosEidLC2Ejh1T iokg0gMkBGZMNKtDm5OyDFUM3Gofdsqj2lypHMIhKYCbwFCpcJTweAoEnodlt5Kp7MFf 2D2RKr2JD/LmvQuPWqWaL8K6zAgvjFIye5gsw6FBv9gY1mKN/JkRmZ8SKGOcw6b1QLOj gbDQ== X-Gm-Message-State: AOAM531TlRz6EMY/UPbOQTz891hFmQcQAuk+XyCsyTW5tiTMZR83512Y 28XQ/jLA8SSjZ7R/8kBXLpFNxg== X-Received: by 2002:a1c:7e90:: with SMTP id z138mr9010367wmc.7.1594994078207; Fri, 17 Jul 2020 06:54:38 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id w128sm16118356wmb.19.2020.07.17.06.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 06:54:37 -0700 (PDT) From: Lee Jones To: broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Lee Jones Subject: [PATCH v2 11/14] spi: spi-topcliff-pch: Add missing descriptions to 'struct pch_spi_data' Date: Fri, 17 Jul 2020 14:54:21 +0100 Message-Id: <20200717135424.2442271-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717135424.2442271-1-lee.jones@linaro.org> References: <20200717135424.2442271-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'io_base_addr' not described in 'pch_spi_data' drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'pkt_tx_buff' not described in 'pch_spi_data' drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'pkt_rx_buff' not described in 'pch_spi_data' drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'dma' not described in 'pch_spi_data' drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'use_dma' not described in 'pch_spi_data' drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'save_total_len' not described in 'pch_spi_data' Signed-off-by: Lee Jones --- drivers/spi/spi-topcliff-pch.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index d7ea6af74743e..baadd380cb297 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c @@ -122,6 +122,7 @@ struct pch_spi_dma_ctrl { /** * struct pch_spi_data - Holds the SPI channel specific details * @io_remap_addr: The remapped PCI base address + * @io_base_addr: Base address * @master: Pointer to the SPI master structure * @work: Reference to work queue handler * @wait: Wait queue for waking up upon receiving an @@ -138,8 +139,8 @@ struct pch_spi_dma_ctrl { * transfer * @rx_index: Receive data count; for bookkeeping during * transfer - * @tx_buff: Buffer for data to be transmitted - * @rx_index: Buffer for Received data + * @pkt_tx_buff: Buffer for data to be transmitted + * @pkt_rx_buff: Buffer for received data * @n_curnt_chip: The chip number that this SPI driver currently * operates on * @current_chip: Reference to the current chip that this SPI @@ -151,7 +152,10 @@ struct pch_spi_dma_ctrl { * @board_dat: Reference to the SPI device data structure * @plat_dev: platform_device structure * @ch: SPI channel number + * @dma: Local DMA information + * @use_dma: True if DMA is to be used * @irq_reg_sts: Status of IRQ registration + * @save_total_len: Save length while data is being transferred */ struct pch_spi_data { void __iomem *io_remap_addr; -- 2.25.1