From patchwork Fri Nov 6 21:36:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320820 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650001ilc; Fri, 6 Nov 2020 13:37:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjZD0auSWIwugTD9UnKRkoCpEL98W9kLGBjhM0DVkZU4GIut7KTOhXbOYcKZ+IdHdksUp1 X-Received: by 2002:a05:6000:1251:: with SMTP id j17mr4571212wrx.425.1604698653808; Fri, 06 Nov 2020 13:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698653; cv=none; d=google.com; s=arc-20160816; b=or8Thcnr1ZRgUGROvZxdvb9hqy87bYqAjqd+gnyd/pulaIdagLgRI0oR5R2KKsTjKy z7ChA20+Nfb7AntTWdtTwDZ9hZoKKj+twMKpypuervkr1BzboIUBst9KPZHIMPE8jmIt EfeqTWKjN0/xLoLDZMJHXZKnHSNWmE+XnU/mRg9bLtq1SOcr07ngEkFPYJU95DX7WqGh rSN6yKF+n8XCXlgLBytweaWAxTJOwhFQA2lQ7xaA9TjY1OVRSIAw7R4zUtv66D0Zzz44 IBdDhkopKyoJZXwkFhQQoyr1gUjANbKaD83zZ4in7gD1Qw6nXG7CvKV3QM3O1GYqer94 MxYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=j2cGASOw00F50LRrT9aDJb9wKzfozWrAyJjOeCBqMw8=; b=xL/vEhKNpduHqbwOR+N1PKgVthoxY1ClAksvnCjQIHjsKARWBXJ5UBtUEalDZOFQ2c pT0p7tSF4/OpetZ4EGbzIWrKtDoIycpe8yNQsWA1Lmd6dgn464Q7JDkmcQl4oCMJP/in 8ZsmXa/d3vUWAWCGtvG2dmejqjQf46vHDS7TNpNCBivRfiQECiEHO7v/x9/V7qUzdJEJ gkQPlVw0Y16/lvPzWehlPZSIvYUEsIhhT6tv/7u77gE1PwM+kWFQXXUtXenzlNmE8Q80 XKJlvlXmBITVgIhPk+zgNkLlHu93knjwClCA9jdIR67yPAwn/goCApDw+gQXBOmfOWqL Np3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="2/cUahjW"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AvQYLR03; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id m12si2228910wrn.360.2020.11.06.13.37.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="2/cUahjW"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AvQYLR03; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=j2cGASOw00F50LRrT9aDJb9wKzfozWrAyJjOeCBqMw8=; b=2/cUahjW4y57LVQE44hd+tAOq 6EY2sbWZ31w+ykj0Fz94+2SlR5FxmT8vnX7HCk2eSUagrrH4wiqulDhXcI5mq7jVM00e7Socb+7QW 2/J40J0zLdlh7zK2q3Bw2IvuMGN7O/GvlNvv93/2i/kxbBPn6JTKYNsNHl+1LxmzR7B/nzHnt01rS /roUcKthcLxz2YKjp9zKiQJx0xQTYJ/CQOF1rxb16Qqu9wtBFzyMLTWGpdOFyjBOWv8hHgCa240/L Bxn/LXi4pTyH+8dFehsruTsQQMQA4zEVOxenoqIYQswnTfTMQ9DNZpS4WtLT/oIKIgNLftlSzyu7u 0i6Mjed0A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pw-0002YN-4a; Fri, 06 Nov 2020 21:37:08 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pq-0002Vm-2a for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:06 +0000 Received: by mail-wm1-x341.google.com with SMTP id p22so2814894wmg.3 for ; Fri, 06 Nov 2020 13:37:01 -0800 (PST) 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=6k1rgmOCefV5rf9QkuupaTuT0YgnMPjbaR9fAX+QknE=; b=AvQYLR03xbicnhIfWhXEPPViOHs61cAWDcBBAqxMIf4hhzRHHR1/rYaxTzWUcYQ41l jBKu18wordjr8dVoLYX0J0VdnqWCmrXmE0Xxrr5bxuVMV4Li3B6SmzTdS6QnK760I+iC r0w56fOvAfzLGwxhPA5akV/jLc0Dor1wwDU+IGgFo8G6vvUHtbf6CmQfUcIwedXCrsrr ZVdAgDCcBPe+e+zYqr68HGyPRUgJecO462ljdpDLnm5aFTHMJZpgG6GnBb8KONOTt9g2 uixz6/8oSZb/9BA8H+UJuX6uzTM8PDk/IV+6Mu592JQN09pGrylflCQvp49U8sseQ+V1 yRrw== 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=6k1rgmOCefV5rf9QkuupaTuT0YgnMPjbaR9fAX+QknE=; b=uFSq4y0zy2itK0iuBqtqlfpLjojN71bE/U1x9U5IYnlmFFcQg8BS21NKr1GrS49mud X2cBd/p2xoXLRCfCR4IBW73Xq+3XoJDxDNC+LScRTiuIJ11VTnTFpSLgbgK0vMQa8v0z jjTqgYL/+gHg+01mU59Uuyg9p8cbI0IBlX9aBWkCYKSwBcZHR8+dSvBlmhu5SApAcP4w m1pvXf+WE5viYKSY+qtE0in9j9zKMLFqpj6b9hueX3Ti+IxuH2D7D9Ext99P4V+56X1W 0Y0O7Xn1ucE7qKxHrvWuT/X8nCebvfg1yjGZ7aj/4OTNmcaM8/rR4j/TG9M7yyc+TZjQ HG1g== X-Gm-Message-State: AOAM531INsFxZiHXC9YanF+vGtu2o7sgDzQcKZg1CQaLf+79VQ8ydkWi iUn8QlnNPmHoEGC0uRpxY6Xgqg== X-Received: by 2002:a1c:750b:: with SMTP id o11mr1686324wmc.32.1604698620981; Fri, 06 Nov 2020 13:37:00 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' Date: Fri, 6 Nov 2020 21:36:33 +0000 Message-Id: <20201106213655.1838861-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163702_164394_A02FD4AA X-CRM114-Status: GOOD ( 16.25 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Nicolas Pitre , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , David Woodhouse , Thomas Gleixner Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Nicolas Pitre Cc: Thomas Gleixner Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/mtdpart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index c3575b686f796..12ca4f19cb14a 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -292,7 +292,7 @@ EXPORT_SYMBOL_GPL(mtd_add_partition); /** * __mtd_del_partition - delete MTD partition * - * @priv: MTD structure to be deleted + * @mtd: MTD structure to be deleted * * This function must be called with the partitions mutex locked. */ From patchwork Fri Nov 6 21:36:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320818 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1649945ilc; Fri, 6 Nov 2020 13:37:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLh83SlXbsNCk4e3L4v7AFc/N3NwbBNnaxCiWRPJfmcFBDoRUBMuagHEK91d2i8XPAWeCv X-Received: by 2002:a1c:3103:: with SMTP id x3mr1550768wmx.107.1604698647993; Fri, 06 Nov 2020 13:37:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698647; cv=none; d=google.com; s=arc-20160816; b=jim+OejBovLIQqUJuSJffKPzrgAiNuJ47USlAiXrA9BFkJ8Ez6+7F7vcL6AMKpkf8b C5av/aZ8CvCq8CAusiDGcjHYsXzJT9rNuWosrYVjkbeyWzL6KdBUnrHfXgSWxcPRjeMo V16ICNR0pw2vOcDoCeNp7H3drmlqwesEg7I25pMoGjoBacmU6ii5/OkZJ1N/vKMUGNI/ j0mLi42h+Srx3Znienlk8g7d/xbGL2TcnZkgbqgmEjxNAoksIDcageT4/43WgXdhHEPz v/n97Y2Xey6lXMFSNCXonJVB/vAbyFkNt+MJplcgOCdaUwbf+Im+IEIfZbgyccOYh9tF dujw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=e+U3sS6H8bUecG4vRjwiNkWV128hPbbxApvqgzX5PHU=; b=r/kGJNRIMM86QE8hkz/rdht0MKW81H7QoXHfQLd8atkupxTAK0ywVAKo/4jwouiEyj MFOWQzYZAgRC2jSNP6OWpjO55UlPG93sVf71PDGwUJqPc1o9a43wOcUR35gL9fVESiPA JYHQYkZ4CccslDAhP9DL4rpzyFxqpbEiVwlCaz4/FtUyfnMHMZp3RA+czpP25P9hyEl2 zWVIEeKNH9ge/0ci5lY/uhiYEcSqpz9LTTwagQd6XWOhG8GVJ+1rYhbGhMMH2fVPaQeK 9tcy2Cjt3Kj0NTgBiPF4xjpwqqsc7AmGYsu5O0W1wZCP/7odCpR7qpqVmG3XJ5Y+1dWE vkBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=aIXbjtTP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zN3HMYCq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id l17si628630wrr.423.2020.11.06.13.37.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=aIXbjtTP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zN3HMYCq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=e+U3sS6H8bUecG4vRjwiNkWV128hPbbxApvqgzX5PHU=; b=aIXbjtTP1qSQ8EU4CF/tBS5OM WMfdRPCaw0oAtMOalWFBx1iqnGbQw7zhi18owKODNAHfSbuLXJMEYdQhtJ2qTRTCSokxGeJBmBNzm EAJV9JPxkmRUYowB5OQEfgX0nyVi+D/aP2Fnmbq3gPOjy9qiW8Uh5EyB/+p5RGMGq5v0KfRPuvEu3 sm49GFAi3Zg9Z02M9jKqImCuUb9+ZEzPrH4ftYSXeFETXVokmbnwu25s48NPWl7cWmtq6v4bp2lYc MpdlyfHZ7M3lZC6/s9EeSJ1oZIPgJ6tw5hV60CPgNjhl2ad6JFwXRWj55tIfXE2VjNX5ErbGq9KMK 1CWyeXn5A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q1-0002aY-6U; Fri, 06 Nov 2020 21:37:13 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pr-0002WF-G8 for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:09 +0000 Received: by mail-wr1-x442.google.com with SMTP id y12so2770920wrp.6 for ; Fri, 06 Nov 2020 13:37:03 -0800 (PST) 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=S8hCxezfBEukY2Vv+vLD9fRtFnmoWP6TcMu+uvwdTys=; b=zN3HMYCqikaYDuFdN2FyT7u1VRBPEI1jhuTxeWKaEIUEJEKqczXhiXmdNxeF6BmXsf xW9j8LJ7SzpuZcqhnLLyfNyoIW3rdRprihAgL0oTBi0RnS2fkAFBNYUSTGrj88V70rLT 0MV45KU6Qa96eMsyRzSVrCgdDVY6iHGNGWgKOWMcPME6nSjytk/o1eP6y+ligHh3cIiA ryg/AXa0ihDFKoEXvUeOkxw2wGY0RyCYut+/y33995zEnQ6MiLrd1IPWtY99+no3nP08 F4Y34O0g62eVXcCb4JnpX+dBzbAfsNVK2uSnuRCjxVglxPBkgPW1LFnuS9LMkG4JwOId f5OQ== 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=S8hCxezfBEukY2Vv+vLD9fRtFnmoWP6TcMu+uvwdTys=; b=GGsYqtwrfBZqy8Fu73chGqJ/FdEr7nLpgN8FiN9a8/XjzTam4js9/85H7Fqud0E1Gy 44/5y7X9N7OmSYtuDBnnNp0eWGZbalPLfk5ndvg71n/sAq5NtY8FsaAkHW+h55YjTPOT YuGQpAHWk7RE5XmaDNf57pI3qMcM1+QEM4A7y3lCssM77FRdw8sp+wtJAbXf+LN1NewN 93X51By/ahtcdwW3WhuodHZWnrbowvy6zj5h6rlwypYSovscwxpy49Vwy4vNWOn2UG7J KdaFAtaqyw9/iE0Oh2/wpOkQYBWFkOVQs7r42MCPz2MaJ+Nj6s9fVr4YC3aggIK90KBL h5/A== X-Gm-Message-State: AOAM5325YwwS+FLeLoge9bas2/3Q8ZXhaXE+Zfd27F6GdtslSYGJxK1Z Li7J+lnfwaIwkb4rqAk+TXQLJg== X-Received: by 2002:adf:ce12:: with SMTP id p18mr4707669wrn.52.1604698622355; Fri, 06 Nov 2020 13:37:02 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 02/23] mtd: devices: phram: File headers are not good candidates for kernel-doc Date: Fri, 6 Nov 2020 21:36:34 +0000 Message-Id: <20201106213655.1838861-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163703_561729_B9790B42 X-CRM114-Status: GOOD ( 14.25 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , =?utf-8?q?Jochen_Sch=C3=A4?= =?utf-8?q?uble?= Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: "Jochen Schäuble" Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/devices/phram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c index 087b5e86d1bfb..9e4d60bd427fb 100644 --- a/drivers/mtd/devices/phram.c +++ b/drivers/mtd/devices/phram.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) ???? Jochen Schäuble * Copyright (c) 2003-2004 Joern Engel * From patchwork Fri Nov 6 21:36:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320830 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651112ilc; Fri, 6 Nov 2020 13:39:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsHag3jT+z366N3EnFo3FhAsgxABdqFdVAM3icOKjFkl0GO6pTtgqwfAb5GZ1H+CSdH8JX X-Received: by 2002:a7b:c0d7:: with SMTP id s23mr1748119wmh.54.1604698770454; Fri, 06 Nov 2020 13:39:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698770; cv=none; d=google.com; s=arc-20160816; b=IchmqTh1PWWnBoQ+ZcxN+hgXzw1WWV1mCeTkqBjsxRrYDgbdgOtDAyYuFCSQW5UaiP j+VuntKvCsIJxjaPcGKmi729ndRxosaRO1Yp2joBT844HDAFNdq9oDG5BGJnoTka/vYH fFT3C5YsmjBws5NpAJODvhHx0Q/pP2drmjxOg8UIawijCtFODd6BSqqwykqwjRmZembY WiM/i4cVqRwha4Vn2eqxnvwtnu4QaqIvIcxmzj1HbWCPFGhSOxaVCyGq+D4ll7cXQ91f v44Vl6w+83f7kXoguW7YBZCWt5EwWYnFRpNM3Lu+mxj31OMnhVaDuniBQHWM5L1GxBC6 9Qgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=I5Qzq+0ubxkGUiovHLDg+IHJkbUZyxVJAcJrGADOVF4=; b=qTuhkjQUk22wC+n3m93Ic2S2wnIM3Z6CpASr/wTQUo6atQnlPJ0PNcCtL95oeGpYud hsiXToAQmAaZbkaxxKKq2vtPp6KeCxtinqmkGysvTV7jwkVgPL84dLCCHMyOTR8y1cIt TfH43U3zX4E5weZXInXl63dvBRv3QNBCpbqo0kA6/LKtG8CgA56wdTeP3p1GLxqMBdHc IqmLnwxkhM8wYDJHJKNmG3I9lfJiiXTsOlrEKzEO7uqNCmIgZjX9LNjkBRfdJLgstAJp TlK2IdGkEzz7GKIsvuXgoitZQrugxiREY370uHLdOO4Xer32tFtO/Z243UjX066e44NR sJmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Lq3pAeUw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="r/my7Wbp"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id l3si2992335wmg.65.2020.11.06.13.39.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Lq3pAeUw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="r/my7Wbp"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I5Qzq+0ubxkGUiovHLDg+IHJkbUZyxVJAcJrGADOVF4=; b=Lq3pAeUw+ipwmiG921UrLRlx3 mxg/dgYEa7WBOxQ2ZnLvOkjXT28PnqEFQtXAV2Sz2XPq3CfXj9iFAHs+BBhUb8qYTTfcWsSrTXZOa dXemfH8ZBam9Z2eEpNb7W0eVIIcwJN7VkDGJkzd3fxViLaWVAH+rXYd10N/PlaXJeFgI4zsL/83jU okbqdJpF4nvzUbE2eCPkNgLm6kp2OLMUVKRWbRsWkzjfJb6FqWxgtXY01sUsi+dfB4Wa+blbQhJWo Y8+OvInCjMVlC3m6DUHWE8DWKM9pT5amT2J4naFuaE24+PVM43fCn24eoJHZ9e3xu2XKy+47NQysW eZpFwR3Yw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Qp-0002xr-1L; Fri, 06 Nov 2020 21:38:03 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pt-0002Wy-5W for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:20 +0000 Received: by mail-wm1-x344.google.com with SMTP id c9so2819549wml.5 for ; Fri, 06 Nov 2020 13:37:04 -0800 (PST) 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=9CIbThDh8w4ecoFBEiHRVWIUMSh9NKlwBvM35bRIyLc=; b=r/my7WbpEOyCCzdAYJHenJY7+ZRTPML12M8gxtN/c7mVmjJKeYdiP0jqSyW1m3IRd9 XJK6bSw+iQp0YL+ssmWV2y0xOABLvncM8tNU3LtGydQpetfHyAPKM80sYrhCpEoBBN22 JAFr6miL4B+fluBPVb0jHhFE5EMdDq0ISc1wqhFOJw116YXiD1gZAsFINwb72gZvVkMY 1NtZZ+OfrzHrKt/zjGtlnqC+Bq0wt79kmG9KPs67KEanmR931uyFgTFhsIvs3wDzNVIx +JNYtmb66IuzMTF3p01+tHFnhDJ6Q+aG3bpa6nTiqgXFnIIJGhAs0DuFyiolioXTw6zn TmAA== 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=9CIbThDh8w4ecoFBEiHRVWIUMSh9NKlwBvM35bRIyLc=; b=TBc94Nen0R6EZ/4nRV7ynPsKtRBzpBwee232jhMA4FhmtLZ5SwvEP5IHS1P8yKhRvC NCpFXF7K2LlwmTyGwjaTKHgSCTokSsMqqRFunpxXR3d06rK52EuODsS/p/Ic/wLvL0Q0 6Ai1FNzXuJWs+U+XUFixpHOGEAqR1cj1cfsB/WPLWQS/ne/E+T41AyvZgYd0B7WR84gp vP+g1g56+VGNU9URGD/318PX8VwDqJAc+9evyT9HSeZ3mIy2bxThQp/UX3HCE2d/wosu ggwdxqpbytzYg0df9+aNULnHRuR2y255vmD2avGrjlv21IhsYbP5Rn0F2DFBiJeB2WE0 10bQ== X-Gm-Message-State: AOAM531nCcUVzM6La3x42x26YDarAz2pZEF+g1qCFg2mej2CN4jLydRq 6XA/VUVnz8ximBFf+prIJU0k8w== X-Received: by 2002:a7b:c08e:: with SMTP id r14mr1605124wmh.165.1604698623933; Fri, 06 Nov 2020 13:37:03 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 03/23] mtd: nand: onenand: onenand_base: Fix expected kernel-doc formatting Date: Fri, 6 Nov 2020 21:36:35 +0000 Message-Id: <20201106213655.1838861-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163705_270066_DA750061 X-CRM114-Status: GOOD ( 22.30 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Kyungmin Park , linux-mtd@lists.infradead.org, Miquel Raynal , Adrian Hunter Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'mtd' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'section' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'oobregion' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:200: warning: Function parameter or member 'addr' not described in 'onenand_readw' drivers/mtd/nand/onenand/onenand_base.c:212: warning: Function parameter or member 'value' not described in 'onenand_writew' drivers/mtd/nand/onenand/onenand_base.c:212: warning: Function parameter or member 'addr' not described in 'onenand_writew' drivers/mtd/nand/onenand/onenand_base.c:225: warning: Function parameter or member 'this' not described in 'onenand_block_address' drivers/mtd/nand/onenand/onenand_base.c:225: warning: Function parameter or member 'block' not described in 'onenand_block_address' drivers/mtd/nand/onenand/onenand_base.c:242: warning: Function parameter or member 'this' not described in 'onenand_bufferram_address' drivers/mtd/nand/onenand/onenand_base.c:242: warning: Function parameter or member 'block' not described in 'onenand_bufferram_address' NB: Snipped 200 lines for brevity. Cc: Kyungmin Park Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Adrian Hunter Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/onenand/onenand_base.c | 438 ++++++++++++------------ 1 file changed, 219 insertions(+), 219 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/onenand/onenand_base.c b/drivers/mtd/nand/onenand/onenand_base.c index 188b8061e1f79..9fca3988ee236 100644 --- a/drivers/mtd/nand/onenand/onenand_base.c +++ b/drivers/mtd/nand/onenand/onenand_base.c @@ -192,7 +192,7 @@ static const unsigned char ffchars[] = { /** * onenand_readw - [OneNAND Interface] Read OneNAND register - * @param addr address to read + * @addr: address to read * * Read OneNAND register */ @@ -203,8 +203,8 @@ static unsigned short onenand_readw(void __iomem *addr) /** * onenand_writew - [OneNAND Interface] Write OneNAND register with value - * @param value value to write - * @param addr address to write + * @value: value to write + * @addr: address to write * * Write OneNAND register with value */ @@ -215,8 +215,8 @@ static void onenand_writew(unsigned short value, void __iomem *addr) /** * onenand_block_address - [DEFAULT] Get block address - * @param this onenand chip data structure - * @param block the block + * @this: onenand chip data structure + * @block: the block * @return translated block address if DDP, otherwise same * * Setup Start Address 1 Register (F100h) @@ -232,8 +232,8 @@ static int onenand_block_address(struct onenand_chip *this, int block) /** * onenand_bufferram_address - [DEFAULT] Get bufferram address - * @param this onenand chip data structure - * @param block the block + * @this: onenand chip data structure + * @block: the block * @return set DBS value if DDP, otherwise 0 * * Setup Start Address 2 Register (F101h) for DDP @@ -249,8 +249,8 @@ static int onenand_bufferram_address(struct onenand_chip *this, int block) /** * onenand_page_address - [DEFAULT] Get page address - * @param page the page address - * @param sector the sector address + * @page: the page address + * @sector: the sector address * @return combined page and sector address * * Setup Start Address 8 Register (F107h) @@ -268,9 +268,9 @@ static int onenand_page_address(int page, int sector) /** * onenand_buffer_address - [DEFAULT] Get buffer address - * @param dataram1 DataRAM index - * @param sectors the sector address - * @param count the number of sectors + * @dataram1: DataRAM index + * @sectors: the sector address + * @count: the number of sectors * @return the start buffer value * * Setup Start Buffer Register (F200h) @@ -295,8 +295,8 @@ static int onenand_buffer_address(int dataram1, int sectors, int count) /** * flexonenand_block- For given address return block number - * @param this - OneNAND device structure - * @param addr - Address for which block number is needed + * @this: - OneNAND device structure + * @addr: - Address for which block number is needed */ static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) { @@ -359,7 +359,7 @@ EXPORT_SYMBOL(onenand_addr); /** * onenand_get_density - [DEFAULT] Get OneNAND density - * @param dev_id OneNAND device ID + * @dev_id: OneNAND device ID * * Get OneNAND density from device ID */ @@ -371,8 +371,8 @@ static inline int onenand_get_density(int dev_id) /** * flexonenand_region - [Flex-OneNAND] Return erase region of addr - * @param mtd MTD device structure - * @param addr address whose erase region needs to be identified + * @mtd: MTD device structure + * @addr: address whose erase region needs to be identified */ int flexonenand_region(struct mtd_info *mtd, loff_t addr) { @@ -387,10 +387,10 @@ EXPORT_SYMBOL(flexonenand_region); /** * onenand_command - [DEFAULT] Send command to OneNAND device - * @param mtd MTD device structure - * @param cmd the command to be sent - * @param addr offset to read from or write to - * @param len number of bytes to read or write + * @mtd: MTD device structure + * @cmd: the command to be sent + * @addr: offset to read from or write to + * @len: number of bytes to read or write * * Send command to OneNAND device. This function is used for middle/large page * devices (1KB/2KB Bytes per page) @@ -519,7 +519,7 @@ static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t le /** * onenand_read_ecc - return ecc status - * @param this onenand chip structure + * @this: onenand chip structure */ static inline int onenand_read_ecc(struct onenand_chip *this) { @@ -543,8 +543,8 @@ static inline int onenand_read_ecc(struct onenand_chip *this) /** * onenand_wait - [DEFAULT] wait until the command is done - * @param mtd MTD device structure - * @param state state to select the max. timeout value + * @mtd: MTD device structure + * @state: state to select the max. timeout value * * Wait for command done. This applies to all OneNAND command * Read can take up to 30us, erase up to 2ms and program up to 350us @@ -625,8 +625,8 @@ static int onenand_wait(struct mtd_info *mtd, int state) /* * onenand_interrupt - [DEFAULT] onenand interrupt handler - * @param irq onenand interrupt number - * @param dev_id interrupt data + * @irq: onenand interrupt number + * @dev_id: interrupt data * * complete the work */ @@ -643,8 +643,8 @@ static irqreturn_t onenand_interrupt(int irq, void *data) /* * onenand_interrupt_wait - [DEFAULT] wait until the command is done - * @param mtd MTD device structure - * @param state state to select the max. timeout value + * @mtd: MTD device structure + * @state: state to select the max. timeout value * * Wait for command done. */ @@ -659,8 +659,8 @@ static int onenand_interrupt_wait(struct mtd_info *mtd, int state) /* * onenand_try_interrupt_wait - [DEFAULT] try interrupt wait - * @param mtd MTD device structure - * @param state state to select the max. timeout value + * @mtd: MTD device structure + * @state: state to select the max. timeout value * * Try interrupt based wait (It is used one-time) */ @@ -689,7 +689,7 @@ static int onenand_try_interrupt_wait(struct mtd_info *mtd, int state) /* * onenand_setup_wait - [OneNAND Interface] setup onenand wait method - * @param mtd MTD device structure + * @mtd: MTD device structure * * There's two method to wait onenand work * 1. polling - read interrupt status register @@ -724,8 +724,8 @@ static void onenand_setup_wait(struct mtd_info *mtd) /** * onenand_bufferram_offset - [DEFAULT] BufferRAM offset - * @param mtd MTD data structure - * @param area BufferRAM area + * @mtd: MTD data structure + * @area: BufferRAM area * @return offset given area * * Return BufferRAM offset given area @@ -747,11 +747,11 @@ static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) /** * onenand_read_bufferram - [OneNAND Interface] Read the bufferram area - * @param mtd MTD data structure - * @param area BufferRAM area - * @param buffer the databuffer to put/get data - * @param offset offset to read from or write to - * @param count number of bytes to read/write + * @mtd: MTD data structure + * @area: BufferRAM area + * @buffer: the databuffer to put/get data + * @offset: offset to read from or write to + * @count: number of bytes to read/write * * Read the BufferRAM area */ @@ -783,11 +783,11 @@ static int onenand_read_bufferram(struct mtd_info *mtd, int area, /** * onenand_sync_read_bufferram - [OneNAND Interface] Read the bufferram area with Sync. Burst mode - * @param mtd MTD data structure - * @param area BufferRAM area - * @param buffer the databuffer to put/get data - * @param offset offset to read from or write to - * @param count number of bytes to read/write + * @mtd: MTD data structure + * @area: BufferRAM area + * @buffer: the databuffer to put/get data + * @offset: offset to read from or write to + * @count: number of bytes to read/write * * Read the BufferRAM area with Sync. Burst Mode */ @@ -823,11 +823,11 @@ static int onenand_sync_read_bufferram(struct mtd_info *mtd, int area, /** * onenand_write_bufferram - [OneNAND Interface] Write the bufferram area - * @param mtd MTD data structure - * @param area BufferRAM area - * @param buffer the databuffer to put/get data - * @param offset offset to read from or write to - * @param count number of bytes to read/write + * @mtd: MTD data structure + * @area: BufferRAM area + * @buffer: the databuffer to put/get data + * @offset: offset to read from or write to + * @count: number of bytes to read/write * * Write the BufferRAM area */ @@ -864,8 +864,8 @@ static int onenand_write_bufferram(struct mtd_info *mtd, int area, /** * onenand_get_2x_blockpage - [GENERIC] Get blockpage at 2x program mode - * @param mtd MTD data structure - * @param addr address to check + * @mtd: MTD data structure + * @addr: address to check * @return blockpage address * * Get blockpage address at 2x program mode @@ -888,8 +888,8 @@ static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr) /** * onenand_check_bufferram - [GENERIC] Check BufferRAM information - * @param mtd MTD data structure - * @param addr address to check + * @mtd: MTD data structure + * @addr: address to check * @return 1 if there are valid data, otherwise 0 * * Check bufferram if there is data we required @@ -930,9 +930,9 @@ static int onenand_check_bufferram(struct mtd_info *mtd, loff_t addr) /** * onenand_update_bufferram - [GENERIC] Update BufferRAM information - * @param mtd MTD data structure - * @param addr address to update - * @param valid valid flag + * @mtd: MTD data structure + * @addr: address to update + * @valid: valid flag * * Update BufferRAM information */ @@ -963,9 +963,9 @@ static void onenand_update_bufferram(struct mtd_info *mtd, loff_t addr, /** * onenand_invalidate_bufferram - [GENERIC] Invalidate BufferRAM information - * @param mtd MTD data structure - * @param addr start address to invalidate - * @param len length to invalidate + * @mtd: MTD data structure + * @addr: start address to invalidate + * @len: length to invalidate * * Invalidate BufferRAM information */ @@ -986,8 +986,8 @@ static void onenand_invalidate_bufferram(struct mtd_info *mtd, loff_t addr, /** * onenand_get_device - [GENERIC] Get chip for selected access - * @param mtd MTD device structure - * @param new_state the state which is requested + * @mtd: MTD device structure + * @new_state: the state which is requested * * Get the device and lock it for exclusive access */ @@ -1024,7 +1024,7 @@ static int onenand_get_device(struct mtd_info *mtd, int new_state) /** * onenand_release_device - [GENERIC] release chip - * @param mtd MTD device structure + * @mtd: MTD device structure * * Deselect, release chip lock and wake up anyone waiting on the device */ @@ -1043,10 +1043,10 @@ static void onenand_release_device(struct mtd_info *mtd) /** * onenand_transfer_auto_oob - [INTERN] oob auto-placement transfer - * @param mtd MTD device structure - * @param buf destination address - * @param column oob offset to read from - * @param thislen oob length to read + * @mtd: MTD device structure + * @buf: destination address + * @column: oob offset to read from + * @thislen: oob length to read */ static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, int thislen) @@ -1061,9 +1061,9 @@ static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int col /** * onenand_recover_lsb - [Flex-OneNAND] Recover LSB page data - * @param mtd MTD device structure - * @param addr address to recover - * @param status return value from onenand_wait / onenand_bbt_wait + * @mtd: MTD device structure + * @addr: address to recover + * @status: return value from onenand_wait / onenand_bbt_wait * * MLC NAND Flash cell has paired pages - LSB page and MSB page. LSB page has * lower page address and MSB page has higher page address in paired pages. @@ -1104,9 +1104,9 @@ static int onenand_recover_lsb(struct mtd_info *mtd, loff_t addr, int status) /** * onenand_mlc_read_ops_nolock - MLC OneNAND read main and/or out-of-band - * @param mtd MTD device structure - * @param from offset to read from - * @param ops: oob operation description structure + * @mtd: MTD device structure + * @from: offset to read from + * @ops: oob operation description structure * * MLC OneNAND / Flex-OneNAND has 4KB page size and 4KB dataram. * So, read-while-load is not present. @@ -1206,9 +1206,9 @@ static int onenand_mlc_read_ops_nolock(struct mtd_info *mtd, loff_t from, /** * onenand_read_ops_nolock - [OneNAND Interface] OneNAND read main and/or out-of-band - * @param mtd MTD device structure - * @param from offset to read from - * @param ops: oob operation description structure + * @mtd: MTD device structure + * @from: offset to read from + * @ops: oob operation description structure * * OneNAND read main and/or out-of-band data */ @@ -1335,9 +1335,9 @@ static int onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from, /** * onenand_read_oob_nolock - [MTD Interface] OneNAND read out-of-band - * @param mtd MTD device structure - * @param from offset to read from - * @param ops: oob operation description structure + * @mtd: MTD device structure + * @from: offset to read from + * @ops: oob operation description structure * * OneNAND read out-of-band data from the spare area */ @@ -1430,9 +1430,9 @@ static int onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from, /** * onenand_read_oob - [MTD Interface] Read main and/or out-of-band - * @param mtd: MTD device structure - * @param from: offset to read from - * @param ops: oob operation description structure + * @mtd: MTD device structure + * @from: offset to read from + * @ops: oob operation description structure * Read main and/or out-of-band */ @@ -1466,8 +1466,8 @@ static int onenand_read_oob(struct mtd_info *mtd, loff_t from, /** * onenand_bbt_wait - [DEFAULT] wait until the command is done - * @param mtd MTD device structure - * @param state state to select the max. timeout value + * @mtd: MTD device structure + * @state: state to select the max. timeout value * * Wait for command done. */ @@ -1517,9 +1517,9 @@ static int onenand_bbt_wait(struct mtd_info *mtd, int state) /** * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan - * @param mtd MTD device structure - * @param from offset to read from - * @param ops oob operation description structure + * @mtd: MTD device structure + * @from: offset to read from + * @ops: oob operation description structure * * OneNAND read out-of-band data from the spare area for bbt scan */ @@ -1594,9 +1594,9 @@ int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, #ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE /** * onenand_verify_oob - [GENERIC] verify the oob contents after a write - * @param mtd MTD device structure - * @param buf the databuffer to verify - * @param to offset to read from + * @mtd: MTD device structure + * @buf: the databuffer to verify + * @to: offset to read from */ static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) { @@ -1622,10 +1622,10 @@ static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to /** * onenand_verify - [GENERIC] verify the chip contents after a write - * @param mtd MTD device structure - * @param buf the databuffer to verify - * @param addr offset to read from - * @param len number of bytes to read and compare + * @mtd: MTD device structure + * @buf: the databuffer to verify + * @addr: offset to read from + * @len: number of bytes to read and compare */ static int onenand_verify(struct mtd_info *mtd, const u_char *buf, loff_t addr, size_t len) { @@ -1684,11 +1684,11 @@ static void onenand_panic_wait(struct mtd_info *mtd) /** * onenand_panic_write - [MTD Interface] write buffer to FLASH in a panic context - * @param mtd MTD device structure - * @param to offset to write to - * @param len number of bytes to write - * @param retlen pointer to variable to store the number of written bytes - * @param buf the data to write + * @mtd: MTD device structure + * @to: offset to write to + * @len: number of bytes to write + * @retlen: pointer to variable to store the number of written bytes + * @buf: the data to write * * Write with ECC */ @@ -1762,11 +1762,11 @@ static int onenand_panic_write(struct mtd_info *mtd, loff_t to, size_t len, /** * onenand_fill_auto_oob - [INTERN] oob auto-placement transfer - * @param mtd MTD device structure - * @param oob_buf oob buffer - * @param buf source address - * @param column oob offset to write to - * @param thislen oob length to write + * @mtd: MTD device structure + * @oob_buf: oob buffer + * @buf: source address + * @column: oob offset to write to + * @thislen: oob length to write */ static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) @@ -1776,9 +1776,9 @@ static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, /** * onenand_write_ops_nolock - [OneNAND Interface] write main and/or out-of-band - * @param mtd MTD device structure - * @param to offset to write to - * @param ops oob operation description structure + * @mtd: MTD device structure + * @to: offset to write to + * @ops: oob operation description structure * * Write main and/or oob with ECC */ @@ -1957,12 +1957,12 @@ static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, /** * onenand_write_oob_nolock - [INTERN] OneNAND write out-of-band - * @param mtd MTD device structure - * @param to offset to write to - * @param len number of bytes to write - * @param retlen pointer to variable to store the number of written bytes - * @param buf the data to write - * @param mode operation mode + * @mtd: MTD device structure + * @to: offset to write to + * @len: number of bytes to write + * @retlen: pointer to variable to store the number of written bytes + * @buf: the data to write + * @mode: operation mode * * OneNAND write out-of-band */ @@ -2070,9 +2070,9 @@ static int onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, /** * onenand_write_oob - [MTD Interface] NAND write data and/or out-of-band - * @param mtd: MTD device structure - * @param to: offset to write - * @param ops: oob operation description structure + * @mtd: MTD device structure + * @to: offset to write + * @ops: oob operation description structure */ static int onenand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) @@ -2101,9 +2101,9 @@ static int onenand_write_oob(struct mtd_info *mtd, loff_t to, /** * onenand_block_isbad_nolock - [GENERIC] Check if a block is marked bad - * @param mtd MTD device structure - * @param ofs offset from device start - * @param allowbbt 1, if its allowed to access the bbt area + * @mtd: MTD device structure + * @ofs: offset from device start + * @allowbbt: 1, if its allowed to access the bbt area * * Check, if the block is bad. Either by reading the bad block table or * calling of the scan function. @@ -2144,9 +2144,9 @@ static int onenand_multiblock_erase_verify(struct mtd_info *mtd, /** * onenand_multiblock_erase - [INTERN] erase block(s) using multiblock erase - * @param mtd MTD device structure - * @param instr erase instruction - * @param region erase region + * @mtd: MTD device structure + * @instr: erase instruction + * @region: erase region * * Erase one or more blocks up to 64 block at a time */ @@ -2254,10 +2254,10 @@ static int onenand_multiblock_erase(struct mtd_info *mtd, /** * onenand_block_by_block_erase - [INTERN] erase block(s) using regular erase - * @param mtd MTD device structure - * @param instr erase instruction - * @param region erase region - * @param block_size erase block size + * @mtd: MTD device structure + * @instr: erase instruction + * @region: erase region + * @block_size: erase block size * * Erase one or more blocks one block at a time */ @@ -2326,8 +2326,8 @@ static int onenand_block_by_block_erase(struct mtd_info *mtd, /** * onenand_erase - [MTD Interface] erase block(s) - * @param mtd MTD device structure - * @param instr erase instruction + * @mtd: MTD device structure + * @instr: erase instruction * * Erase one or more blocks */ @@ -2391,7 +2391,7 @@ static int onenand_erase(struct mtd_info *mtd, struct erase_info *instr) /** * onenand_sync - [MTD Interface] sync - * @param mtd MTD device structure + * @mtd: MTD device structure * * Sync is actually a wait for chip ready function */ @@ -2408,8 +2408,8 @@ static void onenand_sync(struct mtd_info *mtd) /** * onenand_block_isbad - [MTD Interface] Check whether the block at the given offset is bad - * @param mtd MTD device structure - * @param ofs offset relative to mtd start + * @mtd: MTD device structure + * @ofs: offset relative to mtd start * * Check whether the block is bad */ @@ -2425,8 +2425,8 @@ static int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs) /** * onenand_default_block_markbad - [DEFAULT] mark a block bad - * @param mtd MTD device structure - * @param ofs offset from device start + * @mtd: MTD device structure + * @ofs: offset from device start * * This is the default implementation, which can be overridden by * a hardware specific driver. @@ -2460,8 +2460,8 @@ static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) /** * onenand_block_markbad - [MTD Interface] Mark the block at the given offset as bad - * @param mtd MTD device structure - * @param ofs offset relative to mtd start + * @mtd: MTD device structure + * @ofs: offset relative to mtd start * * Mark the block as bad */ @@ -2486,10 +2486,10 @@ static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs) /** * onenand_do_lock_cmd - [OneNAND Interface] Lock or unlock block(s) - * @param mtd MTD device structure - * @param ofs offset relative to mtd start - * @param len number of bytes to lock or unlock - * @param cmd lock or unlock command + * @mtd: MTD device structure + * @ofs: offset relative to mtd start + * @len: number of bytes to lock or unlock + * @cmd: lock or unlock command * * Lock or unlock one or more blocks */ @@ -2566,9 +2566,9 @@ static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int /** * onenand_lock - [MTD Interface] Lock block(s) - * @param mtd MTD device structure - * @param ofs offset relative to mtd start - * @param len number of bytes to unlock + * @mtd: MTD device structure + * @ofs: offset relative to mtd start + * @len: number of bytes to unlock * * Lock one or more blocks */ @@ -2584,9 +2584,9 @@ static int onenand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) /** * onenand_unlock - [MTD Interface] Unlock block(s) - * @param mtd MTD device structure - * @param ofs offset relative to mtd start - * @param len number of bytes to unlock + * @mtd: MTD device structure + * @ofs: offset relative to mtd start + * @len: number of bytes to unlock * * Unlock one or more blocks */ @@ -2602,7 +2602,7 @@ static int onenand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) /** * onenand_check_lock_status - [OneNAND Interface] Check lock status - * @param this onenand chip data structure + * @this: onenand chip data structure * * Check lock status */ @@ -2636,7 +2636,7 @@ static int onenand_check_lock_status(struct onenand_chip *this) /** * onenand_unlock_all - [OneNAND Interface] unlock all blocks - * @param mtd MTD device structure + * @mtd: MTD device structure * * Unlock all blocks */ @@ -2683,10 +2683,10 @@ static void onenand_unlock_all(struct mtd_info *mtd) /** * onenand_otp_command - Send OTP specific command to OneNAND device - * @param mtd MTD device structure - * @param cmd the command to be sent - * @param addr offset to read from or write to - * @param len number of bytes to read or write + * @mtd: MTD device structure + * @cmd: the command to be sent + * @addr: offset to read from or write to + * @len: number of bytes to read or write */ static int onenand_otp_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) @@ -2758,11 +2758,11 @@ static int onenand_otp_command(struct mtd_info *mtd, int cmd, loff_t addr, /** * onenand_otp_write_oob_nolock - [INTERN] OneNAND write out-of-band, specific to OTP - * @param mtd MTD device structure - * @param to offset to write to - * @param len number of bytes to write - * @param retlen pointer to variable to store the number of written bytes - * @param buf the data to write + * @mtd: MTD device structure + * @to: offset to write to + * @len: number of bytes to write + * @retlen: pointer to variable to store the number of written bytes + * @buf: the data to write * * OneNAND write out-of-band only for OTP */ @@ -2889,11 +2889,11 @@ typedef int (*otp_op_t)(struct mtd_info *mtd, loff_t form, size_t len, /** * do_otp_read - [DEFAULT] Read OTP block area - * @param mtd MTD device structure - * @param from The offset to read - * @param len number of bytes to read - * @param retlen pointer to variable to store the number of readbytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @from: The offset to read + * @len: number of bytes to read + * @retlen: pointer to variable to store the number of readbytes + * @buf: the databuffer to put/get data * * Read OTP block area. */ @@ -2926,11 +2926,11 @@ static int do_otp_read(struct mtd_info *mtd, loff_t from, size_t len, /** * do_otp_write - [DEFAULT] Write OTP block area - * @param mtd MTD device structure - * @param to The offset to write - * @param len number of bytes to write - * @param retlen pointer to variable to store the number of write bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @to: The offset to write + * @len: number of bytes to write + * @retlen: pointer to variable to store the number of write bytes + * @buf: the databuffer to put/get data * * Write OTP block area. */ @@ -2970,11 +2970,11 @@ static int do_otp_write(struct mtd_info *mtd, loff_t to, size_t len, /** * do_otp_lock - [DEFAULT] Lock OTP block area - * @param mtd MTD device structure - * @param from The offset to lock - * @param len number of bytes to lock - * @param retlen pointer to variable to store the number of lock bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @from: The offset to lock + * @len: number of bytes to lock + * @retlen: pointer to variable to store the number of lock bytes + * @buf: the databuffer to put/get data * * Lock OTP block area. */ @@ -3018,13 +3018,13 @@ static int do_otp_lock(struct mtd_info *mtd, loff_t from, size_t len, /** * onenand_otp_walk - [DEFAULT] Handle OTP operation - * @param mtd MTD device structure - * @param from The offset to read/write - * @param len number of bytes to read/write - * @param retlen pointer to variable to store the number of read bytes - * @param buf the databuffer to put/get data - * @param action do given action - * @param mode specify user and factory + * @mtd: MTD device structure + * @from: The offset to read/write + * @len: number of bytes to read/write + * @retlen: pointer to variable to store the number of read bytes + * @buf: the databuffer to put/get data + * @action: do given action + * @mode: specify user and factory * * Handle OTP operation. */ @@ -3099,10 +3099,10 @@ static int onenand_otp_walk(struct mtd_info *mtd, loff_t from, size_t len, /** * onenand_get_fact_prot_info - [MTD Interface] Read factory OTP info - * @param mtd MTD device structure - * @param len number of bytes to read - * @param retlen pointer to variable to store the number of read bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @len: number of bytes to read + * @retlen: pointer to variable to store the number of read bytes + * @buf: the databuffer to put/get data * * Read factory OTP info. */ @@ -3115,11 +3115,11 @@ static int onenand_get_fact_prot_info(struct mtd_info *mtd, size_t len, /** * onenand_read_fact_prot_reg - [MTD Interface] Read factory OTP area - * @param mtd MTD device structure - * @param from The offset to read - * @param len number of bytes to read - * @param retlen pointer to variable to store the number of read bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @from: The offset to read + * @len: number of bytes to read + * @retlen: pointer to variable to store the number of read bytes + * @buf: the databuffer to put/get data * * Read factory OTP area. */ @@ -3131,10 +3131,10 @@ static int onenand_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, /** * onenand_get_user_prot_info - [MTD Interface] Read user OTP info - * @param mtd MTD device structure - * @param retlen pointer to variable to store the number of read bytes - * @param len number of bytes to read - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @retlen: pointer to variable to store the number of read bytes + * @len: number of bytes to read + * @buf: the databuffer to put/get data * * Read user OTP info. */ @@ -3147,11 +3147,11 @@ static int onenand_get_user_prot_info(struct mtd_info *mtd, size_t len, /** * onenand_read_user_prot_reg - [MTD Interface] Read user OTP area - * @param mtd MTD device structure - * @param from The offset to read - * @param len number of bytes to read - * @param retlen pointer to variable to store the number of read bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @from: The offset to read + * @len: number of bytes to read + * @retlen: pointer to variable to store the number of read bytes + * @buf: the databuffer to put/get data * * Read user OTP area. */ @@ -3163,11 +3163,11 @@ static int onenand_read_user_prot_reg(struct mtd_info *mtd, loff_t from, /** * onenand_write_user_prot_reg - [MTD Interface] Write user OTP area - * @param mtd MTD device structure - * @param from The offset to write - * @param len number of bytes to write - * @param retlen pointer to variable to store the number of write bytes - * @param buf the databuffer to put/get data + * @mtd: MTD device structure + * @from: The offset to write + * @len: number of bytes to write + * @retlen: pointer to variable to store the number of write bytes + * @buf: the databuffer to put/get data * * Write user OTP area. */ @@ -3179,9 +3179,9 @@ static int onenand_write_user_prot_reg(struct mtd_info *mtd, loff_t from, /** * onenand_lock_user_prot_reg - [MTD Interface] Lock user OTP area - * @param mtd MTD device structure - * @param from The offset to lock - * @param len number of bytes to unlock + * @mtd: MTD device structure + * @from: The offset to lock + * @len: number of bytes to unlock * * Write lock mark on spare area in page 0 in OTP block */ @@ -3234,7 +3234,7 @@ static int onenand_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, /** * onenand_check_features - Check and set OneNAND features - * @param mtd MTD data structure + * @mtd: MTD data structure * * Check and set OneNAND features * - lock scheme @@ -3324,8 +3324,8 @@ static void onenand_check_features(struct mtd_info *mtd) /** * onenand_print_device_info - Print device & version ID - * @param device device ID - * @param version version ID + * @device: device ID + * @version: version ID * * Print device & version ID */ @@ -3355,7 +3355,7 @@ static const struct onenand_manufacturers onenand_manuf_ids[] = { /** * onenand_check_maf - Check manufacturer ID - * @param manuf manufacturer ID + * @manuf: manufacturer ID * * Check manufacturer ID */ @@ -3381,7 +3381,7 @@ static int onenand_check_maf(int manuf) /** * flexonenand_get_boundary - Reads the SLC boundary -* @param onenand_info - onenand info structure +* @onenand_info: - onenand info structure **/ static int flexonenand_get_boundary(struct mtd_info *mtd) { @@ -3422,7 +3422,7 @@ static int flexonenand_get_boundary(struct mtd_info *mtd) /** * flexonenand_get_size - Fill up fields in onenand_chip and mtd_info * boundary[], diesize[], mtd->size, mtd->erasesize - * @param mtd - MTD device structure + * @mtd: - MTD device structure */ static void flexonenand_get_size(struct mtd_info *mtd) { @@ -3493,9 +3493,9 @@ static void flexonenand_get_size(struct mtd_info *mtd) /** * flexonenand_check_blocks_erased - Check if blocks are erased - * @param mtd_info - mtd info structure - * @param start - first erase block to check - * @param end - last erase block to check + * @mtd_info: - mtd info structure + * @start: - first erase block to check + * @end: - last erase block to check * * Converting an unerased block from MLC to SLC * causes byte values to change. Since both data and its ECC @@ -3550,7 +3550,7 @@ static int flexonenand_check_blocks_erased(struct mtd_info *mtd, int start, int /** * flexonenand_set_boundary - Writes the SLC boundary - * @param mtd - mtd info structure + * @mtd: - mtd info structure */ static int flexonenand_set_boundary(struct mtd_info *mtd, int die, int boundary, int lock) @@ -3640,7 +3640,7 @@ static int flexonenand_set_boundary(struct mtd_info *mtd, int die, /** * onenand_chip_probe - [OneNAND Interface] The generic chip probe - * @param mtd MTD device structure + * @mtd: MTD device structure * * OneNAND detection method: * Compare the values from command with ones from register @@ -3688,7 +3688,7 @@ static int onenand_chip_probe(struct mtd_info *mtd) /** * onenand_probe - [OneNAND Interface] Probe the OneNAND device - * @param mtd MTD device structure + * @mtd: MTD device structure */ static int onenand_probe(struct mtd_info *mtd) { @@ -3783,7 +3783,7 @@ static int onenand_probe(struct mtd_info *mtd) /** * onenand_suspend - [MTD Interface] Suspend the OneNAND flash - * @param mtd MTD device structure + * @mtd: MTD device structure */ static int onenand_suspend(struct mtd_info *mtd) { @@ -3792,7 +3792,7 @@ static int onenand_suspend(struct mtd_info *mtd) /** * onenand_resume - [MTD Interface] Resume the OneNAND flash - * @param mtd MTD device structure + * @mtd: MTD device structure */ static void onenand_resume(struct mtd_info *mtd) { @@ -3807,8 +3807,8 @@ static void onenand_resume(struct mtd_info *mtd) /** * onenand_scan - [OneNAND Interface] Scan for the OneNAND device - * @param mtd MTD device structure - * @param maxchips Number of chips to scan for + * @mtd: MTD device structure + * @maxchips: Number of chips to scan for * * This fills out all the not initialized function pointers * with the defaults. @@ -3985,7 +3985,7 @@ int onenand_scan(struct mtd_info *mtd, int maxchips) /** * onenand_release - [OneNAND Interface] Free resources held by the OneNAND device - * @param mtd MTD device structure + * @mtd: MTD device structure */ void onenand_release(struct mtd_info *mtd) { From patchwork Fri Nov 6 21:36:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320819 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1649977ilc; Fri, 6 Nov 2020 13:37:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1B/0Z3fAC6+D+WQtYrz06DotAauErRsATnwU+++TSLzWJulY9ygfSSL87KksUQhy0pRUT X-Received: by 2002:a1c:6782:: with SMTP id b124mr1666995wmc.117.1604698651554; Fri, 06 Nov 2020 13:37:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698651; cv=none; d=google.com; s=arc-20160816; b=CDK7vnFr+pHEQqM4xdenJtpm4+tWVX2FAXZSX2Fk0RF3l5ERvGWDCMHm1D8Y/QMoP/ PxZgtk5I+EBE4oZXg1dPWS+mus6WWyYsgmcONGdu+ZqPNjYdcmXMVtVfWxsi7jDolLyH TXVnfWtp7pjq7Mub4d/M6FXib7wH6Bhi44EvDRSGC5me8byAsempFDJS82m3dI2S5VkD uAVzk6bmtKBSjU80vpepfuDKw+lUJmo5FFQkrTTdA/bK7y4xez1PMrLRkaOsDXIa5Ti9 5L33HWP/8uOPxAWhvUTB5DIO7uPX2244mHUx6qi1Ml1JMt95AdYjhULCjGe9ze1+zF22 qUmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=0JPJh5x9sYDiBUOX8A/85x0XQf3tuSTQnmrCnkWyeQU=; b=VkkW9RQK7kYRoTvWLU4l7V9CkAesk+AqZ/ir0kBwaZ3LtGeyHRAmXvXgTpwR3M/jPb RoBUHBqPtRbRXbi8pwVEqFAPlBJv9mObNYScgZoXJHuV9Kxg7G6QGI9DTma/3JcMb4RE 5USJU9LbU/HN+kNFcibwOfhgtd0LaqnM7k6Rw6Xy4t3hGKg7Y1fRR4GSkNkQmT/gZ5M2 v3ppJ5bT5/nPR5K//B6s1sHhE1wWNyjA3AGYpuc/grk638ECQLnlJ0yWFjfov7MGRcHw 6zMPufG7vONgcIBlMaHRfXxLwuZFyovfFM9XZH52wm7tNETEU6mwJ5oftMGSB/jJOGX8 P4mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=iWwp4Ywb; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fZaGgVTC; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id k12si2392779wmj.83.2020.11.06.13.37.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=iWwp4Ywb; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fZaGgVTC; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0JPJh5x9sYDiBUOX8A/85x0XQf3tuSTQnmrCnkWyeQU=; b=iWwp4YwbEv9Bv3rK7bgzNHkHl KJr4T58PDAOqc4cOnUUCNUoWBcAidUWTSYwV6DLzCAZq9fklC02wsDViF+imIODLkSwX2fQiw9Tw7 Cc9LBVuASWghSOpVi6XsR0k0mGG5MAWV+yBC+YsoQTN1EUqKtAG1s0d+Y/E7JiPk6GwzsFcS2mlPO R8YpoU47Nws78yqAgiOhkapUmQjk/i/bc7mCuWEQYYcOQdjf6H8A9AldQWgsGLMZWvhdRr7qLvdn9 uUNxpdV7MzsFW5d87m2khcc7y0rz01Op+QHhBpwqzRJ9Ivw1tCUnhg0unYf/UbbNB/xXGXDkP+/XH 4Usbajf3g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q7-0002dF-G5; Fri, 06 Nov 2020 21:37:19 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pu-0002XF-9B for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:09 +0000 Received: by mail-wm1-x343.google.com with SMTP id d142so2813585wmd.4 for ; Fri, 06 Nov 2020 13:37:06 -0800 (PST) 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=kN+nLzLc6b7cOpaWz6eZ4gZDLXqa51d6pByGdFZOfqY=; b=fZaGgVTCmG4C5q/nm2wPolvW4omaf6In8+148k3bUqfG0b9+xbgmdoGQJe4JfWa7IG kEBE/0YRyWKYZkljpvwdYarXXq7SJHorTHqEXuwVWUnjaWnneUOa+9y/1YfAwHVJ7/ok EuiPoxYzoADNR9L2YnGO8Ie4AKlWTVSwWlS23k5ZkE8Sfh8SE2PIN2LdZwCeH1X+Fj/Q 6GImujez0wtGZdyFlKNSM4xXo0H2tx8UpHVPlp5//LCLmlxqpX93pSd92nv0Ca/MxK6H 7lsrMjA+ITkI7Z32zXit2my2/GRfjnt/PUdxlsZ8S0dU0I6NhXr6yh8LtUgGfSlkiwha QX5w== 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=kN+nLzLc6b7cOpaWz6eZ4gZDLXqa51d6pByGdFZOfqY=; b=QSlkgPss43+ngvwNpMBGR8HEi6+UNlPMOD3Cer8yHtkpKy8/viaVebAeAwqMoWkj3X EIgsvAz4CNL4fD5fCVem1/ZwvXJ1Z4vukCMT8tP8OePyBqOC/j+SUQrhFdd7xBIjSgQf YtpojXJTGfnXp6RPu1N7Nt9BEic7e1m3Q5XAdl3yQsbwSxEdZwMg8Y+D14+kJlqjZjGS KAglwHBkrnUIaiioH0yboMf5TuR/q8+m+Fs5+4C7raOtjsWKGe3kaYAfjO4uGIv2l6DR NmErXYcxo/fm0ModIvKTDZwRmQlKoDMDUFUlLY5Tnl5DPmfDShi3epbkLltYsUHRDxoS +nww== X-Gm-Message-State: AOAM532Sv5f8/SKHn04VgjFkm7hgZ/bKi+dEzdLgitNAycaPGagLAEpk ys4mP5IUXjCECNHEV+6ONzzEOw== X-Received: by 2002:a1c:6284:: with SMTP id w126mr1597664wmb.145.1604698625105; Fri, 06 Nov 2020 13:37:05 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 04/23] mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues Date: Fri, 6 Nov 2020 21:36:36 +0000 Message-Id: <20201106213655.1838861-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163706_357753_E53C967D X-CRM114-Status: GOOD ( 15.35 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , Robert Jarzmik Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This patch also places the descriptions in the correct order. Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/docg3.c:819: warning: bad line: drivers/mtd/devices/docg3.c:1799: warning: Excess function parameter 'base' description in 'doc_probe_device' Cc: Robert Jarzmik Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/devices/docg3.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c index a030792115bc2..5b0ae5ddad745 100644 --- a/drivers/mtd/devices/docg3.c +++ b/drivers/mtd/devices/docg3.c @@ -816,7 +816,7 @@ static void doc_read_page_finish(struct docg3 *docg3) /** * calc_block_sector - Calculate blocks, pages and ofs. - + * * @from: offset in flash * @block0: first plane block index calculated * @block1: second plane block index calculated @@ -1783,10 +1783,9 @@ static int __init doc_set_driver_info(int chip_id, struct mtd_info *mtd) /** * doc_probe_device - Check if a device is available - * @base: the io space where the device is probed + * @cascade: the cascade of chips this devices will belong to * @floor: the floor of the probed device * @dev: the device - * @cascade: the cascade of chips this devices will belong to * * Checks whether a device at the specified IO range, and floor is available. * From patchwork Fri Nov 6 21:36:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320821 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650122ilc; Fri, 6 Nov 2020 13:37:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7GGCLTuXUQM+tME4ML5j0MYuxkJN5+ihFCXa3xPxzVnUqKX5CjAmHl+a7YcP6oHP3JDvQ X-Received: by 2002:adf:dd46:: with SMTP id u6mr4678142wrm.295.1604698664351; Fri, 06 Nov 2020 13:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698664; cv=none; d=google.com; s=arc-20160816; b=s2wxxR5jFSRQHg59qxj1zsRDLrszhxJPuGdpICCfPg/EQ4Wm2+ba6dA5Uqo+YCN86t sjADhoUzYBBHbP0SHINiM7L1Cftlczxtk9Ct4yMceVui4ayxBEaUsKhsE2dfxSdTypy2 zH7GlEhEa0NouQQXzy2x7R8x8uvL/gxZcX+GZWP+NA+MilJ04QZYesvlJKxvN6JyyH5T SiggeP2996kS1UhqB9zkBXzyNEDcgFo82bBRnRIagFKG92NSLw9bzKjhpJbruqRS541J oE8VxRiP/IKjQRLcVLNgO2OeGbJ5Rjsf5kvvt0Iz7SOXEu7glDwZueqdGbIJT8Cqjo5r ZguA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=Eb3elnW6iaLY9ApQu0LMmBiqk61z3H4klUU391tAUK8=; b=Zza92b4ZcOaYKrUobTYWLh0bpdL2pM+4EIPOtV7Gg0a2I1kOoPPJeGbx9+4f5v9/9Z z5IZ0DXZ1IIr5goBbO880bnAaFf3zMnBqLxj2vQwtNjwY51cimEvHO6EilFlj8DM6GUI XYBHv1tnV6Z/ABPrirZm3RNPzYdbzKXSGsG6ODUPnuBdEVerWvDBEPfPljwJbQ02Fsl+ kVrSTzDYe6EoTn8aK4KGLMCGayX0RWv2JoPqGpftaNDNElMwcPxk/NeCn6YN/BC+WhuV qTZGZU8LAOxk+wPwDgWLURPnWB/7Vt9KkwK/sgBC8lPirSDbuElS/poW9L9rBLRA6MyG mI5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=ZKODL4EY; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Xft/B9fu"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id c4si2266174wmb.6.2020.11.06.13.37.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=ZKODL4EY; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Xft/B9fu"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Eb3elnW6iaLY9ApQu0LMmBiqk61z3H4klUU391tAUK8=; b=ZKODL4EYAfngmNas5v7/DNwGs hBz2pydY3LWW9l36I4GuHKrOVdUL1mmLeTAAAULJijnl2oVy+ZFEDbwk6N3TUqXfS3YF1lzqMQ1C5 N1FFu6qU0CJGySr8tIPw9h9dQjM3Hkj2uMpB0+hFawiVCK+Vcuhh2dbt+QjfgnCODsXJ57u3vQpj2 nIIgWNLFy4XsoEvNcvZs4rAzDi2l+jD9DMKWh+R3z5n2ip3xheVuQFhhPjYSkATcjxDt92b1orWjV mTz3zqtNDa68AVKHRTMJf5dtEcJ5G6kmt6wbJ7jlGZXExDWM2ow0vdJns1lkFzm5hYL/ePseK4tlq c3lqzoafw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QJ-0002ih-Hm; Fri, 06 Nov 2020 21:37:31 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pv-0002Xf-8l for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:12 +0000 Received: by mail-wm1-x344.google.com with SMTP id k18so2620747wmj.5 for ; Fri, 06 Nov 2020 13:37:07 -0800 (PST) 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=dAVB42jTKgsR2DuIhHd9CknEAkwHuiO/0Jzqc0AJHek=; b=Xft/B9fu4Im1k0dKVSkx2E+3tIW45CfD9m5SnndRedpuZNtDA9jwuOMSmDMyXAUDA2 8DqgZypZm1qWREX42zMnN5d8EcV9h29ypuD9mQz/9tRWZOMPQ58wDF1GDAbVdyute8vq iUV1qeg6LZmU0YzUnF26w0NT4/1GdDv5Vfmuh6kST+e7nbuA5bR0swIoxFEWAuY4Nsmn EZUfjc678ToDf0LrZvRb+139/Nfe8YJrBEP1xfSBHQzLrfdjT0v8vl09I/2VTSGC1Xfm RcMt+Cic07a2x4IqgNKiUKEunFOKCW8X45dUQn/FoxWtB4J5XTTn8saME6H5WLpGlPSp cQzg== 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=dAVB42jTKgsR2DuIhHd9CknEAkwHuiO/0Jzqc0AJHek=; b=R6q9M16BRWjYK1ck8ynFBShRa8/TPtrfg6SUyKzvZ8txaYgGDHAiajuOdmxlmGG7p/ WCRwG/5xQVqRldumldNwjplo4pHv+Be8e78vWh59zCAzgvrobA0dr8WphOEndpwbvhUw vephWahz7ZR/Ttz4Hk7elt5tpDv8KK2SZRopcekvPWcMm8Q5Fgp7blswMtXYBuR+rOjK eHSMSEGdG9SRPyEIKu2GfXsDCTTEIg9iqSsNCmMjE1ptF7vK9eICrytXKLT4OZ8f3yqc hy/77dC7yUuAIgYvK/Qw1rOa7kU8aBSUBkx+KMG4V4mjeIdagZHDBEQW6kXksnFpsesu Fjig== X-Gm-Message-State: AOAM531MPMshyh0tiEqNw6Wk3qbmlxRlnLXKYQBQ5Mv5rGn4nnSG5sGG 1Ir5b2Y09hB/x0/0mdwvFy+CqA== X-Received: by 2002:a1c:8194:: with SMTP id c142mr1564965wmd.94.1604698626446; Fri, 06 Nov 2020 13:37:06 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 05/23] mtd: mtdcore: Fix misspelled function parameter 'section' Date: Fri, 6 Nov 2020 21:36:37 +0000 Message-Id: <20201106213655.1838861-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163707_400268_BD8F41F3 X-CRM114-Status: GOOD ( 16.78 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/mtdcore.c:1592: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1592: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/mtdcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ Reviewed-by: Alexander Dahl diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index e9e163ae9d863..31d1be4b22617 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -1578,7 +1578,7 @@ static int mtd_ooblayout_find_region(struct mtd_info *mtd, int byte, * ECC byte * @mtd: mtd info structure * @eccbyte: the byte we are searching for - * @sectionp: pointer where the section id will be stored + * @section: pointer where the section id will be stored * @oobregion: OOB region information * * Works like mtd_ooblayout_find_region() except it searches for a specific ECC From patchwork Fri Nov 6 21:36:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320822 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650189ilc; Fri, 6 Nov 2020 13:37:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNoDfMez+vYjCGsbIS1l1Kbhe/pXm+giM1HVFoDf89WmsQ5RyYUlF3WwSKOpKsGlK6uHQG X-Received: by 2002:a7b:c00a:: with SMTP id c10mr1535232wmb.119.1604698671435; Fri, 06 Nov 2020 13:37:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698671; cv=none; d=google.com; s=arc-20160816; b=tMfe7NMLZqtMuOgbRi8xzk+2Igy6jxA7K+J0AVYCbDJWhsHGJv1NwFj4G0y5To932Y qichUNf1+n/+twmxIu8tkdRsd0N9hhOAR1gvYcKkWVj9SqtRGDpEd7qmDmlLSWkMgZIK LURSMoPVCAwCUz5ApoiVva/0dcOmPe26NiPSFWW09lrI8CS+YT4W/CuGtcLDpLfk5zX2 9XjENqW0Fp3p9Yv9aOF5MH8YtAc6pWQoY/gSDgYwgIcjilyXnNfcjQQzU5fAhrkMkX4Q H9rXk0c2aRteTI+pyaeElcrZScvLzOJQNr83VQ7Veqe1q1UWjwvh18x/tHWbw7Hws4mz dvQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=kAsh17g28C1o04F9Qq4njyA9DuveqYX3WjcAVIMblvY=; b=OQldcQw29I5Ui031nlR1O5n5/xUyziatA9bthILozLOsBn+v6eq6JeJHDBnmC5p4Rn zQMvoADJ8lHUEAIHk2XTS1bSfVSRWCf45MmIxzDFDphiSpIvOGArF6n0VHRARPOEZURl q1g0AXZD9bDMkRmuBDRJ1166Sa+lIwXlvFeePbU5Uf8pCR/+byI3DlLNyzRmmMb2L4MZ 1ww8dLVfp4s+tW8Mlqi+qsKb1kU4N4ev58vxfIsUX0Av5/2jAiVHZiCNJ1KJ87ueQ8tF XpIoyPLQKw4ZzVcLi0+OOEA3f0dEYDuowIjTLPkcvwfnCFqh3WxBrNTh1uJlIjimGXZC jqdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=gUOfrGW3; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E1jmcNOb; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id r23si3022862wrc.308.2020.11.06.13.37.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=gUOfrGW3; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E1jmcNOb; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kAsh17g28C1o04F9Qq4njyA9DuveqYX3WjcAVIMblvY=; b=gUOfrGW3EXz+zgyD+xsnu5WyT PslqjyTjwQNsfZLBgdWr0qhzUUsQx9Iz2iNcLN/t5GBjWdWzHeMyCT48QQ1QQRgMOe2Zj75pRM6HW MkVjWmKDNsdefDgd8uyoFbH+tzjbQSgPGLhkG7ayIt/hSndh38I1Q0kjDy7mZqJ7FLZmpg+G3y58q wxuT3aFXC8bk7lX20SAdrG0iKiLxDrSAbe9VD6Kjhkfx3ERJqNWi03KosKWqv+7DXD5wzs1N/gUos OCOdV33c64/xoaRCY2opOqfU3RKBItOc3kC/nxHrTCJfX6EGDFMHbLqNM0YSY+ozpSr8Z5yH3VZVF w4AZGB9kQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QS-0002mn-Ty; Fri, 06 Nov 2020 21:37:40 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Px-0002Yl-42 for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:18 +0000 Received: by mail-wr1-x441.google.com with SMTP id y12so2771137wrp.6 for ; Fri, 06 Nov 2020 13:37:08 -0800 (PST) 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=4n/4+2lBYe8KEpcSc+k+jaUcNkTMwSw5Q+II+p0iyss=; b=E1jmcNObPpOFAHqOiArNxpkGlw9Xo5gZkeh7M/ODJbeB9NBlxV9QjsO8ibIaw6sN7H 4ynd+QJxlFIDKHDbtIyWiw9iTCSdgcAD9yURYwuna0zJ7eBjXBzOCKnvH+Ktj6d74/X1 830yGufI3GL9HH7ngOMkelJcTtehVTWJSSS42zTF0svRJ18TSt08TNgmGR6a0T21JyIH at61Glf59Wbx1WZSA+p8LhCXIecr/kHQjRK4rRZfVj67/Qrk5GNklpKeMP2mYU8fEhoa l5DguekHO8FEVIcQFgUHCxXpkjX7hZwFyiVnyn5uJ9UXIvraXdrJgLBGJ0FECHw+Z/uG b+3A== 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=4n/4+2lBYe8KEpcSc+k+jaUcNkTMwSw5Q+II+p0iyss=; b=q85zBOu7RNDJEaNZ9dUBcm3d92gfZBdO0AQtTqoGJukWocSwFWqN2b76QZeIcU04Mx Pm1DWdYeDpN/e5qszkDVt87dwkaumgYkiurRfUKchkFuDzuqOsw5YdCZQ6tf4g4uuDkM DSPYR2JM5wgr4SuMl+RI3NUTVR9e62odbt/j23Mbp6+bYxQXGabgTt80riW0/V+v3EKo sXx0UaAFnVh5Uy/mWzi2u9p5W5+hlkdGidQrrYEgT1ERg1IkM8SUtyIzGX05UrK1Rms0 YgC5Utomenr1zyyPe4IKxV1esXeNigTDPTE7kAET3tBqVkq9eyfIRYX0zMRn/8/QIljb g1bA== X-Gm-Message-State: AOAM532J0x5PlQDpy7RoTFbYZ5UtJ6ajR25E1oqidCvYYOOFzQXqtji/ Ex9DU5ncrYcL/S+Rt/oCtUo4gA== X-Received: by 2002:a5d:6b8e:: with SMTP id n14mr4502896wrx.238.1604698628060; Fri, 06 Nov 2020 13:37:08 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 06/23] mtd: nand: onenand: onenand_bbt: Fix expected kernel-doc formatting Date: Fri, 6 Nov 2020 21:36:38 +0000 Message-Id: <20201106213655.1838861-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163709_279618_2BD40778 X-CRM114-Status: GOOD ( 20.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Kyungmin Park , linux-mtd@lists.infradead.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'buf' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'len' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'paglen' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'td' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'mtd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'buf' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'bd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'chip' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'mtd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'bd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'mtd' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'offs' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'allowbbt' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'mtd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'bd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:230: warning: Function parameter or member 'mtd' not described in 'onenand_default_bbt' Cc: Kyungmin Park Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/onenand/onenand_bbt.c | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/onenand/onenand_bbt.c b/drivers/mtd/nand/onenand/onenand_bbt.c index 57c31c81be186..def89f1080071 100644 --- a/drivers/mtd/nand/onenand/onenand_bbt.c +++ b/drivers/mtd/nand/onenand/onenand_bbt.c @@ -18,10 +18,10 @@ /** * check_short_pattern - [GENERIC] check if a pattern is in the buffer - * @param buf the buffer to search - * @param len the length of buffer to search - * @param paglen the pagelength - * @param td search pattern descriptor + * @buf: the buffer to search + * @len: the length of buffer to search + * @paglen: the pagelength + * @td: search pattern descriptor * * Check for a pattern at the given place. Used to search bad block * tables and good / bad block identifiers. Same as check_pattern, but @@ -44,10 +44,10 @@ static int check_short_pattern(uint8_t *buf, int len, int paglen, struct nand_bb /** * create_bbt - [GENERIC] Create a bad block table by scanning the device - * @param mtd MTD device structure - * @param buf temporary buffer - * @param bd descriptor for the good/bad block search pattern - * @param chip create the table for a specific chip, -1 read all chips. + * @mtd: MTD device structure + * @buf: temporary buffer + * @bd: descriptor for the good/bad block search pattern + * @chip: create the table for a specific chip, -1 read all chips. * Applies only if NAND_BBT_PERCHIP option is set * * Create a bad block table by scanning the device @@ -122,8 +122,8 @@ static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr /** * onenand_memory_bbt - [GENERIC] create a memory based bad block table - * @param mtd MTD device structure - * @param bd descriptor for the good/bad block search pattern + * @mtd: MTD device structure + * @bd: descriptor for the good/bad block search pattern * * The function creates a memory based bbt by scanning the device * for manufacturer / software marked good / bad blocks @@ -137,9 +137,9 @@ static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_desc /** * onenand_isbad_bbt - [OneNAND Interface] Check if a block is bad - * @param mtd MTD device structure - * @param offs offset in the device - * @param allowbbt allow access to bad block table region + * @mtd: MTD device structure + * @offs: offset in the device + * @allowbbt: allow access to bad block table region */ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) { @@ -166,8 +166,8 @@ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) /** * onenand_scan_bbt - [OneNAND Interface] scan, find, read and maybe create bad block table(s) - * @param mtd MTD device structure - * @param bd descriptor for the good/bad block search pattern + * @mtd: MTD device structure + * @bd: descriptor for the good/bad block search pattern * * The function checks, if a bad block table(s) is/are already * available. If not it scans the device for manufacturer @@ -221,7 +221,7 @@ static struct nand_bbt_descr largepage_memorybased = { /** * onenand_default_bbt - [OneNAND Interface] Select a default bad block table for the device - * @param mtd MTD device structure + * @mtd: MTD device structure * * This function selects the default bad block table * support for the device and calls the onenand_scan_bbt function From patchwork Fri Nov 6 21:36:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320828 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650903ilc; Fri, 6 Nov 2020 13:39:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwa9ijRsMIwhVDFlv4BHU02dsp1QPn3suURtUYzs5sc/tAOn2upOm9r7d3FJpyLqkh4sTKT X-Received: by 2002:a1c:2d5:: with SMTP id 204mr1604190wmc.181.1604698746137; Fri, 06 Nov 2020 13:39:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698746; cv=none; d=google.com; s=arc-20160816; b=cGv2GL0PbxzY5Xb62hyKicsvTWVwFjICKQssKEANxZstt36opxi5EIG5j6GiE2xbI4 HOh97YHylQb8ELERguR6sWgt6kMgKWibVyWy/iXhueju+me2ioZyGhVQRS4TVrogA2H4 gm/2590gpcysMYphEBw2s8tYPmQnxyJ/HFeTA0NfjsecFSlBpm0auMR6ujvkJLxHSZl9 Yg9nnwUXqHSxNWc0fLKBGwtP0YkynObpnqLoqZJ+7zXEBc8VT0mwAfimGQl3bCLOa1iT VjfmmqhmfAXNfnQqZ8U062bl2dUMJHk+PdIuoDKsMt8Yt3Il0oXmubu9e8FUBP5QsKNr 8OSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=BKjX9nDZ7angBmjuBCOly57WrtoT9qKEAnrd/m7nGAw=; b=lDw7PQ/1Ca1i8YJIIUMrjrYcJWC40WGz6BoUnFSqbOD73/y7NWu3t+kEmKzapVhyi7 HhNs08EdCkmCCMeV7nQ1ESXpbkWQZTv0AI3j/yAOIZxipMHn/eYRjXiqNXk5eXKbhCKL zM11QqPjG3GCUcJoB2KrjQXcGHNPbhcupGgELNFPHs/q+AuatHu6Te3DXmeMiTCw9vYo 4HisB6V4bDABBaUUAD5n43cek5nG2xWr14yoypt8sJSTvmUJAd5Z3uJ95Kt8vT8HIdeK 9KUmQV264VFS6WpiIcjjXAeX57DJJfRNVqW9777YyIeF6QXfhZYXBkfJGvEtqslKqdHn LWhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=AeBBgLP5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MS1eNve1; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id s5si2196695wrw.214.2020.11.06.13.39.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=AeBBgLP5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MS1eNve1; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BKjX9nDZ7angBmjuBCOly57WrtoT9qKEAnrd/m7nGAw=; b=AeBBgLP5N92VcY5Hqxq4LJJQI YJYnz10JPUNuzvKhkwNNGGkeA4mUx+6RsDZH5zFkj5oRNmp948aIUpo8RSYdyA462kezNq4wQz05O OY0f3UREeI5Wyg7p1vgtOWwNdImvQJxcMO1GXwj3P/ZqWKzKEeA8EkCKg4i70LCMX7RtIL5RlB/u9 iwgtVwj67yiOhWR8DV2Yxxs9ajcscvaZEYMA1rmypiZlB26vJ9iLPhrOXilKUZKnN+yRsxIxZ9m8S VJFRjikonnk5NSMEzc+y3xVigRM/9W+0Yl4x08ULceLycBw67yAfmUkPKRpUPd2nevmkENOLb7XWj uRd2Fgg9w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QV-0002ny-MM; Fri, 06 Nov 2020 21:37:43 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pz-0002a8-QA for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:18 +0000 Received: by mail-wm1-x341.google.com with SMTP id 23so1755447wmg.1 for ; Fri, 06 Nov 2020 13:37:11 -0800 (PST) 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=zmRHhQEVdc7j5b8GRJ+bwBPDfCwyz1df7aW7vS1l850=; b=MS1eNve1E8TYJUMppy9nxHHsrdiRDKvguLFeY6/UbTGermAOC/Vb1I96lhQjgRO6/W 6Rn2wf7AObcPo6z0RmdLi4dAuoiTqAP5C488affSmxOrbY1DDvHPl/nQkMwhY7IrEaFJ GboA6G3Hdyn3tk6z/PkCmsIJ52vOiwFdu6cfIyYwbY4no/dhxjrUEmOm09OQdn3RVH/8 EUyztItAe6k/z0PPyI83DtGj2UUoCMjRq9uTZqUK+e4per+Agb1TpY1vzOtaArMiC9xx U13oSXvN8bXdgB03T+XJY6PWQRLyKXHDitXSKbUXhD8ubvH/2CMR4+vujko9tu3HL1JZ 8wUQ== 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=zmRHhQEVdc7j5b8GRJ+bwBPDfCwyz1df7aW7vS1l850=; b=e17qAh5pmU1jtxG409Of0SnTgVh3WaJ37PcaaRcibtR/sfAw68AdMbnPyTWKNMNMe2 TTC+rFHjxr8A4vjBPn9+TlEjOj1fvj7XoW88tPbAoFrCxUMFcGMJZCENSb+GrZ96IlPr cV9wdXEaXXRKL0KBTb9aQHBBDTXg65qADDIfl9LMLvxsQBc4JX3c2px64pEaH+5c5oRh m78m/n4H9XhL9zhnvWYUcs+qAfnRZ1ffm5w3LbvU1tj+YAhpxVdSYKiZrJx2iyi1Nutq 5XhJnFNKvinvLL6NRS4fZR6TtVABqlnULx8jcEkEwilZHr9op1BBhwa7r2tk/1lkeuqq CUgA== X-Gm-Message-State: AOAM533YxINOR/FfoiMBZxshaUUNwsYSu2lXF4rr/It+E3Gs6uW3320K XEQjtSJgSKO+xgQLxXX83KlDlQL2oB9ohEhk X-Received: by 2002:a1c:1c3:: with SMTP id 186mr1567266wmb.39.1604698630851; Fri, 06 Nov 2020 13:37:10 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 08/23] mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param Date: Fri, 6 Nov 2020 21:36:40 +0000 Message-Id: <20201106213655.1838861-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163711_979732_8656AD74 X-CRM114-Status: GOOD ( 13.05 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/build.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index e85b04e9716b2..40fa994ad6a8f 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -50,6 +50,7 @@ * struct mtd_dev_param - MTD device parameter description data structure. * @name: MTD character device node path, MTD device name, or MTD device number * string + * @ubi_num: UBI number * @vid_hdr_offs: VID header offset * @max_beb_per1024: maximum expected number of bad PEBs per 1024 PEBs */ From patchwork Fri Nov 6 21:36:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320823 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650241ilc; Fri, 6 Nov 2020 13:37:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4ueaQKi4hX1eq/zAMuAJVDdvz5ECpbS5BKDVv9AbrWnqbaiHryOmyoIx0yPeoJX0N2RoX X-Received: by 2002:a7b:c04a:: with SMTP id u10mr1656919wmc.83.1604698677201; Fri, 06 Nov 2020 13:37:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698677; cv=none; d=google.com; s=arc-20160816; b=fczs7WWRlAD9Zm9R+gJIghaWs7/vcN1VmU8xr6/fBtgohE2mpUrq+px36uKMel0S38 /PWFpBJv002npyic975XH7r2d1dWMJdEqiHAkHKP3Cb1jI2wzgM7a9nsc4n5ZV48W7pf MrN1Wlt+zbut31MajYCF91HRseqat0+0QzLLxWGnvL/etLgglZAHRVoTPS8sgCmwvdtl 8CHz2trCnajV3v3KO4PL9wK+mSB/c8p471hHegH1KsVFjE4wG6+paLx/aNGEORBxyTTw iIVzQIccAkaH+dabYSZJTUCt2bec7LPCZBPUWnjkOgUjlTe0duUOKVjqavFZsSBD4h/h FzkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=lFKBzJS8X7V6eH+bmY6reCszP1og4QAmYckLE428P9Y=; b=JVxfEyKHdVFOxBJdrHQeiPPRj08V70NG+5gYZH/Ja2hz74kidTZ4WFBDWhCezYZJ5B tQqR5WIitH5x6q9eTsqw635KhhIHVHUTSIu/67+Zxo3kjUxQogd4AE/bTV0HErOSJ1Nd iwax1+fTSuSsvlMpLQCK5hEVJbB6ON6+mzpw36A7kY70KpnvSZxqMEUxJ5FM7bobJqKv Cv7NGT2FtNibvoxWzeGhkYrlEn+bwChnD7KWQKawVJLW73f32LRzgg3AHeOSUfnbXrh5 b0bcCxO7ICnBq6yMI9WyO4UfrbA+GLTLZpiDOSg/VYjLUfwhcH8wFQeF26WfMIT8Lml5 La9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=GyNdsaOw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JycVzerF; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id d126si2474173wmf.33.2020.11.06.13.37.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=GyNdsaOw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JycVzerF; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lFKBzJS8X7V6eH+bmY6reCszP1og4QAmYckLE428P9Y=; b=GyNdsaOw3ROJ1YNJirHQJuTBl Vn5NGPgsmkkmrUusYPlCdjUy4cU2vW+kLBlDifgzt3/Gn30iepGgOJj1vgrrR5Wfif8g7jK5prOld l11LJdCqL7A8CfFnTzQnJax3n9FTuozTu8bOvb5ntHo2CY1+W0mkKArwCMUDlCNYLeRUu9UFYitIr L61TCo+MZnpom1ASgt3HEk2Ek6+bQozJr6jwgTscQnzFzuo+PkMA3U7G3CShZMRY6OzrSdkYNR8YI hNcYpx45WslGhvZX3zxAiSRLOW5osUhL8wS4FG5KnKpStle/XAdouKxxwxI9aASI8N1zesWz10YZa 4+ux/pNAw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QY-0002op-2m; Fri, 06 Nov 2020 21:37:46 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q1-0002aV-FD for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:18 +0000 Received: by mail-wr1-x443.google.com with SMTP id y12so2771301wrp.6 for ; Fri, 06 Nov 2020 13:37:12 -0800 (PST) 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=/I+nJpznOBt9dN4XJqBf8TuNQJ12DhAWcPprYkWhwFk=; b=JycVzerFxCDO0acY4F3sQuqh9v6MOHcwEibDy7V7bw5+6K9Wh4QNB4dhfoop8pVaYu baFmTxcXKO585C6cRr2pKnDcsUZ1liJ9d+YTlDUopHb0a0C5LhiiI9OZ8be4QUpil7j5 Bh5WEZUeTbxTBz+rZUxaGbLSlqmzkddW+BQc3BsX2tiDQlYHi8aDrEGQGe83NacLI2J/ +NT/AdhYSgdNHBJQ3rmBRGMYgPWHXnqgojurUK5yE16FjBigO70asoYdnR+LK9s1hvsp bYUtZ7ULWnyeS2YhGQq89w75H5ULaYbeGhcLyXQM85AS0LQUe7bWJ9VXeZwbmsHRQuIo 3ewA== 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=/I+nJpznOBt9dN4XJqBf8TuNQJ12DhAWcPprYkWhwFk=; b=NqJIUDs5vrkGLsQi29qRdTgFD2K26MQtDHv2AVT7oJACZLOefwnrcB/YXBjIpI7iKf tHWSMI2rOKDL9wPm895KxaVoEJpAnJQJ14fsIQWuHIbW9R46ZcGIsGpOhulBgYhqCJgk sJ86XNhV0I2cQ/cjGOgmtl/NuAOt7i0joK9pRlxU/fiego/YJ3CXTm3gnwfXbD33xLef MIb81TxdbQknsLYipKA96Yh5qYNdJGlAX9v3rD9NzxNbfC6g9gFR0OxD/E0xHmhcOnd/ f7k4GoyklAI9Xkfe1ileSMuzIC3wnIZJzrz5bl+Bab1xqvt5DJ0A/3qL1tEhNVoHkxaA f94w== X-Gm-Message-State: AOAM531yvio64P0NQMxREWwbq9S202Ol1SOo7clT0qqZ92NIzYYGkFqr Ev41HZYldQAiwUiTwZJgRLUTjA== X-Received: by 2002:a5d:5308:: with SMTP id e8mr4424905wrv.299.1604698632054; Fri, 06 Nov 2020 13:37:12 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 09/23] mtd: nand: spi: toshiba: Demote non-conformant kernel-doc header Date: Fri, 6 Nov 2020 21:36:41 +0000 Message-Id: <20201106213655.1838861-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163713_604371_CCCB8C59 X-CRM114-Status: GOOD ( 14.01 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yoshio Furuyama , Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Frieder Schrempf , linux-mtd@lists.infradead.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Yoshio Furuyama Cc: Frieder Schrempf Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Frieder Schrempf --- drivers/mtd/nand/spi/toshiba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/spi/toshiba.c b/drivers/mtd/nand/spi/toshiba.c index 21fde28756742..7380b1ebaccd5 100644 --- a/drivers/mtd/nand/spi/toshiba.c +++ b/drivers/mtd/nand/spi/toshiba.c @@ -28,7 +28,7 @@ static SPINAND_OP_VARIANTS(update_cache_x4_variants, SPINAND_PROG_LOAD_X4(false, 0, NULL, 0), SPINAND_PROG_LOAD(false, 0, NULL, 0)); -/** +/* * Backward compatibility for 1st generation Serial NAND devices * which don't support Quad Program Load operation. */ From patchwork Fri Nov 6 21:36:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320825 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650332ilc; Fri, 6 Nov 2020 13:38:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQN6Ht4huAI63MhBKxTLUf6mMBHcG7sOevZi8uwXql3/AIYwI8C89vQQpxAbtCIgXC/5Iu X-Received: by 2002:a1c:1f05:: with SMTP id f5mr1551018wmf.98.1604698686530; Fri, 06 Nov 2020 13:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698686; cv=none; d=google.com; s=arc-20160816; b=X7JnCYjDlQPZJGxgd175v3UaEhVmVR6/d3W7HhgkEGwZ2t5QqzOpgQPVBbzLPtr2++ fyu0il8HHcH8i0KtNIJMnjQaPWk0ZkAGnxabP194Q2m78lSC85rZ3A9b8P27UpOwutzp zvI03lxTp3J+XIdOtrr+L5Jwtcx6m8fAJPNQyoXF4HGc6wn3gwY7MvXMSmfBGKnnbyDr 5QsVspPfxSrQj1iTWGbUpVH78HVOZ/cHdkCQMFGkhT8PE+08c/ul8WZwm6JahxegS+Ib MXYl3cmwgiv30CsWw2He5Tx4pbidyfa3eu7tP355qF6PKBGAqMAZiOespeu1zh/4RpcW mjeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=7exq9FZcK91QKadC7LkoAj/07LRwSH4wl7Rr5Ki/KgE=; b=oxvhMSzze5cWtu7peV6JlY31SgV6WcxPlOFPtbzkrR8KAY0ThtF1maAnRcHgYuKG1I pZxis6j+sg4btq6VuUn/sOGwwR2s5je1ZkoyKQt1tgJPa7rY5RmhI23XJOYUngonztmN XJ3t2bmoOl7DBYvknsXXqkJ1Nutcg59XHPGbzI7SkJgZUF0PhjFbxb5rRsehwfUXSoAx dXfmiueheKi7+crL42hAY8pCO3sdfENnJXlc8OxYkV4WkCa+TawUjdEP/RiSXpM5xWfl j6L8nYlcoOIhd0RP4cWnvoiKr0FxcZGkFLDUJ9Yg8WsWsJSVGMaBfKPNivkE8TIpOtJ4 LF4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=xwDL1lSK; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aNVC/iF5"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id z1si2293379wrn.420.2020.11.06.13.38.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:38:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=xwDL1lSK; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aNVC/iF5"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7exq9FZcK91QKadC7LkoAj/07LRwSH4wl7Rr5Ki/KgE=; b=xwDL1lSKRerVD07/FHAs6rpbs ZI3AVe3NaYZmP8EhDzuVbxyS4oNiU4iP21wogEhy/6Rxc4sArIxLsXXScg0Qd6n8iWmmAI8EsNmD8 Y0l5F6oEWYbJRy7ndGL8oF+BRtASVLV8f8j2X2dpFyw3BCE6lxU1Ym9hwNNTemmMJj6YRbP63CLQZ FATaXR1T5KhmBb/skcZ1tVQCZA6sc/O5BYIq+rpJyH5KREQ0xGwCiMaBEgoCf3tjQiB3SC5lnb2cM hngc2s7Sz1UuBpiZFcs3ZzIlmP/LFfPepZiFlR/4Gv4vzkK/uH97GS1mOKDWfT/YlPKmpHx5cLFiq 0oRhpv6Cg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Qf-0002s2-HK; Fri, 06 Nov 2020 21:37:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q2-0002b7-C8 for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:20 +0000 Received: by mail-wr1-x441.google.com with SMTP id d12so1243140wrr.13 for ; Fri, 06 Nov 2020 13:37:14 -0800 (PST) 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=DaSgExpL1nCtBP1Xc6kSLtHGXCrLErSmtz6Y4QPAfFg=; b=aNVC/iF54xkzO7atep0e+rHrJs5H8vdttLCxQgziSDzLUa32WiOQ8huCGi8lAShbNF 1Yaw85GeA4HE3QUJerIxjFqiTZ/wNriR/RNO0dDgOnn7EL+k2V709I6RbVXVdTtqMN6Z HSo1v992TIEiQanj21vvgS7yw0LleNcyKWUy2ohMzI9Y6v7sQ2n7pH1ER96gq83QlE5q 6gqd8A0tamr6kPYlM5QTjQVxtP5sIkbNTcqutvabpV87c0eefSkyHSAGkqhPVW8J+1tJ 0SLAgkYeAhj7OxE84gc/yYK4e+VN3KR39yx2SETPxrxjOlBr4nVDJyVh9oFHQM99N1WK l8Iw== 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=DaSgExpL1nCtBP1Xc6kSLtHGXCrLErSmtz6Y4QPAfFg=; b=X2CRvHrn0EU8VD6CUptA3Et7PJQB9ZQZX6F4Xuq4JDuT+siOMSLBoGucD8DuNZYb5C 4S/ZK8INgESJ1MzzpbUy8PSH2G6sOJURBXvU/TvwcbZkdE+mhv53837+bCxAIm02pYzX R3uOgbpSpMMTvnSnYPwA7WWwagZIVprji6WPOCdOMmfCUT2RIYBW+guvahbl/udRa6m4 jvoKSUeRbnikjEV/BiXm5Mj+Ow/fUnmxII7Gv+TDyvVNzCWWOmbCQczMe+IfJkFoBydT bqLt85zMglzP/7x8e5mA5mI6CWQ3nJKnV3/2w+cmjjBMPk/hABAabQNUhsaFl8S3F41Q /TXg== X-Gm-Message-State: AOAM530ixfcUf7Pij4+EPpKZxK7lqsTGTfYYjHGArWkcx2ufi7+yWqjN 415aSK9jonXseZJ8w3+y7787rwMDSkhIqfnQ X-Received: by 2002:adf:ce8a:: with SMTP id r10mr4999613wrn.188.1604698633540; Fri, 06 Nov 2020 13:37:13 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter Date: Fri, 6 Nov 2020 21:36:42 +0000 Message-Id: <20201106213655.1838861-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163714_522133_A410EE3C X-CRM114-Status: GOOD ( 15.07 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/kapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 9718f5aaaf694..0fce99ff29b58 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c @@ -450,7 +450,7 @@ EXPORT_SYMBOL_GPL(ubi_leb_read); * ubi_leb_read_sg - read data into a scatter gather list. * @desc: volume descriptor * @lnum: logical eraseblock number to read from - * @buf: buffer where to store the read data + * @sgl: UBI scatter gather list to store the read data * @offset: offset within the logical eraseblock to read from * @len: how many bytes to read * @check: whether UBI has to check the read data's CRC or not. From patchwork Fri Nov 6 21:36:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320826 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650550ilc; Fri, 6 Nov 2020 13:38:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyWtL65xGnc8B9MbyoxWBv/l9KUR1+MXbMvzkCgdRk7CJRDLdU3knGJ9qmSZpiOgmIc5RM X-Received: by 2002:a1c:b0ca:: with SMTP id z193mr1593146wme.82.1604698712674; Fri, 06 Nov 2020 13:38:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698712; cv=none; d=google.com; s=arc-20160816; b=xGWbmP3B0sbiHedaA4StcLGlla09pg3HvnTwXHXbPZ4mJmkzvvvPb8ZaTykQiMPFvL I0HOGOp4skvnMQ57t7dtqAT7bkyrYZoejtCwtKwF2uzFexMsUL3eFwoZDjZsKo33kNVw LwP1WVu05hwjofgnY0N9cpHY9NDQ0nyqc3GczFu0GLjt2++/7kZ0cNaDaqaMs4GNQt7z 0yiOYSvXEX3giVemIDmrZKvtmLcfHUCfCbXhGn8npI+e878IvE1Qbu7/s89Wz1x3nzub lDNTWm1czhYjHntei8wbP8w8KENM6UpxGurdIXSFBbH1FaeA1LZttUTTRRCDo748MCzb ODrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=RlXXchyRQEZZcaZqSiooFaDc8K98hvNj5TPVnE7Pr3g=; b=xLzWfpGNCUbNdh0sIvRzMDNm9Xq8wQb7LC26U3Psq24VFXzFyHNXX0pvnvJ8lFUHQ+ E+/SrRSDTBySd/XPNbHhvIDAVpxEkmAJoMmTl017yGJOTfzxBPno6uvoz9vVpELS+2zQ y4ieMBuc7ejbbrY7ftraHT5RONDLwAxl7wqw6kReli1DwMZJVOhlKE/FjdEDF4LmQ2gP wgdcsVbqj8TRrrBMUFKVu0aIe3/xlWS9efuxQ35s+yNiy5L8DnEFeZWxXzFWwpjRvHjs PBVX4t/ujESYB5kcsjaH7DW7XIrnq0rRcEZ8FcMtx2Y63ES9eMVQQOoioc7mvigCv9Hz y46w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=QHMCZfpE; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zCmBXWoZ; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id w13si2405033wmc.28.2020.11.06.13.38.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:38:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=QHMCZfpE; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zCmBXWoZ; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RlXXchyRQEZZcaZqSiooFaDc8K98hvNj5TPVnE7Pr3g=; b=QHMCZfpEW+LrrfeQnBxcnaSxa m7C+IuMX4tXiI85mmGNgL7LHKHmkTWhKSp4KCX5o2xjcIpwLjbymfJbPIPHLbQgWvfnzarfFXO38f YUXe+nM3jJoOu94t4YjC8iCpYXY6cZ+7R2bFX8i6Q321+42xMiYrfJ/RCRoE5AOFXLSoL02aK1HcO EZlCR14f8rlXd/H2VigGtqqhbdzN4LyoQPPdAE38dppIRdeWKSRTh+Z8OQV7JvVBREis5trd1Thyo HA6gCoyb9wScypaiiH7iuLkFdJosEy+dokht00iOIhru/KHJNhSB6VONdmQ+FrQIH4SJs8FJCzQWA oi4ajJBIA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9R4-00034X-4v; Fri, 06 Nov 2020 21:38:18 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q3-0002bv-Mk for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:21 +0000 Received: by mail-wr1-x442.google.com with SMTP id w1so2768825wrm.4 for ; Fri, 06 Nov 2020 13:37:15 -0800 (PST) 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=nWKR6uPZUpsHw9fLiQN+tCUhIOQtuUG869jNO4i86ZY=; b=zCmBXWoZlo8vnNneonA3NxVse4nc66IFq3VJno4tNAO9re9sUKd3L+Z0guEB98fPy8 FXZetQdRlCWWl9rFiJQ3R+KeyJRs6Q/Z2dderjA8IfoAJGeW8LLrqnCaqhU596rbt3y7 +c/KIIa7L7NTs39+FFknisOw843ETmBr/7dgtFzQUcRFxtSbbCdGVu4zKXJcO0ZycnNq M8ZcObc29z8SeR5e2m9PZajksMspnAxoA1waBuVq8MxsOiykte5wSO4cAJyOvldrxnIT sFFWlVHie1kacdJh4CN/bktqpiBcbAO5QTQEeoQULugFILLEPeoG8UJ32hbXOWqSnI/j fsnQ== 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=nWKR6uPZUpsHw9fLiQN+tCUhIOQtuUG869jNO4i86ZY=; b=ukgvsgOb9ii7+shDBeR6WW4ymMuh0yNWR6SVayOgbTlnYT8K8CQKvmn7U1RnCwjIBW GyU5DZUgq7cZqhMNdL4JhRQGYzdgQDHY7mJU+gzZtrP/7yBJxWzyKi9RDV/J9H+OcN6J lHv52D7FIcygo+3FfcqgJsTCbWplCVEwT3xnoEzVfHLFdeXaMiAuiqB1TaOER+z8b3OE YNv8R7/l6UETuvLa7ptDx0ga5SnyEUQwmjPLMsJg0fMUDJ7+QQw9USyTOPmolXW9Qdvs JD5YLzeVZbcrLMzUI3oTLje7wNcrJFrMGA1626452dNVrJWWm1tmD6MASpy6MX1lNHvT dEzg== X-Gm-Message-State: AOAM533RQE/kbLiFNFau55dM1zg2R+JnRJlnlZIvZbHGxm4V0n7tNqLc +JNy1EBAhMMOVL2cu1gCrnymXA== X-Received: by 2002:adf:ec47:: with SMTP id w7mr4705484wrn.253.1604698634708; Fri, 06 Nov 2020 13:37:14 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 11/23] mtd: ubi: eba: Fix a couple of misdocumentation issues Date: Fri, 6 Nov 2020 21:36:43 +0000 Message-Id: <20201106213655.1838861-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163715_818229_DD76FD3A X-CRM114-Status: GOOD ( 15.70 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/eba.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 0edecfdbd01f3..892494c8cb7c7 100644 --- a/drivers/mtd/ubi/eba.c +++ b/drivers/mtd/ubi/eba.c @@ -1290,7 +1290,7 @@ static int is_error_sane(int err) * @ubi: UBI device description object * @from: physical eraseblock number from where to copy * @to: physical eraseblock number where to copy - * @vid_hdr: VID header of the @from physical eraseblock + * @vidb: data structure from where the VID header is derived * * This function copies logical eraseblock from physical eraseblock @from to * physical eraseblock @to. The @vid_hdr buffer may be changed by this @@ -1463,6 +1463,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, /** * print_rsvd_warning - warn about not having enough reserved PEBs. * @ubi: UBI device description object + * @ai: UBI attach info object * * This is a helper function for 'ubi_eba_init()' which is called when UBI * cannot reserve enough PEBs for bad block handling. This function makes a From patchwork Fri Nov 6 21:36:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320832 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651334ilc; Fri, 6 Nov 2020 13:39:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+7NcJgC88muc1PWIGf63/4cNcAF0IwfhxCXbnXBGj21R+uxIdXwDhsmUaOt17182GdXLx X-Received: by 2002:adf:eb08:: with SMTP id s8mr5027560wrn.12.1604698793442; Fri, 06 Nov 2020 13:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698793; cv=none; d=google.com; s=arc-20160816; b=UGOw/Tr1eDq08EpLiCzNfWQ7NpeO9GmNJkCQ/PohL8a5lwJVSxta3q+wJZAAA9S31h YVyCuB8u9Fs9TbSY42aW58KekUZIOWEXUf2NTI8WA0o0ddGAph4LOx1zfoGiGUykvs5I CtPAqdbOeTHoQcU7mhsv3+zjQwTVkZmwOup25AAJmMx84091n7/Ns3wOzsM8eNjW39Eq R6X0g4NqUnsW9lflAPtDKScZ4XLdTfc9imEuupf6V0gLnfcaTJPvnazUsQFQ/JFV7wzn jSKkubTUkJV7MH8IzRrBVkStmaB5fRIiGnEEumIvtOYdjNPesb9X1ijBZ0BcnJ/ahxBV MAvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=xMq+x52hv0S47USEc6kSR00N4utMwKTqtcqsBq7W4RA=; b=WKlrgKKZ2Pw87khWg/dPAfQwhOT4FFYQ8gzfR/+mAyJG4JPX1vpz9ck3MrCcjUsFF0 yRH0IWg5KNUvzDbtoaw8ewp4CyKFSb5pGbGRdG5uMqYZd2rrdZlTKI74SX2F3FywjbP+ b+Vavo9q5b3OQhAAQoSmdmxPjFVl8lXpl7VPwBHyMw5E4anvM9R1PZuxMbCDPE1ztYNU ZO0O7tcqs85n4Q2/E7aqKrwy3XofYhHidVnWELuAXuf6xVNVEquvO7BYx2OV5v8Mtfon rC8sNZg/e/CFtLhJKFk+8IwYT0dKpT+/9AwTcbDcT9a3P9EZ8+6wLNaIG2kumfR1mJFt lrDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mbKuJEfG; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cvGUz9vF; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id w15si2326210wmk.214.2020.11.06.13.39.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mbKuJEfG; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cvGUz9vF; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xMq+x52hv0S47USEc6kSR00N4utMwKTqtcqsBq7W4RA=; b=mbKuJEfGzLOkkFYGdvv0XHq7B FWIxKU33OBIOGBfvSXaOzWFoVhO2ycyLs513XIdtzU54L+MJWHUojAYNZR2L1MbeT77j/RkhUb1ok /+GP28XBk/IXE24FaDUx38GmcIbcm3eEL+23ov52YGcrE/aq4b2BMgDGvitBVxMrbweO3BKvhMwcW E71W2YJQd9fIJF4OUPcrfb4bUwju+rjwK7/vyq0N16kchC6VvWJJm1uAT2Oi2HYcqE9/WTNKDHmcM Eeptm2+Uxu6ziRG8ybW7wyDesr8TbAg4zIfX4b8vtxedcJO0nASV4huIb1zQxtSxbrOS1DfZRTb1H t3h+/LYjw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9RA-0003Ax-B2; Fri, 06 Nov 2020 21:38:24 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q4-0002cM-Nb for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:23 +0000 Received: by mail-wm1-x344.google.com with SMTP id p19so1763249wmg.0 for ; Fri, 06 Nov 2020 13:37:16 -0800 (PST) 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=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=cvGUz9vFmdq9m3LcG6h2WXDm9NcajWq52twh6MVrvfJxfk83JKWtunTtBbGxznuGRw RYi+l/Oe7C4iUOShplsZz0ND8kpwu67qnNZz1Lbbl6HE0EOFU9tMkIh93D1/HYP56Av0 673edbjckqfRywYQuHoPBvsOHVPWlKjR1REJeTOMHyE6WN+0vqKe6tvUTmIHHICRU08K 8hXS+5La2R08G1bEnlZ0++Ml9gfjVjNgKUBMC16TWaRpkgFmVhzKLW9iIATEpLBtfg77 Ht+AOn6dGvcQFtbUBd6jqgyafA2nSSFWhtuW2GSLPOp1BjDFFOC7mYruDcKB3cz2bzlI p9Tw== 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=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=fCuG8DOb4cvAJYQGn9LQgHqPh2VzYGLMXmh8+uP14LNAIaTBtCEFUkaMZdsz3NfwZi ZySsHKYqLRt2NLRXNhqzVRB+ihvLuiKhAu63UW+YIUrstvfJzifwUOefj420xFnmDBCv BQ1Dyhz9xIFVu4/iuT2qWEHrO9bF/uocdabcK/rFNaZep4i2J8rHHA5ONRGnCMyoBPCc ixUObGaepqMVJJpxtkKT1Nq+FN9AUZh7yOCbSbgBrKcWbcKfK2htx0h51C2HO6rnaVev xlTbe5OiK4ItnrUXujA4d7FQGj2lWlckfYGrYruIN2OHB5kB/jlP5lFPKK7WmOKbVH91 VQqA== X-Gm-Message-State: AOAM532DgDycovys/FaEqZeldVpyedu70a3sWeDav3iGgrmdbXS4j0Rp saMdeYEqz1uUGZSInwCqWHXJ/A== X-Received: by 2002:a1c:ed15:: with SMTP id l21mr1703834wmh.26.1604698635749; Fri, 06 Nov 2020 13:37:15 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues Date: Fri, 6 Nov 2020 21:36:44 +0000 Message-Id: <20201106213655.1838861-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163716_845148_C873C449 X-CRM114-Status: GOOD ( 16.18 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/wl.c:584: warning: Function parameter or member 'nested' not described in 'schedule_erase' drivers/mtd/ubi/wl.c:1075: warning: Excess function parameter 'shutdown' description in '__erase_worker' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/wl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 7847de75a74ca..8455f1d47f3c9 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -575,6 +575,7 @@ static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk, * @vol_id: the volume ID that last used this PEB * @lnum: the last used logical eraseblock number for the PEB * @torture: if the physical eraseblock has to be tortured + * @nested: denotes whether the work_sem is already held in read mode * * This function returns zero in case of success and a %-ENOMEM in case of * failure. @@ -1063,8 +1064,6 @@ static int ensure_wear_leveling(struct ubi_device *ubi, int nested) * __erase_worker - physical eraseblock erase worker function. * @ubi: UBI device description object * @wl_wrk: the work object - * @shutdown: non-zero if the worker has to free memory and exit - * because the WL sub-system is shutting down * * This function erases a physical eraseblock and perform torture testing if * needed. It also takes care about marking the physical eraseblock bad if From patchwork Fri Nov 6 21:36:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320831 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651216ilc; Fri, 6 Nov 2020 13:39:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR58N9bB0lDvOjTrx8cjJ+lE5YI59hfjWKHSUtOjT0SX8IQfGcrqPqsMlYgm4DDL7dTlkM X-Received: by 2002:a7b:c00b:: with SMTP id c11mr1551711wmb.175.1604698781334; Fri, 06 Nov 2020 13:39:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698781; cv=none; d=google.com; s=arc-20160816; b=MXXW1QmTNHH1DVvgULogbuJGAS7r9+IEnkQhLPQ0Bl+ewEe9RQ9ODzDjCJeOPo/Ch+ qQNXa/2XgOoG0XlnVP7yD8rb9Br+0SGRI8KE7ridYrIfWdezddichVVgg8JS/TlBbRUw trN7W6zhb2YdJAY+N3vlaPiGHS2z94j/skZINpdB4IFPm6QVgQ5ebIkfhNDFQAzBefSG EkVHMyXK3/H9k3QwDxh4wt0JZ6P4j2iNSIa+4/V1i8LEE69eU+iC/kUGne9lWoSxcyeo WIXqSEOVtUDdapluskyFO2s8jr3RUxqkRD8Ha1yfpGN8LfzWjigWRBWdXw5fgST5u7/7 r3rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=3+yCaZTZdk3xMg/nFPBHQebYkG25HJUnclYqj5Mvsdw=; b=NRIGRmxDa+Shms88TmMdxcd0buZ3L40FaqkpvVX4FrGuZwTQcY0i4v8kfRzLKmXz1t u6pIZK+cmbEMe+tujBtzo2ncYThQqx2uEW2eLckSlrOarWons3KmDMenEHx/wJkU5tyP PRq0IG2+2+x6io5uYI6X2uuBPI/JCQfySffHNdS1jVazO+jO+ioeUBomHNt3lZiwRf1F MarFBbcrIJtZ4LLpbYDB8Eslnkz8H+FDy1H6C5YaUXbwjYouqyZjpalY2s3VbzBRi1gA PkoOXQh28dgEGbxNOTJNkPNrJDDT6Is9F233kHnnVPcB6G3U9cYjV8EfLF7QNkOaFAdm LM0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=e058MGqQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=s+8pnqnq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id p23si2504659wmc.188.2020.11.06.13.39.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=e058MGqQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=s+8pnqnq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3+yCaZTZdk3xMg/nFPBHQebYkG25HJUnclYqj5Mvsdw=; b=e058MGqQZ9CPy2iN60CN7ttIO g0gDKbMSYkVy5fwBNcU76udlZWN31FxijhArji1zD/MRhbm+u2S1S2fwWIReoS0Ezg1FgM8P+EXLp FgT6EkLM2rKBTl3XF4ara9+eKG7F4H54SJpxY+ttYhpPvJt9XBoftoTGTkqJXjizwflUBaqVRrTDZ CRPcGRsf+xcB9EhbkrPMoaSLCMct1GbPjUv95GyVReziu99ZRdZJJOBXHwvbwwBu/KQMDRDuQWt1m 493df1lP4e3DPHudFKbHezfGn3jlfpIp7qAShCKs2yMfV9fBPCMbZcaRjIqr+jT5XxTOtYkb+DrWo iH6mFzuLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Rb-0003OO-E2; Fri, 06 Nov 2020 21:38:51 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q6-0002d4-KR for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:24 +0000 Received: by mail-wm1-x331.google.com with SMTP id w24so138469wmi.0 for ; Fri, 06 Nov 2020 13:37:18 -0800 (PST) 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=ADB+AAqc36iIolfkYxxVJScxpF6foqJc0x2xHW3DbKM=; b=s+8pnqnqeZzO/YvzdMf3SHPtNAs0DYXQIadajMOMBygCqYgl4arX9fKT8xfh9F6FWA krlAql03lX1koQn7sL8jA9C0sl0pC+e17S6IIxL7nbfSrHk8Ql62MdPsXSHY0dM5O+et fBgi6TmKbskI7PiXbHEJg3W5bCpOwddDKnhlF/SbBX57ZKGgfcvsydtRLXQ592qShBDD sz2VAWxxZjlEUVZvR43ToUMC4aBtYGVf6a25J6PjEitmVoNGfcGLnoialDb8y7hlC+YC dpiHl9Pjk5OMw+OMprTyJC2oRxOxXoc99gaNlgBtGV17qTMOSVpGAK8wcgafgdHTpDqz wG/Q== 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=ADB+AAqc36iIolfkYxxVJScxpF6foqJc0x2xHW3DbKM=; b=VRD42GORdyFMW8t1CVvdzYUQ8IXnPxkSE4adZODpe+i3tX0hR+/13j5/NflWbtlYOg BgayKX7HgZ5VU3Pe+qb9pvR5w2Y8PXkPLs8AAQrAPaG3yIefXF5Yh2N/VAmC2IpzHzLM BMRRD+1H5GWOjFKoaQv7wchIS7Bm9m8qOlmShBjP6r11+c7Z3SW/cqaMB1w0UZfR8sF+ GWsx8rRwAEsFUXlfUx7hdDtDYcVTV1DOqBBhn/ilK5/mnUWP8gOtoLY3kQ+p5GwV/I19 hEwrNRCQ5toB2eDmlZphEyacqkyi5wQwv5l8GkR+DI/pOApGg3xvKkTmRKpAijwy+lij A0BQ== X-Gm-Message-State: AOAM532gbnkpEjrTanyAChLx4/TfsWrSXw6w6Q8KwqLoeaxwNvRWeQzV AXdjDnvRqqoDtwq3AQdcZuQ1JQ== X-Received: by 2002:a1c:8087:: with SMTP id b129mr1617789wmd.10.1604698637166; Fri, 06 Nov 2020 13:37:17 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 13/23] mtd: nand: raw: brcmnand: brcmnand: Demote non-conformant kernel-doc headers Date: Fri, 6 Nov 2020 21:36:45 +0000 Message-Id: <20201106213655.1838861-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163718_763046_80AC6BDC X-CRM114-Status: GOOD ( 13.59 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:331 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Vignesh Raghavendra , Kamal Dasu , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , bcm-kernel-feedback-list@broadcom.com, Brian Norris Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'host' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'addr' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'buf' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'len' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'cmd' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'host' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'desc' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'addr' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'buf' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'len' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'dma_cmd' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'begin' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'end' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1951: warning: Function parameter or member 'next_desc' not described in 'brcmnand_fill_dma_desc' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1977: warning: Function parameter or member 'host' not described in 'brcmnand_dma_run' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1977: warning: Function parameter or member 'desc' not described in 'brcmnand_dma_run' Cc: Brian Norris Cc: Kamal Dasu Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Lee Jones Acked-by: Florian Fainelli --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ Signed-off-by: Kamal Dasu diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index 2da39ab892869..659eaa6f0980c 100644 --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c @@ -1846,7 +1846,7 @@ static void brcmnand_write_buf(struct nand_chip *chip, const uint8_t *buf, } } -/** +/* * Kick EDU engine */ static int brcmnand_edu_trans(struct brcmnand_host *host, u64 addr, u32 *buf, @@ -1937,7 +1937,7 @@ static int brcmnand_edu_trans(struct brcmnand_host *host, u64 addr, u32 *buf, return ret; } -/** +/* * Construct a FLASH_DMA descriptor as part of a linked list. You must know the * following ahead of time: * - Is this descriptor the beginning or end of a linked list? @@ -1970,7 +1970,7 @@ static int brcmnand_fill_dma_desc(struct brcmnand_host *host, return 0; } -/** +/* * Kick the FLASH_DMA engine, with a given DMA descriptor */ static void brcmnand_dma_run(struct brcmnand_host *host, dma_addr_t desc) From patchwork Fri Nov 6 21:36:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320827 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650823ilc; Fri, 6 Nov 2020 13:38:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhIFIMYM4F31onHJy6g18YAPFzgEveDK35Ja2qq1ubxwQDKIDESNdyPZLMrjmVJf4HkDzU X-Received: by 2002:adf:e681:: with SMTP id r1mr4575932wrm.181.1604698735504; Fri, 06 Nov 2020 13:38:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698735; cv=none; d=google.com; s=arc-20160816; b=M3pjKZUAVfWdH86elQGuqMwOAsTa8paLvyEbe79yRw/CF5Ll19f6YJtJLi5WW3Hduo xaI5eJst6yO37xVHsaWuptG2uhRdItDOkVAZk5vLfTFd6iuWBDorEqRqq6WaefUcpoLa pizxYercjej17uYHhEAQVZ7PMesK9Maxs7ISNWIdbU2vMTz+eqpm9CjTcSQAc+WFmbJu 4tFj2WOlvgpsu1zq0ddKfZ9lawMTg/UMiI9K8GNL1D9ph9jL0uiDHrV7RmR59MrIW+k/ uSq+Bobd93fSaZnT1JJN6tHggFES6z4s5/Fm21BISPBbpQLEw1mt5V7XNrCxNka66qG5 jTIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=roWoVZOyisf3kP8yVLumHtLaTdS3bQKe7/mFiNzATVM=; b=II0yPKLeF2XLyOk47Jf4yTUNxfmfyUxD4/yhj4okOiPkr0NRJYe6wQeUged9cz+SEE EzKuq2BM1cBhFR0EKfVS+EOJ3qSP3YjFYgQZHmRiqe1+HgTm0L7CTsMdTTuIAXJFG+Zq 3ERnSGv2QF7UzqkSIRXP3thWs5Tzr3TWJipYjzhHVKfiXKU1PTtYKxvXGpIFxB04NH75 ZYrg98tSrrDFM7fFuzIdg4Pli/gS0qt9loiHGNufgYdq7GFYn9FiRZgUXOG4U4/Bx7vU RgXlhL4SuPHFjRTGdjAXZH7aiItA2M/dcrGcefBn7oxKHRY3Pe4zw9gaoCTPPl4GXGn1 fRUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=MG31fUgi; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fPUVZrZJ; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id c16si2166955wrw.163.2020.11.06.13.38.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:38:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=MG31fUgi; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fPUVZrZJ; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=roWoVZOyisf3kP8yVLumHtLaTdS3bQKe7/mFiNzATVM=; b=MG31fUgiAFTh0CT94fR2Ax67g l7PcOfpDsfbbzuAyiK1FBbj5w7J1gghO+fpHc+BkETcEpK0iiY21RtW+GDotPZQvQUhl+tjH6egY4 Gj7V2n1uFEvvm1Rqhg6idhdMFIlFET/vXpLqOuMWosJcALLSKHSZG6Ly4o738Lk8sRk+ps0cPa8ZO zRpkbajPbBPUESj1sCk3eckfXMd6EUJYJ+V2Eogj7201x+0dZSK5RSdx2U+xpWAQmlta6cqTzIlZJ YVIk58SMno4oNRKWCNRsZ1dJ7sCyTbspLpo+ij72Hlf0Q4dLZ7ilrzHjbDQXnPf73fbLGowll2gXC 0OslbiUYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9RP-0003K0-Nd; Fri, 06 Nov 2020 21:38:39 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q7-0002dJ-4M for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:24 +0000 Received: by mail-wm1-x342.google.com with SMTP id h2so2824940wmm.0 for ; Fri, 06 Nov 2020 13:37:18 -0800 (PST) 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=agE410NhHkG/VilLjKYAizauXJMrtB10xUIGh/10Z74=; b=fPUVZrZJSo95eRMxWSlqADih2GCG8nwGdvu6O3QjQhQ3dpQrgZamfSmZsA6Yjfb8ED 2F8ZiRkTUeBOXMFtchtdYi+CmlkfcCH/qy/PWfMoqXgROheKldXQ3s96xPGt+smVvpNB QCwEgP7PO7Qv7EyEP8rFl6KEr1nd2qBsnPQficJ10laLTMOjXfYHhNTQVBCk7N13RP8y ekSjri1cGcLsH6emIAM4G5ZKAik3tDSqJp/XQzk/rPaaXzZafAeW2icIMXQvaBa5epCA cZ/tiV5hmSSQeC5LBnb5nSnwwksMbBgAt6xVAeZ2WOLtKUaO+dUYUV/pej6/Cu9LGkBq YWRA== 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=agE410NhHkG/VilLjKYAizauXJMrtB10xUIGh/10Z74=; b=nKMOgnCs97oackwulzrGMnsE1/Yg3XMbN8hvmFP+QAwWf9HMXkwxythVnzytEKPmjT TQj2sbGAY0RWC7Errsy+M/u7LOVqpG78p/PfMYJ60zblKKuJKffE9SOw46xyURYinCbg APnkqqVrcomEeU8iDEs1ZrdrBbJ1dVUMyn56P/jSmGKONxFdxqVoHu5ME97E4q7rMEjB mwDZsV+/JIjfnOUAWJVgKs3v0KVMayGRJLSMneuzCz9DZPMyikHs+H8ivbr+cEBjQIQU KZ5APMZACTWEOdzsHo8+HsHOgmEwezZhm43g7jOt9oaWAeHbsBaeoQcNH+KgrbVV6K7b vB9Q== X-Gm-Message-State: AOAM533A7qsc7BbP6nmi6h1UJH2uCCqdwt9Xywm+nbOVR1NI2Hy5gvaF CDnUnKE0svU2mhIPgUtiHX0ctA== X-Received: by 2002:a05:600c:22d7:: with SMTP id 23mr1596579wmg.67.1604698638184; Fri, 06 Nov 2020 13:37:18 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 14/23] mtd: ubi: gluebi: Fix misnamed function parameter documentation Date: Fri, 6 Nov 2020 21:36:46 +0000 Message-Id: <20201106213655.1838861-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163719_244909_DA8FEFD7 X-CRM114-Status: GOOD ( 14.66 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/gluebi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c index cc547b37cace5..1b980d15d9fbf 100644 --- a/drivers/mtd/ubi/gluebi.c +++ b/drivers/mtd/ubi/gluebi.c @@ -439,7 +439,7 @@ static int gluebi_resized(struct ubi_volume_info *vi) * gluebi_notify - UBI notification handler. * @nb: registered notifier block * @l: notification type - * @ptr: pointer to the &struct ubi_notification object + * @ns_ptr: pointer to the &struct ubi_notification object */ static int gluebi_notify(struct notifier_block *nb, unsigned long l, void *ns_ptr) From patchwork Fri Nov 6 21:36:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320829 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651029ilc; Fri, 6 Nov 2020 13:39:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyU8F+gR99U2g7dsrRRoOMHHRvQh3waBiOkA30u2qM1bAUoVEVUPorjmaiHGa1VNAdAYB0/ X-Received: by 2002:a1c:4909:: with SMTP id w9mr1552374wma.15.1604698759305; Fri, 06 Nov 2020 13:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698759; cv=none; d=google.com; s=arc-20160816; b=F2ZlDsXU56AMc/WSYsvYv/pZPdoFYXnfT81pt7Da+Sfl6m5ji0aNuZBMdFEqEYfjVU BA+1mqKuh6oMt44Xr9m4hynDFXtpDY+pE1+bqj8SIJHet/DdQcN5EVaIvC4eRJAA/Ylg /A90ORIE4tDsqr17CU8CpM4esOBbjvx98mFeOFdbprBBGUoBvWz+bXaj4xM0LGMc7eOL DuRAK04BN6w1dXvlb29P21G1W4FVh6NfdFSbyfqiX1x+DsTNWFAvhfA0gC5D8V/0IKS4 A9fWcfzELtkmPt9ptiWHiXgB/koqzdi55xgQ7W9/86YyB2oPHT6J0HSQ6J4CiSBrvaJO Bgew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=n/DTXePThcgrH6HMtQaU/usSvTmxDbR/cIp+unxHlng=; b=bwp3gPuJCWm8jMSOkC29NDqWLJnnEintHxhzu3UC/H0cXJNXWliP1t+CH8uxNrH3SM APehiVIy946LT/hPomgNq8PVAdOLxw09X1Hrfa6rhZjKlpYvNVdj5VKFoJuCsTSoIaUy 63pdbRzVniHkxyVkNYPcMcLnekG7n29m5dATZgMcyarc5ySc1t1fizBkSFenMfJCKYiq m7ZussE4H3o8Wg6vH/qSR9S697Gj6DKiMMBI3AmMkOAoWoEjk5rX+EOcWMXEtRZuTHSL MLKzcJ2G2Tg9B8wkO7kFo3X/wRRgSiWiu7r8KT1mxPVKWeWd+Pmd4SSc1UKglubpPvTg 9Idw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=f2rpVO6O; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YuusY46l; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id z11si2159337wro.289.2020.11.06.13.39.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=f2rpVO6O; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YuusY46l; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=n/DTXePThcgrH6HMtQaU/usSvTmxDbR/cIp+unxHlng=; b=f2rpVO6Orfg6S4g0xIEjxpTMF YK9GSvT5jKoCu/ZKU00CXmo45PWOR7dOqSVudaofQCtlBuDToolwsBLnoakbPZ24CxObq6BWIwgpC sIHph3/nb2nqv73KWv+E7jPwvyGuOTCXr0DAgkgIzIyoVtwqB8yP4DxykAwwgG6z8pRWzepNR8Jwu gdbP2YnC9FpbtXfO1QR5XApcKfO81QdAYe9H/NM4SlKB6QJK2aYRjnyfoahvAuVCRhn94oQT1K7ye z5jsDWWuI5pJrcIfB+ObwCYcpGFA2yi92CCuI6bDzJeNxVZQxyXOTaBaqWKYcMo7Nhr+SZKVH+lmd AAsvLdJZg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Rr-0003Zh-39; Fri, 06 Nov 2020 21:39:07 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q8-0002eE-KW for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:24 +0000 Received: by mail-wr1-x444.google.com with SMTP id n15so2765925wrq.2 for ; Fri, 06 Nov 2020 13:37:20 -0800 (PST) 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=zU6AEe7QJ86BUUdNT9vgeNl78+UInfUWOmxhJubmBR0=; b=YuusY46lidvYZNZcyIlP029LugBzFM5/o75ceo7IvkH//GmrbJTHOAsMyoRKekOXtQ TMitq0JQgNzh3BTtq1WMw7iHMlVscy6Pm0oe+l3nNt7n3n58MDHtM1EgF5zfaxwvzpej TrplfRFEutXmar5oP3bwEM/W2dm2yvMrpuTx2ZmGIUVIQ1qysS9V7ChRifCaiMV2VLli Z6eIumohXtw/X03cudUHrEE4fE8PNkpyvpHPyHsyDCwlxgc1xtzbCYB6P2eQTjFfiaDI PkJJ9KI6WIdnWirDj9iQCXiQ8OV6wQLGf1xhikpyTW4Lge5bH3lIbJzAe3MfnGOBtvBX gCyw== 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=zU6AEe7QJ86BUUdNT9vgeNl78+UInfUWOmxhJubmBR0=; b=nZTk+i1mCPgH8TZ9FRKYIP7fsglyA13/7nrHeRiF6o5pElnyIQ+kxiBWrAKtso+FDt Y7IibMDcDDNuUiopnINlPWwdMOrEaROpNCrVUiusIYJdPam9Ku6gvCsSNLv+Ecl5Z+Qm 0kTjvis8foeStro5IW12zz+fMG5mnzxtPobkRzb0NqoVAAZGGd1NfMT3QhuSDLGi5gA6 eEW9GIijxabCRIq6QW1/MGqitmAuzaOWZStoh+Fh6cbXjKue1hoW7IHGKmKxaIU31DiV 9ayoUV5SaOmvY7mIaZcn4uK1gl7ds89TOI+Ktmnn8ntqsv5U2Af8RhHoEUrJ+kWh/0Hb IB6Q== X-Gm-Message-State: AOAM531SkC5fKIHGak4Qu4O2MwPShQP5GWr3rvnaMIwcwnbqZHP2jNeQ 0352BDuiWS0rEiw1wYj9cqgndw== X-Received: by 2002:adf:fd06:: with SMTP id e6mr4794908wrr.206.1604698639476; Fri, 06 Nov 2020 13:37:19 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 15/23] mtd: nand: raw: diskonchip: Marking unused variables as __always_unused Date: Fri, 6 Nov 2020 21:36:47 +0000 Message-Id: <20201106213655.1838861-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163720_805141_186B04CE X-CRM114-Status: GOOD ( 19.82 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dan Brown , Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Boris Brezillon , linux-mtd@lists.infradead.org, Miquel Raynal , Thomas Gleixner , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org 'dummy' is never checked (as per the nomenclature) and the use of 'emtpymatch' is currently #if 0'ed out. We could also #if 0 the declaration, but #ifery is pretty ugly, so I like to keep it to a minimum. Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/diskonchip.c: In function ‘DoC_Delay’: drivers/mtd/nand/raw/diskonchip.c:219:16: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] drivers/mtd/nand/raw/diskonchip.c: In function ‘doc200x_calculate_ecc’: drivers/mtd/nand/raw/diskonchip.c:706:6: warning: variable ‘emptymatch’ set but not used [-Wunused-but-set-variable] Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Boris Brezillon Cc: Dan Brown Cc: David Woodhouse Cc: Thomas Gleixner Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/diskonchip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/diskonchip.c b/drivers/mtd/nand/raw/diskonchip.c index 94432a453e5ee..d5050e32cc421 100644 --- a/drivers/mtd/nand/raw/diskonchip.c +++ b/drivers/mtd/nand/raw/diskonchip.c @@ -216,7 +216,7 @@ static int doc_ecc_decode(struct rs_control *rs, uint8_t *data, uint8_t *ecc) static void DoC_Delay(struct doc_priv *doc, unsigned short cycles) { - volatile char dummy; + volatile char __always_unused dummy; int i; for (i = 0; i < cycles; i++) { @@ -703,7 +703,7 @@ static int doc200x_calculate_ecc(struct nand_chip *this, const u_char *dat, struct doc_priv *doc = nand_get_controller_data(this); void __iomem *docptr = doc->virtadr; int i; - int emptymatch = 1; + int __always_unused emptymatch = 1; /* flush the pipeline */ if (DoC_is_2000(doc)) { From patchwork Fri Nov 6 21:36:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320834 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651395ilc; Fri, 6 Nov 2020 13:39:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKE0iHBjj6VnqGRvUv19bbHBa7vgnnkUxQckDOuCr5lnv7qycxHbTAcpZro3q1fH7s6RV6 X-Received: by 2002:a1c:5605:: with SMTP id k5mr1473484wmb.99.1604698797964; Fri, 06 Nov 2020 13:39:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698797; cv=none; d=google.com; s=arc-20160816; b=YwIjyNE3OQ5rnfb/ivZz3HMOr1NKtMAEGsPiVdDKXN+P3jrfcpmc462qvs/SBT5Bb/ lapmzeGs9lk1iHy1YFIeJazogaeJxjpQ0gUcqf1YIVd7+XhrgKILXJbO8bN8ez5n/ytY E3VNjdaDZX1TiYWW+nT70rCEoJCmp8wMjQka47k5jpi4RGlIKQPXUWLqLXLHEupTRy9U RfbJA59tpLeM9rQpqF4MQ5hpD/Ljdi5yuyt7T/6vbX2FTrkVJyDVKQu4ya11hmrN5qhN OvMwJ+ecVir+H5Jmk4pSMLuIvZC8e0veO+YbIvZCdksGw1byGq9kya5VcDfI0Eouut/g 4pBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=WghfdeDhC4j8A9jqfoXtbDE88+u3P645dCUawF+NjuM=; b=zYNBf5GcZushJh8zhbDBx8B3MargL8IlxBmJTeEOnxdlUx4VX9Ui1UXdFFeiJfpUxq BejRMMEyBK9OwOUepMQUauFj1zbDA0C3weGVC8PVQMSgL3Zrp9XlNpaDUnsVC64bP+2x HXbrxf3RTqv8EB3mMLXYozKLvQWnRLvvZhdOXxUakCh7nh5G2dJh/4hZivLqD76jPoOb XXsHmES2JF3FmFDxxVQo/UM++1BDKJDuiGRspl66E/wZRiwSFZYRNc+jM1QT5w4M8hCV abnfeFVDuQzYHPjQHr85o11pcE9ZHGt3byjeph5zoq7tG+BRONK+dOUx4swyGfDOsWA7 BsfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mQ4U8PPV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nffO+72F; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id c9si2143549wrw.257.2020.11.06.13.39.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mQ4U8PPV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nffO+72F; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WghfdeDhC4j8A9jqfoXtbDE88+u3P645dCUawF+NjuM=; b=mQ4U8PPVN52u5IU5VV7EKpdNn LdZ2k5Tq/oobw1wKx7eHkcTFCUmZRYDWUp6fmiSBTDiBrnlFUZ/zUQMVBJ/OqxzUUUhynbNeIfpsQ R7RRN9SgSrmDnN8CTFYlG9eZd1OPBvXUmXSLJ7vUlHMBln6Zhs/9MEpXi6bw9TqH0K8gaOl8oObHS M+0k3uqnvpgny2Ukp+zNwMCZVtrPJmHusBvyY2koiL0mcpLQbXkTKm5NTAQWFqphr0NPyaoHS2hhF +nRRo/53ftSlc2Up1usJhSx0i5I5snn5uLj9L+I4MUH6egwtHJjXSwpAkLDdk/m6jwraLZHY2RBjm M7jigp1Pw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Rz-0003eP-8T; Fri, 06 Nov 2020 21:39:15 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q9-0002et-JS for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:26 +0000 Received: by mail-wr1-x444.google.com with SMTP id c17so2754100wrc.11 for ; Fri, 06 Nov 2020 13:37:21 -0800 (PST) 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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=nffO+72FegtWIuRQmVOjyQ3YSiqmz16iu6IDBvNnyWD51uId9oSzigR7mWrDp28h2q b1ci3TdGgL2M4lLtpOTLekGXKiYt+60aXo5YqXNe1XYYTOAqVyGyz8CVToiqiFTweNaX FsN52+nl19OXuJmO/u/zcARgVagxc8IQIZtN2jG6H79hpAPYvuHc077940+7qYcgvwOW NN/OIydgWJjGB8SKr5n8OvLQ/k4OInYT0d6kbBXMowEzwX3L3aNCr002eFVOXKvmKub9 AJ2hR/oU9E6TombBZ0VhBI8XbaTrDRJrKKLUJc9o96j7xfweHYxc1mgHGVcWJSYXf0+T rfbQ== 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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=StYGoN6iC2xvfuvHbCdRWP0ZOGQZ9lSxhc2e/23JX1D21ksEAgvbgY/5I5XP14+UoX 8XCtqFEIhTe4recIBCPWfsoxuL6V3bGJp7tfUpXTGwa4tjBKrPCt1SDpExwh6Fq/A81o KR38dNHPxJOKH83H+t18euAf7cYpoFvqoOKatlv/DfBAXk63HIG/AWgOPyPJWmgask1i Z004KxbzqBkf5oihsy2WqrYrEBB2rojg+zqMfEEcBIPCsdnyyD1xbkCjh5f4n3QKUyYz fYxa2tDZ185GNz8wODvNr28d/85zTmMeDJN0Cm3UQrszCgfOvBvLZfDWY84JMXXz210f OKvw== X-Gm-Message-State: AOAM532lLX+nWeNtG3zZLGhw/66t8ZTefbUg3e5tzgs1MrNjD2AopA2+ fU2mD9rh25vK4EUHQgGwSggeHc9YcXiy4Z1a X-Received: by 2002:a5d:4104:: with SMTP id l4mr3250741wrp.276.1604698640687; Fri, 06 Nov 2020 13:37:20 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 16/23] mtd: nand: raw: cafe_nand: Remove superfluous param doc and add another Date: Fri, 6 Nov 2020 21:36:48 +0000 Message-Id: <20201106213655.1838861-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163721_779986_B2432E6A X-CRM114-Status: GOOD ( 16.87 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Boris Brezillon , linux-mtd@lists.infradead.org, Miquel Raynal , David Woodhouse Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/cafe_nand.c:372: warning: Function parameter or member 'page' not described in 'cafe_nand_read_page' drivers/mtd/nand/raw/cafe_nand.c:372: warning: Excess function parameter 'mtd' description in 'cafe_nand_read_page' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Boris Brezillon Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/cafe_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/raw/cafe_nand.c b/drivers/mtd/nand/raw/cafe_nand.c index 2b94f385a1a88..d0e8ffd55c224 100644 --- a/drivers/mtd/nand/raw/cafe_nand.c +++ b/drivers/mtd/nand/raw/cafe_nand.c @@ -359,10 +359,10 @@ static int cafe_nand_read_oob(struct nand_chip *chip, int page) } /** * cafe_nand_read_page_syndrome - [REPLACEABLE] hardware ecc syndrome based page read - * @mtd: mtd info structure * @chip: nand chip info structure * @buf: buffer to store read data * @oob_required: caller expects OOB data read to chip->oob_poi + * @page: page number to read * * The hw generator calculates the error syndrome automatically. Therefore * we need a special oob layout and handling. From patchwork Fri Nov 6 21:36:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320836 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651676ilc; Fri, 6 Nov 2020 13:40:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuUYPnU5cUDj5m/d1jxSIxg3knK2UN9QQZq6gLoT2gCM8XWT0opvkaZG/5N7iez5WPBLSt X-Received: by 2002:adf:84a5:: with SMTP id 34mr4660162wrg.8.1604698824208; Fri, 06 Nov 2020 13:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698824; cv=none; d=google.com; s=arc-20160816; b=Muv91b+vihwS0pRfbOQNT1Rk5KGGjcIzlOtIw8JrurP+O0P2nv3YM2mCsWJMXO2xwl AjlznzYjZrYLWXUmQruiHWBaPUVITVsoH884wUGUKAOphrFOcWchGAczCPIQBHVvMEcq cBM1tV+8MDZSbj6hW7KdzSYg7+y+F1G0iXRR3DjUzf2BsbZdOVJ5dj2wpZfbHKHM/9bz jBvLoU9CISSBVrHhZUQoGCZzU2mh/GV31P9yKyf73sVGO5dIJDc7gwHVLl19wNhgHtzz BoXgH9oEZmcfJ0F9kyqiMyWRByFucWMp2XuLGEDoLm/9mcfLrmvZICyxSg5N8Nj8ISVO 6OEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=/yoUgR3Mj1LU7MFNvezDlP9oaQHyS8yiRUPU5faGu54=; b=uTuK2dGkES3H4IkkmqQWiXlnPPJL08YYXhSvD4ePXPyAxw6CLgdi+NAlTso4knpEXA vigb6gjuy2NUFHrkXNPvqyao74ZuZgQfNWLwCHao755O4FBh7d+9B6rtzoYj0YoXJiOF UOVuF5T3zA4A8826l5PLzkRYYfUJkMdhbigSxRprRsHuDg1NZbb9WOBvzqtizWtfNmdo y3vg/3ycZ/JwkH1VhJwUYLdfYRf0HLHsTC6gVP+0ukLUVtGm+i2sofgaJ+Lk9dcxMuLM feC/o4tSlK9LYArb/hAbwNVi4wpXC+JMMOqFHDe3+zOdK/P9CP695gR1ZYFLVD+aDUYY maHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=IGY7IuJj; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j4KGRdPE; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id n7si2262201wmf.110.2020.11.06.13.40.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:40:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=IGY7IuJj; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j4KGRdPE; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/yoUgR3Mj1LU7MFNvezDlP9oaQHyS8yiRUPU5faGu54=; b=IGY7IuJjtNn49VB1w4w/l0cPk KOeyUhxSE2qLSV2KuH5vfSoXdLcnfOsmEE/MGIhN68uk0d/sytI9mdoT+QQSSoaDJ9nnQBFQ7z4W8 XohoQELY2fJSXGIQFIQWyc4wj0wDYWAUJ/f9pJ/VQkbSdCAOaGjk9aSasUmRxLznnltkJ8WqYwqY3 SOEhSJoja4Um6+sNfHNNbQM+SMHXCt0yFtFQ9B+djCwneBGa/2VBNsfwzNJECo4McjaKeg0aYFoDq 1ENPoi5ueFABQGccNdgLjYgBaSVQVdVx/U0YeFWJpPfhc1s67gOuFirwXc/K7NHbyM0jK00V5YulY CUaP8NAkw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9SI-0003qo-Ju; Fri, 06 Nov 2020 21:39:34 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QB-0002gA-VQ for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:28 +0000 Received: by mail-wm1-x343.google.com with SMTP id w24so138678wmi.0 for ; Fri, 06 Nov 2020 13:37:23 -0800 (PST) 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=jc+oP6vugsB/NFox5ee2E+FED0ZhjBIzS6GFVD2ExkM=; b=j4KGRdPEohicZL6AoYC4Hdrh+N2e2xqMn+HVwrhX4+LirOMr4k8k4c3gBDb4TBe/Ej CCNbwys4IwnHNxIlOHzM44fECTrBZyrnvu6wGNldLEOX5C0IV51hvmGa3DZ64QTdSztT JMzNSCxsfs0jj9G5p/P9vly6Pl7fBkTElXddglJPv+rP98dwOOJ+IKCbT6CLyPFC5vEd +DidaTOsKuw1WVQmAHdmZUkK9FguedLqNF8z6FX/NFi4lSNfjfxlyuEJXGUWmR59gTh7 krSCjn5tLcgzi7iQT8YV/v3z5ktHaKNGMpbPN0tWJSjZZwC9CHdE650upzC28RW1L9jJ y1WQ== 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=jc+oP6vugsB/NFox5ee2E+FED0ZhjBIzS6GFVD2ExkM=; b=J3iT2unL9GTXkdAH5qEhUxcQ+KTTVBjP4a/DbDwGRL+Fs6zx9CmqXtaE+iRf5KygCN vQTPkYX14m9ZodytpBFArfohDBTHmqhcwVkngL1i2/2GEMsvt+yzfNC7q17qJ3kYT92Z n2/for/1i/gd9He0pT4/LD5T10daCs7f72iNG60hx72Rk0GwwMusBCifjRQlK34W+ED2 iHK+ToLxV5CzV/9vzMzMq1tV0FqDJeiXQN2Wowhg+FjwZP9PsRmuCFtrd8er/n0oAkum MhQvYUqF2hsB46hjuWBS5mc1MiKv3OkAywEyfGaX2IuXkOCj0iePCiIyLNyW/X/Synvs P2fA== X-Gm-Message-State: AOAM5331wxad1l6ZSo98FFp6eC5UXP3TV5iau+DQbjg/gxPt/k9XURYG VG5zAJeC6IeM34sjWxoaPbkJ4CcxtLfvpyW7 X-Received: by 2002:a7b:cf31:: with SMTP id m17mr1571554wmg.62.1604698642984; Fri, 06 Nov 2020 13:37:22 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 18/23] mtd: nand: raw: omap_elm: Finish half populated function header, demote empty ones Date: Fri, 6 Nov 2020 21:36:50 +0000 Message-Id: <20201106213655.1838861-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163724_098838_80517995 X-CRM114-Status: GOOD ( 14.47 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/omap_elm.c:102: warning: Function parameter or member 'ecc_steps' not described in 'elm_config' drivers/mtd/nand/raw/omap_elm.c:102: warning: Function parameter or member 'ecc_step_size' not described in 'elm_config' drivers/mtd/nand/raw/omap_elm.c:102: warning: Function parameter or member 'ecc_syndrome_size' not described in 'elm_config' drivers/mtd/nand/raw/omap_elm.c:440: warning: Function parameter or member 'info' not described in 'elm_context_save' drivers/mtd/nand/raw/omap_elm.c:488: warning: Function parameter or member 'info' not described in 'elm_context_restore' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/omap_elm.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/raw/omap_elm.c b/drivers/mtd/nand/raw/omap_elm.c index 4b799521a427a..550695a4c1ab0 100644 --- a/drivers/mtd/nand/raw/omap_elm.c +++ b/drivers/mtd/nand/raw/omap_elm.c @@ -96,6 +96,9 @@ static u32 elm_read_reg(struct elm_info *info, int offset) * elm_config - Configure ELM module * @dev: ELM device * @bch_type: Type of BCH ecc + * @ecc_steps: ECC steps to assign to config + * @ecc_step_size: ECC step size to assign to config + * @ecc_syndrome_size: ECC syndrome size to assign to config */ int elm_config(struct device *dev, enum bch_ecc bch_type, int ecc_steps, int ecc_step_size, int ecc_syndrome_size) @@ -432,7 +435,7 @@ static int elm_remove(struct platform_device *pdev) } #ifdef CONFIG_PM_SLEEP -/** +/* * elm_context_save * saves ELM configurations to preserve them across Hardware powered-down */ @@ -480,7 +483,7 @@ static int elm_context_save(struct elm_info *info) return 0; } -/** +/* * elm_context_restore * writes configurations saved duing power-down back into ELM registers */ From patchwork Fri Nov 6 21:36:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320837 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651871ilc; Fri, 6 Nov 2020 13:40:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJtYcaqhalRrvgcH609mjiAmNZUCSGe4m4DmLsYCXTTKYkTBjsy+2BPtiuH0pyIASWL1vI X-Received: by 2002:a05:6000:345:: with SMTP id e5mr4492688wre.333.1604698840085; Fri, 06 Nov 2020 13:40:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698840; cv=none; d=google.com; s=arc-20160816; b=qRQfU9rAKcGJGGxtVVqQqxkPnFNpNShRM5kLnNXuEix6AnefjlnuDcMi374usyWIKv xxeHiDra9GHqqa4J8Pi9eze/5Fhg67Wnr87nw+3fiL134C+1XiNHKH2+9430Bowxp1Lx VrbxtKz+CWIyZGprzUrauZICS4wg3rThflnWBWrD3AXafzwKG/AcIR4UBYCtM2crZWqX I3omeVw+qZDevOxYFtpD4EcvjtnK40gIsAZ67kVN2bH2u7jD99xx7d3vxdbXXnUcWsiA Q2Td8UFvaUXubyf3h8wqfMQuhWK+91OUPYGVoWq+nyu/QpJA5cmqnr8JTkuAH9As/OCe YKnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=qYFXGHJ+seoQipdoVZO+eC0JavciE+RxMUNfbt8cpEk=; b=jSb8DjzDr1fCy1IrOET/p/vCSrDbpHxvydvzv1LhB186Rc/UtMjlwEc1Yw1GAPHP5G 4xfieNKjmQhG71Vyb1ssjwOuQVFFbrlVEHTJaQh/wkLwqAsAWMK/S5HPEiyLGHcIAsya zymP9DH6f5Ssih1ldj4o4OPbPQqRkR7FEyGJgOodiK2xyBQQHuPTuQFd8AWWP7IHJS9G X+Ss2gsawF1u8SQt5RU3QWMz53tVbp5fcjNahEn/C8+VxgcDjt4rSLIwox4/Xmu4DQpc wfFA8aVFUB96MH+cR+XQ09T/QKDSfdHi1jES77m7qR9olSMDIbm2Cbmgm5KvVhW7b0es LTCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=LyyJ0+px; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fQkMLtI3; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id q4si2260420wrw.54.2020.11.06.13.40.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:40:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=LyyJ0+px; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fQkMLtI3; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qYFXGHJ+seoQipdoVZO+eC0JavciE+RxMUNfbt8cpEk=; b=LyyJ0+pxvOdhJFK9e1lXy+SRE VsOPrRWP+ETTwEmEattnSOb1OZZWvLw44PnJPp9rabjaxgoXv9kPG1emhQvyvZ4TjZ6LjE3oYt1fk hxv3Z72sytRCavvRTA9hGPakYD9YWUE8B3KjMeX1fZaQ2m8q0LO5GR+OB15+uPcTW3yTMTW2psq+j TFndfQ6nH0SKn0ndd0u4qydVE/kq+t4QjGxb2/mk4FuG3p6nh8ErP6rKMfmCGMgPCTvFLvA/Yjnm+ paEiEkdzLqXG8HgBRDgukWjUaj0zry27nSajJkIUDvH8hPt9pvdGBZnbWJZ5ZbGLF/VNa7ywVHa0a grTlJ+YIw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9SR-0003wl-DQ; Fri, 06 Nov 2020 21:39:43 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QD-0002ge-9q for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:29 +0000 Received: by mail-wm1-x341.google.com with SMTP id p22so2815761wmg.3 for ; Fri, 06 Nov 2020 13:37:25 -0800 (PST) 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=L9e594iGsPQazHtR8mr0tF4GNyBoavTbOlvYUU648dY=; b=fQkMLtI3jRMu0qJTAzLmT9sPs3g2kSFvpEfcUm48VsT9veBNfwxyjelqHMe5RGhlJl yAdcpBeo6Viv+XbU7khoYaO2OCICXxNtrjXAWn9GmjWK6wON3wcQnp30LoNA46vsnaTf PT/DIyVKteZ69p56UD52b8pS6Rfmws+Ofjhv2UTmpVqUP+afGGgpudPY1aJ1CKhxSZA3 Jd7s6g2FSXBobiP6aWe/HsuPwzQklf4lNRrZDxfI8IGsmErymbBTaeH7Z2Udwiw8OBZ4 irGVpOVEJcL3/u4qjf5Pxy4Q5f6x8jPNb7+Uu3MgSQtrgGD8pef6VLhQPkDAUHw59LEK SY1Q== 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=L9e594iGsPQazHtR8mr0tF4GNyBoavTbOlvYUU648dY=; b=lco7CmwkjSxewwGeEe0P9dTjT+zHWjH6p95SnJMrP7h+nWzG2BSKjpSiB6VKT7nkdI c3gqSNbuvCh+u8wClc3dVO0eXTEKF1j+vrV6SEJoI+YC9xhb/ZAF0vuvEJ1ATMnYH8Gz LZsN9g4xFo4K2/9YSd6mnpZx93xSAm6PXY6rVGCmVput0WG/jZDpZPAAIQ5kIr16DKwE GwD+502IHpKukdPaRgmFUOpqX9qWzRPnDm8WtxgQdgyqj1e624O47Jo7s/6vlXxEm+Q4 fKfSnHYaFxeK+ksfv9tiE9qB7hVCn0tiOdCnsnTFo1xKitczZSL8yFs9M4kXAflCFTar l9hQ== X-Gm-Message-State: AOAM530JOGexPsboeOeyZ+yC6OjQHoEuLtzYZVWZfgT637PPwdpCJYGH rQ45rE6ONsVAwbMa3qUEepPHj2RZ44C0z4ls X-Received: by 2002:a1c:e286:: with SMTP id z128mr1590177wmg.33.1604698644192; Fri, 06 Nov 2020 13:37:24 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 19/23] mtd: nand: raw: omap2: Fix a bunch of kernel-doc misdemeanours Date: Fri, 6 Nov 2020 21:36:51 +0000 Message-Id: <20201106213655.1838861-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163725_530001_6870FA36 X-CRM114-Status: GOOD ( 17.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , Jian Zhang Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/omap2.c:191: warning: Function parameter or member 'info' not described in 'omap_prefetch_enable' drivers/mtd/nand/raw/omap2.c:221: warning: Function parameter or member 'cs' not described in 'omap_prefetch_reset' drivers/mtd/nand/raw/omap2.c:221: warning: Function parameter or member 'info' not described in 'omap_prefetch_reset' drivers/mtd/nand/raw/omap2.c:946: warning: Function parameter or member 'chip' not described in 'omap_enable_hwecc' drivers/mtd/nand/raw/omap2.c:946: warning: Excess function parameter 'mtd' description in 'omap_enable_hwecc' drivers/mtd/nand/raw/omap2.c:1017: warning: Function parameter or member 'chip' not described in 'omap_dev_ready' drivers/mtd/nand/raw/omap2.c:1017: warning: Excess function parameter 'mtd' description in 'omap_dev_ready' drivers/mtd/nand/raw/omap2.c:1036: warning: Function parameter or member 'chip' not described in 'omap_enable_hwecc_bch' drivers/mtd/nand/raw/omap2.c:1036: warning: Excess function parameter 'mtd' description in 'omap_enable_hwecc_bch' drivers/mtd/nand/raw/omap2.c:1142: warning: Function parameter or member 'ecc_calc' not described in '_omap_calculate_ecc_bch' drivers/mtd/nand/raw/omap2.c:1142: warning: Excess function parameter 'ecc_code' description in '_omap_calculate_ecc_bch' drivers/mtd/nand/raw/omap2.c:1270: warning: Function parameter or member 'ecc_calc' not described in 'omap_calculate_ecc_bch_sw' drivers/mtd/nand/raw/omap2.c:1270: warning: Excess function parameter 'ecc_code' description in 'omap_calculate_ecc_bch_sw' drivers/mtd/nand/raw/omap2.c:1284: warning: Function parameter or member 'ecc_calc' not described in 'omap_calculate_ecc_bch_multi' drivers/mtd/nand/raw/omap2.c:1284: warning: Excess function parameter 'ecc_code' description in 'omap_calculate_ecc_bch_multi' drivers/mtd/nand/raw/omap2.c:1681: warning: Function parameter or member 'info' not described in 'is_elm_present' drivers/mtd/nand/raw/omap2.c:1681: warning: Function parameter or member 'elm_node' not described in 'is_elm_present' drivers/mtd/nand/raw/omap2.c:1681: warning: Excess function parameter 'omap_nand_info' description in 'is_elm_present' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Jian Zhang Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/omap2.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/raw/omap2.c b/drivers/mtd/nand/raw/omap2.c index 4cc47ab7f01ad..fbb9955f24671 100644 --- a/drivers/mtd/nand/raw/omap2.c +++ b/drivers/mtd/nand/raw/omap2.c @@ -184,6 +184,7 @@ static inline struct omap_nand_info *mtd_to_omap(struct mtd_info *mtd) * @dma_mode: dma mode enable (1) or disable (0) * @u32_count: number of bytes to be transferred * @is_write: prefetch read(0) or write post(1) mode + * @info: NAND device structure containing platform data */ static int omap_prefetch_enable(int cs, int fifo_th, int dma_mode, unsigned int u32_count, int is_write, struct omap_nand_info *info) @@ -213,7 +214,7 @@ static int omap_prefetch_enable(int cs, int fifo_th, int dma_mode, return 0; } -/** +/* * omap_prefetch_reset - disables and stops the prefetch engine */ static int omap_prefetch_reset(int cs, struct omap_nand_info *info) @@ -938,7 +939,7 @@ static int omap_calculate_ecc(struct nand_chip *chip, const u_char *dat, /** * omap_enable_hwecc - This function enables the hardware ecc functionality - * @mtd: MTD device structure + * @chip: NAND chip object * @mode: Read/Write mode */ static void omap_enable_hwecc(struct nand_chip *chip, int mode) @@ -1008,7 +1009,7 @@ static int omap_wait(struct nand_chip *this) /** * omap_dev_ready - checks the NAND Ready GPIO line - * @mtd: MTD device structure + * @chip: NAND chip object * * Returns true if ready and false if busy. */ @@ -1021,7 +1022,7 @@ static int omap_dev_ready(struct nand_chip *chip) /** * omap_enable_hwecc_bch - Program GPMC to perform BCH ECC calculation - * @mtd: MTD device structure + * @chip: NAND chip object * @mode: Read/Write mode * * When using BCH with SW correction (i.e. no ELM), sector size is set @@ -1130,7 +1131,7 @@ static u8 bch8_polynomial[] = {0xef, 0x51, 0x2e, 0x09, 0xed, 0x93, 0x9a, 0xc2, * _omap_calculate_ecc_bch - Generate ECC bytes for one sector * @mtd: MTD device structure * @dat: The pointer to data on which ecc is computed - * @ecc_code: The ecc_code buffer + * @ecc_calc: The ecc_code buffer * @i: The sector number (for a multi sector page) * * Support calculating of BCH4/8/16 ECC vectors for one sector @@ -1258,7 +1259,7 @@ static int _omap_calculate_ecc_bch(struct mtd_info *mtd, * omap_calculate_ecc_bch_sw - ECC generator for sector for SW based correction * @chip: NAND chip object * @dat: The pointer to data on which ecc is computed - * @ecc_code: The ecc_code buffer + * @ecc_calc: Buffer storing the calculated ECC bytes * * Support calculating of BCH4/8/16 ECC vectors for one sector. This is used * when SW based correction is required as ECC is required for one sector @@ -1274,7 +1275,7 @@ static int omap_calculate_ecc_bch_sw(struct nand_chip *chip, * omap_calculate_ecc_bch_multi - Generate ECC for multiple sectors * @mtd: MTD device structure * @dat: The pointer to data on which ecc is computed - * @ecc_code: The ecc_code buffer + * @ecc_calc: Buffer storing the calculated ECC bytes * * Support calculating of BCH4/8/16 ecc vectors for the entire page in one go. */ @@ -1673,7 +1674,8 @@ static int omap_read_page_bch(struct nand_chip *chip, uint8_t *buf, /** * is_elm_present - checks for presence of ELM module by scanning DT nodes - * @omap_nand_info: NAND device structure containing platform data + * @info: NAND device structure containing platform data + * @elm_node: ELM's DT node */ static bool is_elm_present(struct omap_nand_info *info, struct device_node *elm_node) From patchwork Fri Nov 6 21:36:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320833 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651360ilc; Fri, 6 Nov 2020 13:39:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxR8jKCohMoTy1B/O6YCfQqNrm+KbxSDVLNvmAG87WPasAjId0PA+iIeOV5i8dmcotj4xvW X-Received: by 2002:a1c:c30a:: with SMTP id t10mr1488500wmf.183.1604698795072; Fri, 06 Nov 2020 13:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698795; cv=none; d=google.com; s=arc-20160816; b=N3jYYe2J/q5KPikrqp7mg6c5z6F/h+jhspsFyI39GseMiLYFjqJCQkcZCXsLUFseWm LB/T6uuo3p6es/qj/t79ze77Y18lQxR9qTL7wANLtwNTxoRcxtXOm0K9uRNlxZCH1gEO nkIM12AQST4meBs6mP2HBfly/3NJD508d/bQwp6ugpWM7O/mJVp2WX4BQtynIS8ocfge 3Gru2TAZgnNje17ghi/xiRQZlWAMd4jeBikY95TWnew3GMN16YzA9jBstN0w7rzsa7ig KCwQw+cwwUv91rIKZDe1S4aNpN3HFEeN9PK4qzGq5STUnYrbosrV1KCTRil4d9HOInoM T3tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=XXLzIcYnIocXXUDU3Os3Vt08t3M2frGdDIDcbT63o6A=; b=mCOx85opJUIIgqhk+dO3mmNBZe+NDiHQv4C8ekeCL5QRf3StGgno6BQWuDAlsbRKe5 ptKxoCP6luLOhypLG/iaIgjcP7UaOLCmaG1m9+Al+R4RulAu9pV71CvkMAx86tjZCZWo S7gmhwS6Tm+SQIBLpSJEQkje2HaVgQT/+f74Rb2dmeqioFjb5aJqws5OD+MGlTzBH2Jx G7lrBBznbidT3SQJr9/61C8BBQ6KuuPcJZ0o7mW0USJM8Q8zVycvO+WwvEzV9kN0Ualz iPMNX3POv9Sky5EqYqc65AM0/5B4IXpClO39ie/faw9TIF/K6ke8H6Id7LEU6v1yYs2E VusA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=iTnMK007; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ee6qc24y; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id b204si2282377wmh.166.2020.11.06.13.39.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=iTnMK007; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ee6qc24y; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XXLzIcYnIocXXUDU3Os3Vt08t3M2frGdDIDcbT63o6A=; b=iTnMK007aLHlupFLh+aKi1DWc 0qx1/YPUfYH7lEdZ51W+2+YPsUNYVep8mjbiQhB28oO3dhdvyX3VKECeoLWQaKiL6VcknJQWJjc9j UzsSWqLCuOr74T94XNp3KTqsm1+tc1udJQi2ITlvKf1saOlUk8Oz92oSK3AKEkKgKFeW0ezTbmsCa wifqrnEX20Slbg7neQsez7hf/mA3rRRXobUEHAv9Q8z9qtZi4/+9NZd9IclMv9cRyCI7kZAMHhI36 DL9NvVWyS1XPeQ9LKAv1GxPfQWD4kxU4rZJzmQmqHhG1y9sBnTPjWQTKpre5WsrrDPMB+kTmQ0ol2 c/yOlBTjg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9SM-0003td-OH; Fri, 06 Nov 2020 21:39:38 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QE-0002hG-Uz for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:29 +0000 Received: by mail-wr1-x443.google.com with SMTP id g12so2747444wrp.10 for ; Fri, 06 Nov 2020 13:37:26 -0800 (PST) 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=A4FI0nTKy9xJSbbEI5xWFSlWi+PCjFwRWpkkSRoALdw=; b=ee6qc24y2pZj9YDGDyPb8gjcUxoCDS7QqwPqzOGliCMPjVE4hgUQnxfc/cQbX6pLMi jG7ZqRhHvXFutGqqB7qlZ1utF3tXCnfzjnNmXVGS7K5rmrZnunhCXCeVP4EJb3tkXBT5 IMcjiFXPx6FVS4GwzziYMnIm5VAX5PGlS4vKGgeCfExaU8VkhpNVy48HXGeWq+R2l7Ip UTJGoQppPVyfPXOwpWOXXkzIwWofB9xZkAKvglS22VfyKaviEajKSzjHlQFD8fvxUDSC Io3a2xSTn5Oz/BPqRo++gn/Vn95v7JiToXxq2feqYe8fVU7IseAJ35+s/dZm4yY/bDL7 wjzQ== 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=A4FI0nTKy9xJSbbEI5xWFSlWi+PCjFwRWpkkSRoALdw=; b=H7itf8WOKbYNXn+QlH6z4IvPL4miXcPvFXSkGyu5x9E16zltajmS7vd1GbnhDkRDK/ WWjNKAZMynj2BVvmrk7tDak9S+smsjH/D1wzE/D67aR5zVFb87xwxY81aHyX48xvRaNm ZXPIGfAZVDbQDhWfr4gPQJ73/f+auO0U58b6nd3sZ5nCil68WosO9fYjvoPpttaRYCzt hI8l/MtITWPGjUtYRwv/M6e7g7OQoSgR5RdJFJWmREkqFm/o87TJ+cf1BDQxjUuedzjy lZPH2DZxclNk8wQgPTAZ19L1I6J6YbDGgodqB3Q1QQEmcdaTmReCgI0xIAALcnurnU0X 8Tpg== X-Gm-Message-State: AOAM530fZv9FGWTFi1g1eAKVWW4nq9HHN3yPzNtQdeiN0x/IlOm2mj4W 6otcG8xi3mJYWcl30PbkgNSW6Q== X-Received: by 2002:adf:fb12:: with SMTP id c18mr4481368wrr.99.1604698645863; Fri, 06 Nov 2020 13:37:25 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 20/23] mtd: nand: raw: sunxi_nand: Document 'sunxi_nfc's 'caps' member Date: Fri, 6 Nov 2020 21:36:52 +0000 Message-Id: <20201106213655.1838861-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163727_057148_E845C5DB X-CRM114-Status: GOOD ( 14.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris BREZILLON , Vignesh Raghavendra , Richard Weinberger , Sergey Lapin , Dmitriy B , linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , linux-mtd@lists.infradead.org, Qiang Yu , Philipp Zabel , Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/sunxi_nand.c:250: warning: Function parameter or member 'caps' not described in 'sunxi_nfc' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Philipp Zabel Cc: Boris BREZILLON Cc: Qiang Yu Cc: Dmitriy B Cc: Sergey Lapin Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/sunxi_nand.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ Acked-by: Chen-Yu Tsai diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c index 1ec672bbd459d..923a9e236fcf6 100644 --- a/drivers/mtd/nand/raw/sunxi_nand.c +++ b/drivers/mtd/nand/raw/sunxi_nand.c @@ -236,6 +236,7 @@ struct sunxi_nfc_caps { * controller * @complete: a completion object used to wait for NAND controller events * @dmac: the DMA channel attached to the NAND controller + * @caps: NAND Controller capabilities */ struct sunxi_nfc { struct nand_controller controller; From patchwork Fri Nov 6 21:36:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320835 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651563ilc; Fri, 6 Nov 2020 13:40:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6fIBuEQhhh5T55RgFce78hjL6bkm8drhsNOcKOcfYQLjaw7sLkz5/qeXpM1+935K0TJ3v X-Received: by 2002:a1c:3d4:: with SMTP id 203mr1595285wmd.52.1604698813588; Fri, 06 Nov 2020 13:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698813; cv=none; d=google.com; s=arc-20160816; b=eUkSW9JnnVBWU+aUKRPUlGaQ4YfxwDIPfv6p31LzjV2fYDYFlNF4GTuQ9wKRi0B1xo aFdPGXecvqfxLx9RztiTYwPKCLAOmQLT4oCCOY4XlkkdjDsi3ccG5B2dq+8VzPn1ELT6 X7uisc42SKn4p5MktAlBgoDxPzjKkXJU/UhSgmJvUjVlBitgTVobU1YN7YMZIHlW4fzq 2tL5dRWFO+1Pwa4LyUa5ZEfEA1TPPMU1ScihFHOxoiNqjyeAo/VhUveX3eUDkW3fTx+H 1vil4jUBxM92ASrkxkEeiETswD0ejoAwjU5TICSR90qgU0hRmqeTnayyye4Slou3nE5D mVMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=qkYE1Tk9hAOiJP1UnW5g7zE9R+5aItbEdl+ZdhI2/XI=; b=pLRRUFScnOZ1kfPFnojShfPhAdEBjvfnqcICEQSs2fXiDA3Co6Zq57nQPrwAdcJIcD sAhdya027Y2BqyPCBPAj7COPP8FtFQn4I+WTuhaP23H2PClVp9CZqQUzMBUK3DRLu1Ag /MhMMyMh3pKH/26WclNyPnvvj9WkShE4lTV2rKmKPLD2VwbP1a1OzPDsJQ/PSXKl44X7 dCFJ79pEl6kN2hJtxY1Re683R6XdeFZ732aPLe4IsSUngW1SjRIT5hzcatiQtHboPMxg cWUaOaEuMLrrqNrerMw2nS0O3YaVXACvsFEO+idRkysZFVcazSg0NECa7jqMxOUCT5q6 2tbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=m4VZmmsc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gIJqWuun; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id v2si2264763wmb.176.2020.11.06.13.40.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:40:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=m4VZmmsc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gIJqWuun; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qkYE1Tk9hAOiJP1UnW5g7zE9R+5aItbEdl+ZdhI2/XI=; b=m4VZmmscFnWws0WTBZMup+7re RUVq4yFBI+ogoD5ekm5dlCupQAiJGvYp5qHZd/phdtGFtD8PsrZbFYVtbrvMbw3F3kmCnpM1sbALN m/8K4Jpx3bjIZTISsJeY7uuO4gkrxazANkvK215K1ezJwUJguRYPHceHntywReXdrulJvVtwmGeyC +1R29N2uPBNc5e+RPHVdSsdFDIQzcGkLhUlriWD0HFjJYI0F4vmVDEqEfr81EgPqYvGeaYTyMEC46 WOgNVoIy1qVl443UoHRz0UN2za9gMijP8xD1hU2ZTT6SonOXwxx7LKQqmd0mnLILkaeCvEvsGcTMb PeblwuwQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Se-000436-LJ; Fri, 06 Nov 2020 21:39:56 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QG-0002hd-1P for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:30 +0000 Received: by mail-wm1-x344.google.com with SMTP id k18so2621443wmj.5 for ; Fri, 06 Nov 2020 13:37:27 -0800 (PST) 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=y2abslax4xTZx4NcG965UPlBWLqxdXR2VSBh/TqhIys=; b=gIJqWuunPNOfDIFyO4uN9GnnqnFhpSWormMo1MbZZ4YUm684CRnXVVQt8r/MdXa7Xi IB35shvh5tfNlmlZOFtSppdMmrhkvS0lGRr4gKBUlXdY2goKLftXZNeNVvKP1+Ezw1Yx Qd0BCrhobs7VNkpRRRdTzMLDEKMzOC87O34JwG2mcdjhNxrlr8NVDwLt1gJFU5D75LuA qyryLpZ7R/jliLQo2p8Sftdl1lmmed+DlUdTUJHWzFx0YxIV98isN1G1Ia+B0DS6lhzQ HUaduOlivmQktAcns7VZIBaZJEIDX6EiRGmlL5GMYBPOdWx4kG3+ztsKRmGzUlYu60Sw CHFg== 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=y2abslax4xTZx4NcG965UPlBWLqxdXR2VSBh/TqhIys=; b=OLSiI3g3VdFw9Aydg8Sstd7aa1H0bL/JCmjo0cJwET+/DX0zmqaO932FGlmuNLoUVd xxDCzyYUpUBN6s6TIgIUvhw47xF1m2WYeGHM75VqLfYPRkZWtEdBblhtngy2rzAVTDLI Y8lkejftcGCKjzC0HZUetFDj6GZn6iY32kNT445rKsKRbE0do45xbVGu8Q6AlIOgHZih 9UsTV9cyCMnWxuhFh9yTMCcYObv5gUkH2gaqk+T+ZYWXG6Awz8AjUlwXh/LGajn9KRyG /gtFxiewTCIYVRM1yj9tAsqwxLXaU1OAbTNWomfSfrZ2NfTcUO06ei2EleuzEBHdEyvd ovbw== X-Gm-Message-State: AOAM533ZdsiMhUKs1oAPUszXnL8/K1iJlwwVyE5UGyMT2LnuKIAcxTeO Ee+fdRcv9CebX/Blm+IrYs5Hvg== X-Received: by 2002:a7b:c08e:: with SMTP id r14mr1606399wmh.165.1604698647102; Fri, 06 Nov 2020 13:37:27 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 21/23] mtd: nand: raw: arasan-nand-controller: Document 'anfc_op's 'buf' member Date: Fri, 6 Nov 2020 21:36:53 +0000 Message-Id: <20201106213655.1838861-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163728_205403_DB25B38A X-CRM114-Status: GOOD ( 13.43 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Naga Sureshkumar Relli , linux-mtd@lists.infradead.org, Miquel Raynal , Choudary Kalluri Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/arasan-nand-controller.c:133: warning: Function parameter or member 'buf' not described in 'anfc_op' Cc: Naga Sureshkumar Relli Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Choudary Kalluri Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/arasan-nand-controller.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c index fbb4ea751be8e..549aac00228eb 100644 --- a/drivers/mtd/nand/raw/arasan-nand-controller.c +++ b/drivers/mtd/nand/raw/arasan-nand-controller.c @@ -118,6 +118,7 @@ * @rdy_timeout_ms: Timeout for waits on Ready/Busy pin * @len: Data transfer length * @read: Data transfer direction from the controller point of view + * @buf: Data buffer */ struct anfc_op { u32 pkt_reg; From patchwork Fri Nov 6 21:36:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320839 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1652298ilc; Fri, 6 Nov 2020 13:41:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/yEqJ8O2uqWIX4FKTzDO2eMEw0MuJwf/VJ5zPPgZUfyTLPOLSkOrcdr7wLM0fRz33bRJ+ X-Received: by 2002:a1c:3142:: with SMTP id x63mr1583121wmx.168.1604698879614; Fri, 06 Nov 2020 13:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698879; cv=none; d=google.com; s=arc-20160816; b=xGIpQDZtaldUcp7GJvlmEt50U0nXuQ34BvnzFvKM0xINS4VtL6zUY9Xo9lfr1B1CEV QmNo/9UTnDeOrJzFOPJb+XnguQJMk3+BCbuhRv7sX/pzr6DnvbwBT5LRJjV0EhU/myzQ LF235wjvSkrI/j4tHkxvjq7EkjcguB6Pe6JLdYgO80hQ1fiUvTXTQkDMlFHAYS4wslq5 pbPh3Cth+SrNBoSmfk4UsHeX+vprb/TvdRZnBlxxT2KYwJ4rlXeZd7JbpusVMyU33QQw QmjQEZAtmpyalS78wj89NzXqlurQYZSfYB+nL1nfrAZemaf9+IYDjfrMxaW3tZwIzfyx YASA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=m0U7AHkcmqgMB9xyxvG+4Lp065Be46xfb7GFTvPis/s=; b=EF8R1/S6n8/z601LynA3b0w+1KvwjrWWGaVLxnRzvuVQi7gwMM4dKGaktr91T5RLsy Mk+Aj3H1CIjUh8lzQT0l4jc8HG9hfSG/d//eme/mFyBRcRQEcWq4Rz7Pvy5zgpF8L3+4 bjRoYMeMFBn+dnnlipSEabc9IrXOH1jCpUFhSUIuBFBJWEhtYNi4YEG/hPs3HGViB6IK E2XVy+X3r+K271yj4ZuQMkhTODqy5rsfr3A9zUzJlbAFpnjRFwipH1Rh48qT0D2DpazW T9z8+f03Iw8JcFOwOH0x058nLL/4wWlwrg1+Vi5eaWcDkTQFWO0rzP6Bjw9w41gKlspq Khfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=3ZSCt0Qm; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=poQNLklB; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id b197si2322109wmd.37.2020.11.06.13.41.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:41:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=3ZSCt0Qm; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=poQNLklB; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=m0U7AHkcmqgMB9xyxvG+4Lp065Be46xfb7GFTvPis/s=; b=3ZSCt0QmRVvTA7tfzs1MPjPP0 QqcW4auZFtiWizp7sUBeTMTpjx2Nfy5T7Aobs2BJlAgSx/+ihcEkdTrSlMOOuQ4Ko/S1yGNGTqW3d fS9KrjD/5Sr7OiptPqnqQ/eoxHPjLcIxh0vMfzhOcz0sOCoDXXBUBmklJHOHL1mNNl5liSqGoTGbP f5OvpKxF4bkV+FxfqeAAPpBzIK3XwjI3yHM/4J+IgJIDFvNtMCx9IiBOUUaRusJx4ft0aBPr3tNrm d8p8ReAmcPKQTJwFrEKBIsT4X+8XQrqmYDUN39oR7cAXCotjsizra8UBMp8+/pYvxTcMUXB6AU0ug 7G8kIcqWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9T4-0004FS-Bt; Fri, 06 Nov 2020 21:40:22 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QH-0002i8-7g for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:31 +0000 Received: by mail-wm1-x341.google.com with SMTP id s13so2634359wmh.4 for ; Fri, 06 Nov 2020 13:37:29 -0800 (PST) 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=q+vNLwe5F16Z2TBJiX30i47rVXn5mHmSvb3WUTRtIMc=; b=poQNLklBG9VD9bSVaMR0DgY21arQJh/uXxtA5ESu290rHjoLjWQvik3zagjsugIcia y+rQ7NiGLycGR6M9urqKqqjrOUXi1ZcdAqjZmZtXLKE9AhkCEGuKpBQKeFleKfLIZWZh v4sQcGgigqePRkissvsYtfZSTo8gnZWKR0wS8lNW6fskFNY7LKqqHb8WneUfDiaRagAs nIUUzgiAv3o/kUSs0CZTqszcp6FA636Jc+EHaVaYJ1+6kp/8oUKWsXjluFTJ8dDesyMS okp6PYaJL6x2kntDZ/DKITbXf/euKZFSkRxHUzOy20MgxIAPFY4rbfBzNlVQB70zfLO+ 2JtQ== 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=q+vNLwe5F16Z2TBJiX30i47rVXn5mHmSvb3WUTRtIMc=; b=nNxwGBeA9v3VZrYXqeoVzNrTrw6EGHuwNLwe3g96nCXGxXr4beiYw4J1duBKH7AKi2 6gR9brVCHim3PFON8AnK6thzBvq60QA1pU0x0Dl1zsvYQEWeIsS9Lo2K3iZqzlUTI3xJ oZYqkSEdSy224UhgjU4rBmsWz5xjPNJknLjaAVOhNbO+Hgr0DT6re/6OfAQOsHdoDzRi n9SgPvJ7W/ACMWyZAYmr6fiGlXasHblcf2ElEz9soaFFjdeHXF+S/YTRDpa0FOxWbhdY XKDb56YFut6tcPLgYwCjzDZGMTYjWa+Xfk+ld/Y+C2sE3mZxqUr0oYgO7b9V9ZRoLFvq 8rsw== X-Gm-Message-State: AOAM530eQ8HMwbq7TJq7IypmarF2tNkD0tkjtEUtNFdtEZxefq8sS/Q9 abm3OrJQKDzVnHyzqJDWqwad7w== X-Received: by 2002:a1c:9d94:: with SMTP id g142mr1667080wme.66.1604698648278; Fri, 06 Nov 2020 13:37:28 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 22/23] mtd: nand: onenand: onenand_base: Fix some kernel-doc misdemeanours Date: Fri, 6 Nov 2020 21:36:54 +0000 Message-Id: <20201106213655.1838861-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163729_392757_5F13E757 X-CRM114-Status: GOOD ( 18.94 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Kyungmin Park , linux-mtd@lists.infradead.org, Miquel Raynal Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'mtd' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'section' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'oobregion' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:1436: warning: bad line: drivers/mtd/nand/onenand/onenand_base.c:1971: warning: Function parameter or member 'ops' not described in 'onenand_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:1971: warning: Excess function parameter 'len' description in 'onenand_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:1971: warning: Excess function parameter 'retlen' description in 'onenand_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:1971: warning: Excess function parameter 'buf' description in 'onenand_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:1971: warning: Excess function parameter 'mode' description in 'onenand_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:2156: warning: Function parameter or member 'block_size' not described in 'onenand_multiblock_erase' drivers/mtd/nand/onenand/onenand_base.c:2156: warning: Excess function parameter 'region' description in 'onenand_multiblock_erase' drivers/mtd/nand/onenand/onenand_base.c:2771: warning: Function parameter or member 'ops' not described in 'onenand_otp_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:2771: warning: Excess function parameter 'len' description in 'onenand_otp_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:2771: warning: Excess function parameter 'retlen' description in 'onenand_otp_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:2771: warning: Excess function parameter 'buf' description in 'onenand_otp_write_oob_nolock' drivers/mtd/nand/onenand/onenand_base.c:3387: warning: Function parameter or member 'mtd' not described in 'flexonenand_get_boundary' drivers/mtd/nand/onenand/onenand_base.c:3387: warning: Excess function parameter 'onenand_info' description in 'flexonenand_get_boundary' drivers/mtd/nand/onenand/onenand_base.c:3509: warning: Function parameter or member 'mtd' not described in 'flexonenand_check_blocks_erased' drivers/mtd/nand/onenand/onenand_base.c:3509: warning: Excess function parameter 'mtd_info' description in 'flexonenand_check_blocks_erased' drivers/mtd/nand/onenand/onenand_base.c:3557: warning: Function parameter or member 'die' not described in 'flexonenand_set_boundary' drivers/mtd/nand/onenand/onenand_base.c:3557: warning: Function parameter or member 'boundary' not described in 'flexonenand_set_boundary' drivers/mtd/nand/onenand/onenand_base.c:3557: warning: Function parameter or member 'lock' not described in 'flexonenand_set_boundary' Cc: Kyungmin Park Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/onenand/onenand_base.c | 36 +++++++++++-------------- 1 file changed, 15 insertions(+), 21 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/onenand/onenand_base.c b/drivers/mtd/nand/onenand/onenand_base.c index 9fca3988ee236..a9fdea26ea464 100644 --- a/drivers/mtd/nand/onenand/onenand_base.c +++ b/drivers/mtd/nand/onenand/onenand_base.c @@ -132,7 +132,7 @@ static const struct mtd_ooblayout_ops onenand_oob_128_ooblayout_ops = { .free = onenand_ooblayout_128_free, }; -/** +/* * onenand_oob_32_64 - oob info for large (2KB) page */ static int onenand_ooblayout_32_64_ecc(struct mtd_info *mtd, int section, @@ -271,7 +271,7 @@ static int onenand_page_address(int page, int sector) * @dataram1: DataRAM index * @sectors: the sector address * @count: the number of sectors - * @return the start buffer value + * Return: the start buffer value * * Setup Start Buffer Register (F200h) */ @@ -1433,7 +1433,7 @@ static int onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from, * @mtd: MTD device structure * @from: offset to read from * @ops: oob operation description structure - + * * Read main and/or out-of-band */ static int onenand_read_oob(struct mtd_info *mtd, loff_t from, @@ -1958,11 +1958,8 @@ static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, /** * onenand_write_oob_nolock - [INTERN] OneNAND write out-of-band * @mtd: MTD device structure - * @to: offset to write to - * @len: number of bytes to write - * @retlen: pointer to variable to store the number of written bytes - * @buf: the data to write - * @mode: operation mode + * @to: offset to write to + * @ops: oob operation description structure * * OneNAND write out-of-band */ @@ -2146,7 +2143,7 @@ static int onenand_multiblock_erase_verify(struct mtd_info *mtd, * onenand_multiblock_erase - [INTERN] erase block(s) using multiblock erase * @mtd: MTD device structure * @instr: erase instruction - * @region: erase region + * @block_size: block size * * Erase one or more blocks up to 64 block at a time */ @@ -2759,10 +2756,8 @@ static int onenand_otp_command(struct mtd_info *mtd, int cmd, loff_t addr, /** * onenand_otp_write_oob_nolock - [INTERN] OneNAND write out-of-band, specific to OTP * @mtd: MTD device structure - * @to: offset to write to - * @len: number of bytes to write - * @retlen: pointer to variable to store the number of written bytes - * @buf: the data to write + * @to: offset to write to + * @ops: oob operation description structure * * OneNAND write out-of-band only for OTP */ @@ -3380,9 +3375,9 @@ static int onenand_check_maf(int manuf) } /** -* flexonenand_get_boundary - Reads the SLC boundary -* @onenand_info: - onenand info structure -**/ + * flexonenand_get_boundary - Reads the SLC boundary + * @mtd: MTD data structure + */ static int flexonenand_get_boundary(struct mtd_info *mtd) { struct onenand_chip *this = mtd->priv; @@ -3493,9 +3488,9 @@ static void flexonenand_get_size(struct mtd_info *mtd) /** * flexonenand_check_blocks_erased - Check if blocks are erased - * @mtd_info: - mtd info structure - * @start: - first erase block to check - * @end: - last erase block to check + * @mtd: mtd info structure + * @start: first erase block to check + * @end: last erase block to check * * Converting an unerased block from MLC to SLC * causes byte values to change. Since both data and its ECC @@ -3548,9 +3543,8 @@ static int flexonenand_check_blocks_erased(struct mtd_info *mtd, int start, int return 0; } -/** +/* * flexonenand_set_boundary - Writes the SLC boundary - * @mtd: - mtd info structure */ static int flexonenand_set_boundary(struct mtd_info *mtd, int die, int boundary, int lock) From patchwork Fri Nov 6 21:36:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320838 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651970ilc; Fri, 6 Nov 2020 13:40:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGtXDucFrRxHuDBBm22g5Y0TE/zGPvMwN3TdG5Ja2EwCj9zxpJ4Hh5C9O4ip8H8wJNsEL1 X-Received: by 2002:adf:c388:: with SMTP id p8mr4749365wrf.307.1604698849002; Fri, 06 Nov 2020 13:40:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698848; cv=none; d=google.com; s=arc-20160816; b=Xhb85yLOgqghMFJ30fml3XzVut0y5WekicFd+bKdJehIHmzdoKqc92fBb9W5f5OvVs wcO+TAUiP5S+g+56KGOoeGy7LVia13zP/KnjFKFrjmkuVOI203zdDvcGcmhBPbyhcqSC mVab8ODOXorUFj48CcLZGLNeIl++4kU6/Q1uTCo3IVAAs67M5WZjCdsrcfREWGDG4EWc YbLlqCkGfPVT4YyF1p38bfvlXYd6WmnzOk9RadmTYys5apgEtcxBTa7K6uVKJIz9LkaY iftBNEpcV1kuaXeSVtxR8xz8kceXUDk6P/gTbinEI0SWn6l7gy3juEiDB3Ul8STEOMBM Vvug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=3B7m4NJNbRKnLTKL2bBWyG0pIubeldGVkoj/R2Dl0BM=; b=bCLPlBESnNvF0itrMLsuN2gm+1sfY+0YpC4Ry9Lr/j5sHx+x80iecn+HpbQFCg0993 vxAqNBWtCI94DhdPO5wBfGo3/ZINpmbsGUroFxaKfD6Cp8lIoMJjDYDzn+jkUBv8pVD9 pF4zj7UM28AByHR5t8ywzfVesIngqsA3ry9CTC5G7x9xpg6vkCLrE6JchI5tEvs6BTf0 41cckoKds7lizsXVsCRu+aFuOTKpxucewmNyyHZQu0pWdIEwcWoOvovKlcY+TRGtgRvd 9obm+nJqw/0nDOTOJvU4OS4LNWJljpwaYSvjH3PAZ9wZhRH/cJeLzgdGVlOGnGp/brIz ZgOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JNCmjWYV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sJW30ndV; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id w2si2276639wma.67.2020.11.06.13.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:40:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JNCmjWYV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sJW30ndV; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3B7m4NJNbRKnLTKL2bBWyG0pIubeldGVkoj/R2Dl0BM=; b=JNCmjWYVlFT11fdDntGTBuxD7 UFc22b+vfJ7YKxIhqY3ckCPweqq0YRRpjasU4EHc+HoK6abJAjGrGkZxOxjX9wGaWqz7DMkZs0zHP pOf29QUPgqyBiBUFpMpFkxiN5s85sDznOujPCqdnAEJhBIxEG+k1TlBgB/1ZMBc+JNnIK+pvNfzgY +E0moNYQrbu5eCSW3yXk++R54DnHHcU4bUiyt0XSPfz8XCX5sjpjKpBi3O5DW8tbfdHLvchL7XGmq OVW0x9+sDM2QTHRE+lMmLoCUhNkm8vZ4PhuO2VCbvNFZVFFpck2I9l4M++vXU406gDdPcQYmrlFXt ZXANTpinA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9TJ-0004Qp-VG; Fri, 06 Nov 2020 21:40:38 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QI-0002ik-Ir for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:32 +0000 Received: by mail-wm1-x341.google.com with SMTP id h2so2825286wmm.0 for ; Fri, 06 Nov 2020 13:37:30 -0800 (PST) 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=sJW30ndVh1qGXkUaw3pZaZEjF2ef9gfmBHcrLUN8CKyAoBZToeJQQGOgveJ9pOnH9G iLnj25fAUb5CHE4pzNXFTP4bhMNeVU9zyQDF1cWEHGd11k8kQJFQMEHxT3Dl1zjar9i1 fLeGKBfoVm5SSIuvPhaI1FnA013nnfZJ8yjEL9YynAZGNTKmaaPzx1Z8entolXVdwDXF CpfAG963D1ALbbrNpXiYanN/0p8rW8kbDmkOIfYRs2zp7QT0lXC2BhMYgEqAXpdrHyfE U/pK0fH1kVdmS6ynQhtxJ6E8bO3EBpBdOD+PU9rYMIdej1Dw7doRpC+V18xrgEa4Q7rq 2Adg== 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=ZBkUKhLeNywQO2PJmQidBV7942ZdHRu44BCjEbuGUOJpQs5PsuBECDdaDN+lyNkVqI JltbYrKDOWchXS5YCJqBnFSZ0Us+Hk1M2da62sWRRgg6LzNeF+GHLuYhYsZcc8QDAm0t FGhx+p4W9H/UH/2sPl85Fk2lvyFIvdZK5HcOzZgwGiE4xqeevwx2OCvtgN4ldx2ioLV3 blqeVsbgVGSlBIT2ShnHUp6k39qybvd/qLY8781M7kEcB8seJQ9PYDLFp+GrOfAyAaf/ 1b5otE2Xz2Bftl52WskwvZCJJ1xjmvcoAwiNL98C/xisD2UYt/eYu3tt7mBOsvXkNBUR /bTg== X-Gm-Message-State: AOAM531qzwPWGgRyQJZFUIlkuXjfmzhfqZn1w1nKOQVL3ocUkWYW7UV5 tJ8Fr/bJhpY+/mbiEqGvN5NqWQ== X-Received: by 2002:a1c:3803:: with SMTP id f3mr1574214wma.14.1604698649574; Fri, 06 Nov 2020 13:37:29 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Fri, 6 Nov 2020 21:36:55 +0000 Message-Id: <20201106213655.1838861-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163730_730873_835C6947 X-CRM114-Status: GOOD ( 16.30 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Benjamin Herrenschmidt , Vignesh Raghavendra , Richard Weinberger , Miquel Raynal , linux-kernel@vger.kernel.org, Paul Mackerras , Michael Ellerman , linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/powernv_flash.c:129: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:145: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:161: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:184: warning: Function parameter or member 'dev' not described in 'powernv_flash_set_driver_info' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/mtd/devices/powernv_flash.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/devices/powernv_flash.c b/drivers/mtd/devices/powernv_flash.c index 0b757d9ba2f6b..6950a87648151 100644 --- a/drivers/mtd/devices/powernv_flash.c +++ b/drivers/mtd/devices/powernv_flash.c @@ -126,6 +126,7 @@ static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, } /** + * powernv_flash_read * @mtd: the device * @from: the offset to read from * @len: the number of bytes to read @@ -142,6 +143,7 @@ static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len, } /** + * powernv_flash_write * @mtd: the device * @to: the offset to write to * @len: the number of bytes to write @@ -158,6 +160,7 @@ static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len, } /** + * powernv_flash_erase * @mtd: the device * @erase: the erase info * Returns 0 if erase successful or -ERRNO if an error occurred @@ -176,7 +179,7 @@ static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) /** * powernv_flash_set_driver_info - Fill the mtd_info structure and docg3 - * structure @pdev: The platform device + * @dev: The device structure * @mtd: The structure to fill */ static int powernv_flash_set_driver_info(struct device *dev,