From patchwork Mon Nov 9 18:21: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: 320952 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1955733ilc; Mon, 9 Nov 2020 10:22:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7shl2NkzyQaUn8e19VBi+5WcIEY5zL+pVBAvUINkz0pBP3IeH2+u9+vjcGO650D1kV+40 X-Received: by 2002:a37:78c:: with SMTP id 134mr15517340qkh.359.1604946156256; Mon, 09 Nov 2020 10:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946156; cv=none; d=google.com; s=arc-20160816; b=szW/HqlBTB0KDJl8Iz+puP7bMQuRA6/lOt7/j5iogt54aUgyCpChCppYhAVBs1Pjlm oSa6rHrMTAE+NOF1s6R6NFZphe5EqJCB/dhZtOIUokKtco10mNpuy4sNTepXhO8Wp99b bBtLxhowtBaStTfj+CyC90YEGr0xxxcWrPdamm1RruM5Eoyg06vHDhfBMv326ErGQa+o NusyslExUQMid+CAhXyQmXfaj7B4ilipYY3Co5DAeSIsLRsUyRL9Exc2C3+hoJbtYKjg RONCtAap2CN1LXUst0XWVUayt9Uk7nHpyQazv7MGotKp7kH14UevB+SZzn2kbo5Eucmn 1vAw== 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=tckvM7Rju5c1u4m85oYCWuAnKIc30tI3vGjTjvu8AcxcfMzpgUaiYVCDjcaYBwqxim pamqK+WsFRklCv0rfIt+cjmvSx8RFoFDQtWmAYmlXgq2Fh8CWHfa817ClS0sh1UL0qFK Wyp05+IFMgA/6ZSThR+hbAHygkk9xgBy4rnf7GZ+vtdxm3Lnpqg0cU//r4lG9p2AcYEa ud7tokwz3tWmJ/IgnOvab9aj9qBs8WjwvAjcsJljn6LGFNfULoQtFLEa2n5BUGGPxgf6 GKVZVCRl/Gu9HnYtl5OEefoOJTiP9ULymMD/J3djuOoD3bEfNhdrM1V+sqL4je8IcsXQ wG2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="Ky3k/RNi"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MLmdlcfB; 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 c11si316243qtx.31.2020.11.09.10.22.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:36 -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="Ky3k/RNi"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MLmdlcfB; 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=Ky3k/RNiERtN3SV8fs1/alLlN JxmuIiDJoM/nVS+cKBntGQTs/w79cWIM7kCbAjxE4tcn48d/L4w7jHsc1vcAUdfq9oPkyNPRgRySf Mvr0M0tyTRw2ONSUzd/N1eYq00JZK8PFUz7ZzhmgXMfe5PgzL8crST52YJuvgBERZErPcHi0D9uiM OKRuEAhAXaCd7ER0uj85UCLwqNlQj3ltEf/9sqHpLN0J+wc2JqdAY/u+gCRZ99hHaQDKk1qqjjnTt 5B7zcAqs31DLlwzIWGoKzkjSemYK6OJM0gWfhDq/jzJJHMSnHX1D3lIXKI1/1g9AZ4GO+z+Jv+kfq jBdHdtM1Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBo7-0000oP-5c; Mon, 09 Nov 2020 18:22:23 +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 1kcBo3-0000n8-Jf for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:21 +0000 Received: by mail-wr1-x442.google.com with SMTP id 23so9805188wrc.8 for ; Mon, 09 Nov 2020 10:22:19 -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=MLmdlcfBaJHqzeKtW05Qu2AgvRk3QbkPgKqYxdcQn/1A/jiffq7BuMemkFyCQCjI4n dh15uXBZl3q6EMSToflbkjhECcXRr8rkVjJZCSfow88lt6hKWFTXApRMRg3rsHcees2I A/TM7IsyzUHeTYlz0v/XqmYnRCuIJhjhqvR9GZewB3NVY6MQovF2y6f+SZb+vIYUKb4z xNsscJVEDrpBbfj15bdAK0oJD5y8YmPjZLCL6flOu/kzJlOHY3VebswJbKxKdV6yfgEX rnct8wFTkeNme6OuqwlX41/U+ZNk4vbTPxg7dDLUtrTJQFvsbN63J7+slDFP9UoSGxkN 25vw== 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=I0gRSa9JDnR87vdv4yAE6f7+5lcGX+COnDPmEzcdOGUL0uDKCd6PRW+ufy7tJKHZpT 47fPVjtzLHcYjr7XLrEGewTgkEYvbPQ62R4fX4GBY7Kxk5WefVPbg1MoFcwOT/8KDZz1 Q7u/JPyLvVUsRAjYUcugipNIWztrzSfDWIDNeuQy2mkKXnhWh/YW/6DBZQi89cBOtP0m i5IhVErIBdSsbbG7y6dDtAVJHNh7JlO/uymi7mUYE3MH5K6QaWXkmfoeeVe6j5jYYtn1 mwqbouB1r6tXV5butl/rxgR6pkhZehaJnVX4wRrI0KJ+XLLFxF1GoYeVx+Iip9QZ3PT/ Nvdw== X-Gm-Message-State: AOAM532MWfisZHIOukebO2XJQXvG+SXOyoeI1lPLO+OblZ+RoUHSlnpp gdche1TG4lfydpBoscoJyluyoA== X-Received: by 2002:a5d:5146:: with SMTP id u6mr7528845wrt.66.1604946138536; Mon, 09 Nov 2020 10:22:18 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' Date: Mon, 9 Nov 2020 18:21:44 +0000 Message-Id: <20201109182206.3037326-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132219_735290_276CB71C X-CRM114-Status: GOOD ( 16.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320953 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1955765ilc; Mon, 9 Nov 2020 10:22:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOF2OaOZHBsGBiGkHltIhJHlbINATi9xbPNzAZt0y6tUgYFtZeIgMa8LrtOUkeCXRmblPy X-Received: by 2002:ac8:5948:: with SMTP id 8mr13832837qtz.215.1604946156234; Mon, 09 Nov 2020 10:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946156; cv=none; d=google.com; s=arc-20160816; b=XuIaO6cQFuK3i1hc60ijQB6ikGnD4+FCd0k7TA/NaK3XUkfeqw1Vz5TewuzUCisH2I bGYgSqHqNRrsxGtRm/GtPyId0/oz6CQmhqxTx2vjX9eybiq6sGr3ZoWlAyPdPHKLev2p 4eFmoF0pF61/yepFUswfwOysAHzXvDRqnjXhXpHzFTTJFouJ8j3ZEJM5rTElKaxF7DAF H3lCK1It/ooJFZpB3+Ng8ITpGcStGWcAX11SjtWh9R1UMzp3xYYbzqlqqNFXQkX+hTkN lf4t7VMdb9McxCilcim32VCRAp4QWsngECkl05abxn8rtfAB4VLoWx5QJDCOI7eD6Jn+ CIpg== 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=F3XNdwp5+0L1k7WLLmn36PAGGyKru81oaCO/VF/5niOLh+3ZEWFzMVzV8iy8dP5PC7 aZ54LqqMm/kEBN1Kel2iuoQDG7WvRXGlYzzN62Uk2eYxFe7HhJT68qevEO8LrG9EGa3U mpRJjSVuyErXi1Wa9s7xT/rMQfWfrf62U3Y2wHjq0+6NYJ1kwVkZ0F1LHrFTA7Rgaxuv 7UklBqLTZdvY2rzROLb4KQ2DCLUP4rJ6QoWO51x6Pv96TnAkfbkrCbMz3/eX7hb4CKri uiFdo2UIa/XHUiFpiOekN1oXp5pCe4mHG2nwlBRPG2B8OOkgfRG+RtxddtVecrS8yIh1 gGRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Ur6B9Yl5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xmEhULjI; 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 x8si5086856qkj.250.2020.11.09.10.22.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:36 -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=Ur6B9Yl5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xmEhULjI; 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=Ur6B9Yl5jD23/0KG2ULjyfpVZ qqGeuYPkBWOX4gg+jk4ZwhAok7GH6psotwHn8v7fS138CsYL6vMI8nzVOPQGKJ1hbLp5LSFbASxvC dqN2EmdZG828IusgqxYnNHwDHmUv09gNkf1P1Y8ohvxQ86YpW3Zuichhk75bqN2HP/HJb7n4e1nNV 76xy2dAO+XXkvWvgh+PXJ01D/Ydw9mamfu41LWpkkVaaVoLKngxc9yLGQkN06QqrUDtpHbFuLl9fn 7HY7+SSeLFYlQUU5qFKWZnXCOncz3ynOML1fQHEclflUXUeViJDUcF77WioKAoZGg+ZOYM+oihks4 BQUWByuTA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBo9-0000pV-R7; Mon, 09 Nov 2020 18:22:25 +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 1kcBo5-0000nq-3E for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:22 +0000 Received: by mail-wm1-x344.google.com with SMTP id 10so399055wml.2 for ; Mon, 09 Nov 2020 10:22: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=S8hCxezfBEukY2Vv+vLD9fRtFnmoWP6TcMu+uvwdTys=; b=xmEhULjIYrAV9iDsTFrweCaJ9IisRqKXO9hwggTCiFAh8EfLA0GHBczNXLqw1MknyQ yqutDnIFNVCKRPwh0lKABziBXpYPhBF7+VzRhlfa7XZiJKBbmv79d0MU/WsRTIAF2DWs uAYYyPShqo+WYwgSlnLWYfB73ehIHQaAg4ZVE+pUgNqdDLL6eUCBWx35dDGyyXSwbXA4 FeIM/hDxNCDnRBfMhZmL3dC0u+yEexSUHpRJldelOMwGRlZXsICy9Zk03WCNvlT2uyVL +mwXMKUhDrLjWMAYwIcJBpWhasL6p7rMTWKD2Cu5EJCzQlpeBm4yELElnn4pdyAeNaU1 F5Jw== 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=ElmzsNXEeqmbirXm3mGsnDgz29FRaOdwlGskAwSQDfWV9Ius88PflHHHtBjkR32yUY qlOIKwrVZLJmPTtCYh1aOQGE7YK/72FVlE4ERZsXNb4iKvuVPho9Dj+2d3atySkArJ0w ciOchDdkB2qEbwuMTFoeyLV8Sc6tKoCWpAL06Mp2UyfD+qC82GW6n9+/Zql8rKa1d6Gk g2Ze2ZBOpyxlAOtqXBZsLpcWNSdGn6YMx6EoyVlRp6loQ/8PCD22PaGyiRO/ttIwCpc1 UcuJbeuuC0ZKdi1CP9w+XY6p2jrAaHGmTxQ/Z3C6Z+VLhHgJvPJZnLzYZVxpwdtN2upn zYow== X-Gm-Message-State: AOAM532iehV9RiCt+JHB7KhJlqjEXcbP9tHJeT9JN9lKdU+UE1HQb743 iM+X9kKdeU5gIdXRbVnBqYVQRA== X-Received: by 2002:a7b:c7d3:: with SMTP id z19mr518089wmk.4.1604946140016; Mon, 09 Nov 2020 10:22:20 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:19 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 02/23] mtd: devices: phram: File headers are not good candidates for kernel-doc Date: Mon, 9 Nov 2020 18:21:45 +0000 Message-Id: <20201109182206.3037326-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132221_163931_B16B95B3 X-CRM114-Status: GOOD ( 14.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320959 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956915ilc; Mon, 9 Nov 2020 10:24:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTuE5kAmaGXpzlW28h87MwkT8zs7hIE+cKYhT7fqPz7pep2T36Lolv97LtH1CYKf4zxOGu X-Received: by 2002:aed:22bc:: with SMTP id p57mr14693432qtc.242.1604946253892; Mon, 09 Nov 2020 10:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946253; cv=none; d=google.com; s=arc-20160816; b=VAc4nA52XgY+wrvH+5vc35Kl+rs5FfIyYnnEKarIfhwQSg6jvk/sBeuoOxJubzuALr 382SXU0T4JXaFWgdAdQurWpBIJxkdHQz44M3eBmVeneh962/y43ZoG5rFO6fU9YuPdPV u65OSZQ2O5is7oKPWbIjFoa11ZWN+XzB7lEF9kf8lEP96iHAookZXlvqEQq4n9uoTttI IcqXlOEBHoXL+zWIvWrXAPin9zYy4iJH0WDZz503YgBhUYZ9nxqwQj3IrJHpZruUpr/d ynxbEHB/ZQDaU6Vq4vj6JP4V/DT4RXk5WSQcGsStK8c/4m3WGFwrXL4OHbzdPS7pkI1p ET8g== 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=PeVhT9gT/CHZyAG1dkFzQEnzo2vJLp6emjg40phufaviaN5gG7+ObZmmD6+5LMTQOc dv/3CINufSJcyNfGyoOvpFKL62ZwVoF1mBfgdus3zFRoeHv9fTGP+N20LGVrahVF29e7 91iIFc2zOv+Nb92N5HZimJ/8OGOI2XVOG14xCKq89lvNhGOVmchJnsU+kdbOxRU8pDl3 dlAFcdNfm0dO6oNXX8uZU3WM/PRuJWmPCFYlUEx3ex6rHi4b7icNbfo4FvGS0bKMpkQ9 9L7sgeFf1VmcuGPo+znjQ8M0syLGkou7BVQzjoVGvU0cCBJfp7Lorbbvu1mXBSDH46sQ oIbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=lftAkp2J; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dZ2x+RSR; 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 r19si5630345qkk.26.2020.11.09.10.24.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24: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=lftAkp2J; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dZ2x+RSR; 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=lftAkp2JmPeHBwztE4uaB9gLp sAAE1XEhDv+92kW97qJwgUjzYOhJDeVOpQkedvxW0j9plnh6b+xG7fxRTwL6vYeCs98gEvLh+CDpw S/mntsYYCR1Y6E+z+BJpQX99sxy8BNB3jie+EDSBlV6INggrhfSksnjBQuA4AAYVV2CF63J8PQn8/ bpYvlMQ/LJcXWNUgrZRNg2o+ADe/I/X71lHCBcPugpf3UMPy/KHkzWk4AsX6ZLZD+TOo6nNb4Z47I n+Ubo8qogqtuyDiqQyvCJJM2gyk/eZiGhHiVOUjKMW2dKezCRHJSH4jUYjXEwmpdGgE7BhdLSr5sy z9T0maOvA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoO-0000vQ-8P; Mon, 09 Nov 2020 18:22:40 +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 1kcBo6-0000oM-W2 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:30 +0000 Received: by mail-wr1-x443.google.com with SMTP id 33so9798017wrl.7 for ; Mon, 09 Nov 2020 10:22:22 -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=dZ2x+RSR1DX2DCUtP5JgL1iq06bCkfejTmHpqwxX1MNXX9Z0giEGUDT+kkoOKr8GUp CBOc18Q5VJanvgyyv68e/EVtFijfORDWUgLWavD7CfdH/Mz+wHdYfMSFzJkZjJANQVGY udQauqYQmikmdt8/1Iq5YU1DanleVXtNd7oW9FyddliBQnQVvSOIpMAkwZ+LkvfxhRdj hGlwZoIQ7t8kJMQ01SyLrnaOMjWPkUuOUtIYWB+MBLCJ5i3LviiFcwYpHb5T2JMe4Nq2 W+OwgGjMSRO/hO9vkgxSBk5edk4GknqrZIu4cCOkezd6qbeAc6uu/AQqhuFTFiiDaN3w Y3Ng== 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=n+N+OEuIss4l5saHb7BJf7pr2V9v6QmRXgLzjU0/aHRuxUcM/thMKqspj4yCArIXHC tXqcgRQUsLzFkBYDKlDNzeCrscCi6/av+wk9dKTIdqd1/GM0vjW3cWYKbu8cPTW1zaAs ZzAXOgpvdLmss6rciYOEylzn4fiq87mPTxIF/MNoEWC9BTvT8eOMcih1vAff7Fmgki+U ne88pCUdnocEaw6m8T7Mqv6zoXg74Kv0nSuiguOixj7MgjUakY8ZVgS5Kw6hQznrCNGY QU2Q9OZbHhqDYvL36ifYAFFy0DWu9iFcZ/XkAOsGMo2TMByeuoc1g1F09NzeJd5CA14I 011Q== X-Gm-Message-State: AOAM530XN3PG8dUJyNK4gvGUmKFEZUs6P6qIcEvo8MAcW5oe/BS50c7y xkv5JRC/MJBEb5nzr+I+1Z3H9A== X-Received: by 2002:a5d:4bc7:: with SMTP id l7mr6487234wrt.105.1604946141761; Mon, 09 Nov 2020 10:22:21 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 03/23] mtd: onenand: onenand_base: Fix expected kernel-doc formatting Date: Mon, 9 Nov 2020 18:21:46 +0000 Message-Id: <20201109182206.3037326-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132223_112044_3A75B9DB X-CRM114-Status: GOOD ( 22.90 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320954 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1955830ilc; Mon, 9 Nov 2020 10:22:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6t7Pk4ERrP43q9IiN+LpZBHwMckjqra4kSwMsEzqVOkZOfdxG0mdMqN0ew13Z/Nj5THDU X-Received: by 2002:ad4:4514:: with SMTP id k20mr14967418qvu.1.1604946163304; Mon, 09 Nov 2020 10:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946163; cv=none; d=google.com; s=arc-20160816; b=UMoCP7IvZHQ8Vx0mpL0S9MkXMbnRxIG2A+7+9PJ4n1UUKCxxxL00p75AZAAhVKI9ni Wde82aWphytfmEGL4i7PaiEKh2BNmuxh7OkxCP1IOw/7ejOiNO5wykDJ0oje48HRgANH Wfy9UE/IAHvAJtt6tUOVShnJDQ7o+Kn9gAzUH5pCQ0wGu6o6z+8YyacTkan9Jfu8d5Qn ETaOp84UEfBsFoAs2NAGTIVwlt7S6xpKGewesi5Xtr4tNIuBPQcGHc94b253AOmbLHV1 uRKSHxGVf3Fp9lsk7IM5jwyGQuCgdpLRW3HAd8hRXXpM8JR9/HsawVtz/PCIOqQRikei LICQ== 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=XOh5P8RDfYZ1DqEcDsZma87gC/YLARxOxx/2FkpW5Cqkh2k3avcvqIOtaGEWkYJYYT Jn4wFsEqdvmhkKVzJRNRdAxgQW8ubF2qvxJFhfEAqe5mrUZPGGOzq19E8Agqm0X/7lP7 lJK9U393ZTrzGTT93yfJXayO40qlxa2KgKcsctJdGRyJ+hnouWn+ltggInyUd3Kckr7j pWAEElCT2Bnmc5m+ULWMa8ZyBI/bEp2JB7K7shEOOuZEONzn19eZqt6sB3glGtrB2gpL JeE+n64bxU2jZBRYIyF/4b5UGxaOLr+UhQkZFPs7Kdc7N8UCQYPDfWt9rgA8LL2JYC9F 0OSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=kLAaQxi6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+ZvdTVf; 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 h12si5724210qko.16.2020.11.09.10.22.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:43 -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=kLAaQxi6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+ZvdTVf; 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=kLAaQxi6FZoRcQl+u1QCeCD2x Bh9pLoowMOZQyq/pPCiBaKKWnzijkPjIsVvg73QeBRr09r3O9CnwMhvJff7AuMyJJkfjBUbjGzKtx bEgFsB86pdhQLk2TfIftA9maAASL3wDpjZV/LC5MuN6Wky6zl1U5nnss/EqdrkvFVjgVwE7/d1ojp 7CCMcQxQCMdlIX/NPqX6/+EseqGxTPjQ9jUqxFLO+ZprhszjcZ9Ye2+BNvtLOYhSU+O5+v8kZkpNS mC/M6zipw21T/G6K4jEtmcE0vn7AlVwNuDM5CEAnvSxS1NSp1up5nwjBMf+nJ3EuyOxs2W3masOPk zggE4z6vA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoH-0000rt-2C; Mon, 09 Nov 2020 18:22:33 +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 1kcBo8-0000ok-4G for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:28 +0000 Received: by mail-wm1-x343.google.com with SMTP id h2so410345wmm.0 for ; Mon, 09 Nov 2020 10:22: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=kN+nLzLc6b7cOpaWz6eZ4gZDLXqa51d6pByGdFZOfqY=; b=F+ZvdTVfnmjMXGSx8RoJArP9mYgb6L0mURGvhy8zo5keNvI2erU5GFgmqjFjC1EBnr oYJKjRClMhVseA4yWoa+zele2IZaHfRfpdW7TCR6W/c+wsKQ/RwjMHcol69anMrdXVem egxPWz9OSnO46hy3I0k3b41lurIRC6St9SJep8l+cRKoVsJBzvszVtKHYZber7rRh3Pz SpWHFdgn41nzJsiqZA7TWG1f6TPQa6CvmajSDYkrRxjGm+ScUYSQHXWxf4L8jb0oNM7b hXKAlwJ9AWT5GstvOuq8Rh7cV/CbkyzaldLohyd1+ykzfpUgkW+Q4jFcSl8kgtdP539O HLGg== 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=lnZo03MXebROHskRtrCWyG/mmvh1+y5Mw9QBqd5ZudPLaU8dX/i+kkj0x5vgY/pqUf cbNRhfH7kNQtj9AuupA3Vyo3s3GK/7M49VXw4qUdWT0yH4iYkvV/2oLZ24csPvzYGANS Wc41PTJr9SJPnmbiNhD5R4LG7K2G7GRv2k7H0jmEcoAj4hnzAjxLpYexYHLZGpuymXtK SuWS5Xyk3xRVetXfzH0EMIJLUTJw5dBo5MK5KYz6gzMkHRFvxGQxIbX4SbV3XCfRqid+ 3xbwlxhFFlNhfiIs1kTjWNyT43+ZR+4lWOWcLo6TtTBl98704dRNL9DPd74P5fDMh3pQ NNlg== X-Gm-Message-State: AOAM530Jzg/1jdGE4x9gEgQUD6fnWf0FfqkYws1ldw2npL4HakaYCBuQ OerynufHdG4zyBouLua1XC6CXQ== X-Received: by 2002:a1c:8095:: with SMTP id b143mr438554wmd.147.1604946143007; Mon, 09 Nov 2020 10:22:23 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 04/23] mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues Date: Mon, 9 Nov 2020 18:21:47 +0000 Message-Id: <20201109182206.3037326-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132224_964912_31C4595D X-CRM114-Status: GOOD ( 15.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320955 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956299ilc; Mon, 9 Nov 2020 10:23:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5vpOSEv/dNeuW1vVdankz9YOBYKfAsWgLAHZbP1qRLsQ1neowv1iv+xiM0H1Mh5zuHQdS X-Received: by 2002:a37:6c06:: with SMTP id h6mr15227157qkc.288.1604946201681; Mon, 09 Nov 2020 10:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946201; cv=none; d=google.com; s=arc-20160816; b=Yn2+H0AmHTwcryCMJFmdRn1m5brh1SaaveYff1Ayjfc20u/lGH5lzjc/sHvQqJSDIX 3Z03n5m1xtUfOoNPheHNugcZ/ziMdtJewco+81d1jAAojc+8BoMxtayair+wX/4kEd6l +S/dRTyHKoedJ8bYxrKD3DNSiqXbog0AsBkTLhTPktT0DYo642Mm8LfWroAGncKs6+PU b67vtwEQiT2BVP/Dd3Y+VMhposMlWofo1w4aEZ3Z+KmOguwoS2AJ62+OU2ZWEnjm9foA dAu5R5tcjfvE+hH7XNvOqnwmFIAjc/Tx16+rGd1RjkUxawf1Nmpj2Ka3RShEuaINKCtq GFxQ== 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=vy4267y1dxmsKTG69egEMnfQs7HYYHRodKLsTENFz9c=; b=Npe12ckAldLKz2+7zEpAhhsvUPZgpGPt30XrYyHrwznxAEn4AbZ1D8AmMyg2E64OKV 8An4Zh9vI/ZYgwWVk25cNGanyqkAOW1aUo2tSpxC+fLO4yQdnBc4j9uLVgxXaQRB1x9y 1BlpG5N8EQKETTV1jl9WC0wW0hqjzin/fou4GwlLw5ltf72GpprjDWN61wBtsr2E+03A irnZcmXwK8px5X1bc+gBayyKfxwWXElK2xUrvdI4DGCtPZJEC3HBiBHpPnY9EI6pRYs4 CUaWhfvKzPDdH2xnh89iqwZLTJ+2f0NbJ4lB1jYB+MhGxmpNMp9dR54e5Uo3yyntohFR 2ifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Yi4TR7AV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="FLj/b9i2"; 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 c8si6240161qtm.30.2020.11.09.10.23.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:23:21 -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=Yi4TR7AV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="FLj/b9i2"; 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=vy4267y1dxmsKTG69egEMnfQs7HYYHRodKLsTENFz9c=; b=Yi4TR7AV9dWem0Nj9SWAFvUrE O/I5MDYkftdFz6Dmai3awkHgSzmF4hINxUpTlWV0f03vujMVTFD45qc0/zMracS0d+ABkUjlgCWyI y8OFWUEhVDZNSNWf0B+I0RC/sYQYo+XKIJR9yqZH0d3GRRbOfK/UcPiYSvYz+qv1oGjgNd4W0HK+t uRZ9fqc4xd0DPYagZGXhxaIHOKqFuiZel5MdS8bb2FSaNS8u3XqXHPgN39Ou9a3kSLI7Il3lYakfQ vyZ5OTrSwFHUHcp1mVw7RiqeN+LOlSlmWtv14YJKohD8RHldsJtePp6TXZnuqJMW07JymeJQDjyTv pXOPn5hMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBop-0001BR-Lw; Mon, 09 Nov 2020 18:23:07 +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 1kcBoA-0000pb-O4 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:32 +0000 Received: by mail-wm1-x341.google.com with SMTP id p19so436189wmg.0 for ; Mon, 09 Nov 2020 10:22: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=/HSXbLD6nqQi0zyF0AV9ugs6EBiM6o8rIQYPcXPYEB0=; b=FLj/b9i2Zy4p8huivBf9LP0kU7ppNFuEM3LX1lt9lGu787iQs513Vfmapi1LhRjrau BLdR1O6bGDu0xSXvJ1MqeuoOu6nQrfwmTDEx6wRcnQfQWwUZwMG9YDwT55gX6eWY2NWc mLCIMEWWhP6TVGA0R/D6vl5awrmI00Ln1ttaJMzTLuNE7bR3tRULSOgp4VWjUjUZmYTT a98XhH2Ga0H2kZ2hmn+1fKcPqkefoqt0Hukhr0VR9XGr/FnpSnPDLwu3dm07NiibN/0L Qc3ImYpeYWKYaRMTunXbDK9wH98FmruKYpu6V96IPuyldrcR/Ltg78qn88ci75am3Rvo vStw== 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=/HSXbLD6nqQi0zyF0AV9ugs6EBiM6o8rIQYPcXPYEB0=; b=hTOMg6n02Wd+sRn1K2R+8lqyaERb+ZDrBmuGYJYTIzq+seccAYIkP0jjeCzSyDlgZn ss7nVNBA/BWiqP5frMTpz4WD+3wT0rh+o4IPOoBTh/CnY9d3CzQ9yDTZoAsps/9XIzez 8dYM+d8I/174vejj4+q9e0ur8g7wTNKRGnt8YtHWVth38Loxb2hk89Y23tZqj32KmZOf R86TMN7zRwJ9SY01Qb/VcDjCd8nxt7m+ko2dljS56oMbaHnm7YZWI6TtdrUipfypag0f md+3Yu+wY8UvYY3bMYD7eu/UiLKuCkW94OOkVNXzDrnrEghalhLF2j8jjLSf0YDD6jbO FVLA== X-Gm-Message-State: AOAM530aB26PXrIvdOziVEuvA8mqPffgjwiZUbf68qm6NPVZv5JV6rwv IK4+U+MTG1cwfEseSKP5O2Cwrm0q8RUEetNA X-Received: by 2002:a1c:6508:: with SMTP id z8mr491052wmb.80.1604946145584; Mon, 09 Nov 2020 10:22:25 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 05/23] mtd: Fix misspelled function parameter 'section' Date: Mon, 9 Nov 2020 18:21:48 +0000 Message-Id: <20201109182206.3037326-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132226_936838_A496549F X-CRM114-Status: GOOD ( 16.81 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 , Alexander Dahl , 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 Reviewed-by: Alexander Dahl --- 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/ 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 Mon Nov 9 18:21:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320957 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956462ilc; Mon, 9 Nov 2020 10:23:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhiuVSFhpsTgkGzFZZQ2/px8m+fyIQtVzpJDH3T3/bgCEAFPNDjZZZlw3CbmgCf9NDkyx6 X-Received: by 2002:a05:6214:18cf:: with SMTP id cy15mr15941581qvb.53.1604946214587; Mon, 09 Nov 2020 10:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946214; cv=none; d=google.com; s=arc-20160816; b=idh8Rea8dAIqPBUOa/Mr9ZW2/jixFtdiCpCsjUIAfm4CDsG9SEdJbE43MuNMfW7QHr esHooN4+POaJzl+oLqGvndx8SOqNW2XnikhlZWolrv77jlZIEMjgKh/F6FGungZrwvz4 DjXhoscAlSZGKYCxof275yhnB3JUo9WT2cPfdK4NlK474TZF2cXhVg6a3U0upIesRHqz qa91ARmFrC+v1MU78imWJ2tERaCHauCxQgdNW1G0w1PbfsnmGPe5NuSOK6m+kCGfBw99 jYTu1NtW/EkkwtZwi0IUBFBJarEjApbRwRElGlOaU23l+U74kobqoGnyApsGVSHLINEC 6gXw== 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=H5EWnon7vwOE/FKsBpDnck3TXubamuRjfpWq3CdGvE7tQ5V5I+yFXYZZMR2LBJdrn8 bqnaIQ+XLfmTLyQWmZ+DUalJwP9fZhFQ9UjZPlGKEuYLasBqa2ElZhMKVXa1FjkGHtHc RVylQWJ7hwC5WsggJyfsgV689OfVuuouLUVgqC+GwOyo5/YAYmJ6GOL8VEFSx/wT+cKv s5wt2AgEa7gq2MfZOBo5t9Vo4JXV0NmlC9z4NG7YcdkHweC/xZ91/euaktHA61T2YGvh p2FD+Mt8oFtq8nq2KXUNmXJ+erSKQy76rwMxcqWHsXB0qBEf6tlw+0MImNHEDJpbrkbP vXdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=BZbVVtVy; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uj0ilgS2; 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 99si5078793qte.261.2020.11.09.10.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:23:34 -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=BZbVVtVy; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uj0ilgS2; 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=BZbVVtVyv7veAwPEhE+8c0NSH fFqqC9Y7VbdR/IHYsRpjj+38h7nCu6Ja7TWlRLQe18pP8M/X76i1++HhnBv/dc2XTcWIW49m1CiJx dbUz8kHNJj8r9QhCgoX9wO6kdARht+Kes8L54ap2Sg9Fi1xxC9WO7SHk+uGIJC4T14/7o0dS//nis kJXvhLO5edFoLWQw4VC6JNy0MUzJlHvYJWrmNvS0IRttELTjFaBMBnOkFh7gaF+aOv73ECMaiv9+v pPaIl65bVtc1jgyeTQSnw6s7eO91Uzt3o8BA1VB28L0Njq9UJ+ec3w0z7gRETxAOVkxkze5vbM8zw +LUIR7UcQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBp4-0001Gv-Hm; Mon, 09 Nov 2020 18:23:22 +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 1kcBoD-0000qf-68 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:35 +0000 Received: by mail-wm1-x344.google.com with SMTP id w24so397049wmi.0 for ; Mon, 09 Nov 2020 10:22: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=4n/4+2lBYe8KEpcSc+k+jaUcNkTMwSw5Q+II+p0iyss=; b=Uj0ilgS29+osExv/bvismVAT/PLBPQdjidoQmjYo/Ro+UVwUGL/jffTPU1iY4aCacY Es0GGJnPhXgtd7nKKaseNluDzNC5K52t6wmmT/9T25hAfOKi4q97MkOuZjTxchbhYCOL sTyXzuH2q3L3QTQixux3i/SA1TEK7nPZUP0ewXsAk5z0XtW4am/wEmYE/ijjML5LVsv3 KBCcmYKSq3IpFBQ7vdOz78aE0rN42Ze8eSDT7Uj8l69xepN7VnUJ2Pedk8qRPbj4RUgm Kvca8JpHPpGK8bRgF1nn0H0cNT1GpYDidE0IDI6WpsJ1TGJ9uc45oO086N3lkI4uVBe4 Txag== 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=bmNwPEmT8PHCc1B2MtYrI5YC8l+EPoC0HrdNsrW63s3Pifup3UbHXL9gQI/6ZhzAYv TWSeN7IMQv5En4vUDMZP/5AzZ3AzbYbrEM9zlUISmnaUI5y92isslUAXrYsMx7WAeFAJ azwpihRMceKbWSeQjbheauAbj2hrbHuC1/FY7HLYpk0rq8DgdT4+XK3buhEZ+793HX8z UELSVdZBBHAzSbRnIH9AxFVg0TTnRzvEPt76a7EZmQo7EWkYqghL/BpSOJpInwvcJhNJ Unx1kzoPu2ScTLoekxHv1t90Riq6+X9o2d7wdqu/3s1pXsVPg92oxmizllBDbGgEfgcc lNdg== X-Gm-Message-State: AOAM531ASlXbkV9VF4HfAoJBPwd50ZIidKxmciccOVLqnJ2pV5HOt1Dp 6YdlfSgNoR1qRKwvLlxkrfbDZg== X-Received: by 2002:a7b:cbd7:: with SMTP id n23mr484206wmi.142.1604946148324; Mon, 09 Nov 2020 10:22:28 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 06/23] mtd: onenand: onenand_bbt: Fix expected kernel-doc formatting Date: Mon, 9 Nov 2020 18:21:49 +0000 Message-Id: <20201109182206.3037326-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132229_295941_84D5439D X-CRM114-Status: GOOD ( 20.71 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320964 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957594ilc; Mon, 9 Nov 2020 10:25:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqrhXAwIjJ7UFTj4Q0/LU5jp3Nfizjd9TUAzamIhGRMb62q2usmN/WcXCCO+m6p3DexApN X-Received: by 2002:a1c:490b:: with SMTP id w11mr451015wma.101.1604946314148; Mon, 09 Nov 2020 10:25:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946314; cv=none; d=google.com; s=arc-20160816; b=tPqXbVPCHeeT3FIIOec3G6ZrE/BPSEqdeI3ATGjIYZEa2cjsGycpK0N7UuIvoScOxl Zmy34Wb+4JXmkSi4oSfU2R8HjJVIhwuqCXMQ4Pj/XNGaCUckMEJWJnNnE8PeFLSssP8W lYvhIG3+s/+V5agQC5gjE4fa3q0lOjRbciSPf9+69aZz4q35n3zZTG52bZkJ+GiaBMKc SSDP1wtx/QM3LXitNiOFcN0UdxcbmMeF33cJz0/8myb4sRqQ5PbSfxOHbPqnZmik7E7v tpbb/hIJ94gR8GH8+lYIR2Efzz03zfqvccYecR4zJJvPqfx7AJhg3XkSKjYBRugLDhnt tmSA== 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=Zpq2kuxykK9klEWxR2AOiFl3l0L/nlPGhzoKLt9IUsQAr3tmuQWCklGSN0VGvKn2gu pdbku79Ndx7AJh3+LlYCEbNNf8/YCYv4kyF3cOVOnWd3xnhx/v5EnT2abWzNKfzkZBkV BCtXj/+JoKJMVfLSUk5ZqH5Vy3gTf7u2hWffvNgf4wk4pvOSZj2fYJiSuCrGYHzqPKsv jLrOwLRsz/Fi2XSl1Hso4YPOSfUMXxukFsqG9Dr8wDx1FMn/jIUV32AOR7YrcOXlivPL PDLGnvXY4U49ENtOlcGTmQsmaiUwzbyT75Od0zW97N+WYEfeVvELJAhndQ6b014+yDVt agtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=rEcvr9Fq; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ooFGARyL; 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 y13si3322401wrr.96.2020.11.09.10.25.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:25:14 -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=rEcvr9Fq; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ooFGARyL; 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=rEcvr9FqyZ7H1WUcNRhhCqZjT uSqCCH4XrPjWtYW0fsXCQ2CaLF9hCAe9lIS+Q0z/2zLZIVneP//aum+92lgR58ajoi1+L6tdlF0Z1 Oe7uG4kzXzS6OcEQ47ayKVmcNiTjtbX513DqxhbbT94KOa2Nl+M/S7Ra2buAWCt9QGFEWqxtCWhED D/jrn2w8Sgka8M3X0RusFawZoS9/xNU1IxL4fODbTMoHd+kCGOiLqVfCu+bUrxm3x9ukx8GxO9bqA w7tIeEiltbj0z8aBm8eFGiEvJvX0GdIrpVsgdLHafb28NnilOAgMo7Za1oogMT9vNmE5s8Lt8HVVm vGFPPYDQw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBpQ-0001OR-E7; Mon, 09 Nov 2020 18:23:45 +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 1kcBoG-0000rv-Rt for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:39 +0000 Received: by mail-wm1-x341.google.com with SMTP id t67so367827wmt.5 for ; Mon, 09 Nov 2020 10:22:32 -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=ooFGARyLJowx89bv4c+IWUlkxGlUcbdgBeYj9e3XDQ4tCbbK29cBwDi/2apoE7Ezen aA4ZXA9omb1aR9rI7SUOtGlFYdS/pk/N36+XDCt+tV9I0JroBpZHWrSayKdbuWE9kVjW VU61NyViDdUZ0VJQrkaUGClVY7E5PnoS+BEztEliNmV77vSeoAClw1knzcI37pw/FNDL g2S8pSaJHPjwmTkB9M7CPrQ+y/1ALLDt0+xYjrjaoDuBZSIps7MbG3cRRL0/mPwhpGb/ bdATGXrtQ2CwCcMzRVH2Lp9U5RI2lDhOCMuKnDQH0XRLHfKPyzKW7/5JwpKDcj29yVIi Fq9g== 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=C0Sv7UI7cVkIfiDgWyDy8eNJFSLekkUcQNC6wTK4YiRNEtCmiGNfqY722mLwdPHuS3 gGwi6aYiyexl6ObwaMY7bD60odZm5O8eDjm3quDS8axOPiVz7rUa46c48ji1dj/0kt9q pmhukaw48xT3V8SVMwcuupKFRkHnvZ3InsfZViTyiVeuo73ZX839Cusg2P8jh/rMeTI8 Kw4JWUPk2rIktoXOg7ugZwDCVJAy3YJBvqUSAo+I3mNPtEyopIgNaeVqkaXOU1mR12AJ HxezUlxEB3k0hGAekSsuopsNleWo/6k4fzGNIF6oEwdZlAjzLTupg1GWvHGovh+x3wbO DG3Q== X-Gm-Message-State: AOAM532DoQZeEgM/QCVZO/9gYN8ZW+C2AJ6ErlYVvA9BrrNHuz6KJ4lj gk3nAIbrJwofNPyIXvxmtoqr6w== X-Received: by 2002:a05:600c:2048:: with SMTP id p8mr433818wmg.165.1604946151927; Mon, 09 Nov 2020 10:22:31 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:31 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 08/23] mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param Date: Mon, 9 Nov 2020 18:21:51 +0000 Message-Id: <20201109182206.3037326-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132232_992552_BF7135EB X-CRM114-Status: GOOD ( 13.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320958 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956682ilc; Mon, 9 Nov 2020 10:23:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEtEkrPC3IpWaO+sPYQldoTOhgJkCO67zvC+o2Fe6n/KHzoPTm+wxVi7JSNgRyQmzZFlqD X-Received: by 2002:adf:ea91:: with SMTP id s17mr19201778wrm.349.1604946232468; Mon, 09 Nov 2020 10:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946232; cv=none; d=google.com; s=arc-20160816; b=0RsWhgR/8iKVt+6exbKrBnOF9j4kjCr/o2y0ABx1W7FzVvsIsskFYJdzUvdseQ52Fs kdwU8OhMM37tWn27mZ0U3CG8ieH4g728Zl31lXAS1KH8A+2rBmFw/AKHUbROZ5tLgAVN hzjQrG33VgkCizQeQV4yxbu1LpIirwxOiCC3LkmZYcT2XXkqN/KnwL9exC5jumnzI8JC gLxL0YCLQW5gEyWuffOH2LTs71i9LZn5FDDttlSEHx2OfbB+XnUG6XCJnDYawUdhwwBF kc5Dn/VdD2iRufPvdGS+ktnWITWxmWzqc/+NtV3UHFdM9fY9okMlYVRoMSIPZ9BPPncO A4MA== 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=Fq2FhBqgRFHZd/nZ2PxMEXprPpEBcGlZtkmTSNPlqQz2pDQDZpfRE+x8rvS7Ywatss 7psL1Gu3GT7MYssyCe8nd8VP6LSqfBhvlC3dpzTBVomKe61Z80IKaB5vDmCtHGO8DuGs u0gkbEg69briDvXbxjxgBkgrPmRY8yVWhKyR5h/e0BWvrXR/wYqzuuU7Ni0et0pWpVnu 7AQfcoRFJ8Yu8UXHzCKYLZ3oHdlM0X2GEb4Jc92QodVUuQabISRoEmHzdqWU8t9ZMMwX wWF2rBknbxHdDpEZa1dHZp8UtlL7xfzFUxEJnm8HbiOen9VObv3s/vB5ogdnkU6URf1s brJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=HNml7Rsm; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rQCgoNIa; 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 w206si223501wmb.73.2020.11.09.10.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:23:52 -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=HNml7Rsm; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rQCgoNIa; 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=HNml7RsmfaHtT7v9A09ysyKFV uwo1smWHSHdHQGPK3QydaSgKcZfixBREtR0W3nYcEHiq/51J7sEX4TpQ7h0yB4LcBKlBaF9QSx1FG QZ9zRqMqW45bfMUPO6yd082JuazchNfBhlC4Ssn4hEGz5u+736NF8UjrNryAhInVIdCQ5vtcdiAaT GkC3sNZx0ZD/U0oXKWFMRLHcdasazN0jRYkiWg610VCIFK3d2GB8OQYAGY+Id/lPxDRGOLelvxd+K wkpsN1lMAy1aHSW93CwiWi6P4kgpPyUe1obYskdsB5QiZgZ/p9iH51Sj5O+cqkCZIkWycihivuN/M 4oi05N8jA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBpH-0001MZ-Ml; Mon, 09 Nov 2020 18:23:35 +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 1kcBoI-0000sR-4M for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:39 +0000 Received: by mail-wm1-x343.google.com with SMTP id p22so393784wmg.3 for ; Mon, 09 Nov 2020 10:22:33 -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=rQCgoNIa+HcrAR4oxWzehDdHf9SYcJne82iqJeRlLaO/0SzjYou6fpwvojFv2tn63b +xMb/hawmDEvq9XV1NCbUhyekrHecLXwpbqsC6TQY4ychclYMzoKFOeJqNGTgn6EldL0 PpQWssmHYrxPNPNOicxE4xA9WPZFJIeS8RFIDqvt+BvDfHbaqLExjSATD6aOq7Xh7IIZ yPKlWSWlEybkfxKCHlriq8rQuidtgCt+/0gIcovjcN3Hs9E+T2Wa+AeTOqNg37y+RFsR Tn1OELxcWkmRYlEuoftfHNIzCMElhauet+HDHul1CO+Wfnpd6vvSd1/6EcEUiyWEz+Ns PkYg== 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=Vj9yp+XUneFIwnU8W4Hmvaf7s/LeJ76wpp4CRWPWTRTj1dp+xjOlfFEuwhA4mDo5DW mxgLPtY3Rz7uuh1MVqqm7OVrH1NCNP3lbI85qWlydReAPdt85c7oS4fj20qUmcWm3941 V+u09KcUhZHPHSSn5R34gpAA1Zc3gXFfVULbTYx7+uebsyiYQSCEMLwz//vF8EXC2I11 JPBRN578fMeFlLeR5a7FhY46UtMX0HU7Nwr/iw+DAf/IKZ044T5ZXHkTy13jiF/7TJCR lBT5tuzB7fE6SLfRzmmx0SSZ8vXUTPbFXs8UpYSRAPu+0BV/8JiVMpq6+lU5TSIGwVSn ZbOQ== X-Gm-Message-State: AOAM531NJ+fsU/LF6p16zSYbrXd8fhhwPGkZwsnGkhbRgjdIeMM6dI7N 1kIAhv6uavV1pGVp/MRMHMWihA== X-Received: by 2002:a7b:c7d3:: with SMTP id z19mr519127wmk.4.1604946153142; Mon, 09 Nov 2020 10:22:33 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 09/23] mtd: spinand: toshiba: Demote non-conformant kernel-doc header Date: Mon, 9 Nov 2020 18:21:52 +0000 Message-Id: <20201109182206.3037326-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132234_209586_529B68FF X-CRM114-Status: GOOD ( 14.21 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320960 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957123ilc; Mon, 9 Nov 2020 10:24:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNQi2Jqvu347xJHyGkoTvHa+0yTebBRW3ZXvaHYi8HhdgK6bVNZWHAddwb66IlG2EhMS0P X-Received: by 2002:a1c:b041:: with SMTP id z62mr452632wme.183.1604946276043; Mon, 09 Nov 2020 10:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946276; cv=none; d=google.com; s=arc-20160816; b=gA9kUxGmMHEkOtY/JaPC/c9OuTKxRdtAyP2221iR1FC4tdZHfpNOCtVLKafn3s/P95 tAaBbzQtzsiCuxHaHvWON2aq8XdNgDQzdLcvLOd3cNF9HYASSULxz0jqUr+I+qtH7oH4 G/gsQCm/38TGn4DD4FTCFAMZX5UmENPKMQnK9ldEQ6g2ceN28edEY4y6VP73Ors4X3Pg ZQByT+bcuwBwtHo9Jvkkz9MbrdeJ2Q2sXeKvkgBszk8kKjLq69ay7nTmNz1/1jSepFz2 LIgFZfGclWrLk66hRslCbWmSyTJAtybCufuz5OdPLEJvYBDJZQHB+3w52U2kr3NNvrs+ 8Q3w== 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=DuOtW0ogBpcI9L4gaQMq6mOHpm0MJ22+qTGE8P69X8xdkWvph0KWAKf9yEeIamwMOK rDh1OYxrMWS6/Rp24LgWo3jSoxe3PMGdyS3b4R/fhygZavNXkdA9lAJnG74XAT1XrivL EJ9K0Wf3RK6OkKu7BApXAbSibTx9POBpMWD5Iy6xF6DEwEEZFqrPKRaw5kC+Xv9f9erd /YzNrR77JkV7IssKk/SW+kSZjwixNI9Y9/nVt0t9fN+udzBCnBDL4cV6C0bVJ6FMl0do Oq/75xQ+J4p5XnfKwpJhnFKOCZxOvziDVr8RhebopfWNBigIqkyjiyZ+2fT9IEUAfzSN JdMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=aWUgWmIc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="ToJRou/G"; 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 n8si238352wmi.29.2020.11.09.10.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24:36 -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=aWUgWmIc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="ToJRou/G"; 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=aWUgWmIcM/74eGPkVqAZZHQFN n5gZ+0aHVfLpR88zMPrKLLFbEkzM+KBq7THrTv9EkBHBN+4HOHyqEMqOsvX4HGTq1RZYwN2MTKcii ej5EbS2h3nUndlsV5s5reIUFc0fjh2ubQvDiV/MnpUd45bNfdVyvLSrfWntIdkS9VIlHIOE0pVx8Y S76Yj+fOdKeK6P+yderEoRslSll4Q/jaeTMwDw0CVk3NfHGBczFnGnpg07pb9Yc2DA6tmU9buog9G EfVNXN2duoLGDV8+YVZV+KGccclhzA6ZqRC175tUyYo0IBMFboCV5PGtDbkOl7daCNHIbdJylVeqD Kgj79D7rw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBq1-0001fs-TE; Mon, 09 Nov 2020 18:24:21 +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 1kcBoJ-0000sx-Dw for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:41 +0000 Received: by mail-wm1-x343.google.com with SMTP id v5so404365wmh.1 for ; Mon, 09 Nov 2020 10:22:35 -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=ToJRou/GY83l76OBzOA3w6EcozYKqJ27Q2TR7tt6LGIQ6blHcsNnvL9ilkDPN1mDhk WR1lD8Ai2jcj2p5Zvq8/hoCtpifwJ0crOUSBwh27ZDta9uWV5Hi0d4gd5adiZ/EYvU0A lgogovwxBFq+GVsnNpmooRxslu9IMrsVrBx6Bd4YkcTz2WgfvPXRORsaCAb+nTrvOTEE EkDX3ucAfnIDqt12fWwV6RSbF9WiAichHRikKcLs97F/dujnuJEqNTWyoTgb4IMJ/5le CjQRMDSSQVbSliV3EUvkdbw+1pM6wy4jkGWSgDACPpJ5nmMDWZvLwW3fA+KVMbvI6zCL 2z1A== 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=n6atK8IDJuZBpghdh8/USEQV7TtA0GAF5u0QwspjNU/GkitG7V2XFJV/TgBT+MzF/0 iXx1da8sS+Ifhqpsg4moEboQmLC8Qa1v0wKAIyfNzur0eCSQeulbs7iU/yrsxpltykxk c3hb8n0ggtc7z5nPo22mrQaEZuUA1UeInIF1pqiHD8rJFztdjnKXbrwGEvnm/ads1S6j t/GRX/zPTg4ZN/FiJ/m+0/HQxQKYxcduU1dY5Frkn4mHgE/y2o5Yu9IOas9b41sUu43f oCyLP1sM9vU8kKlviwLY3rQX8c+OmP3fx8qY3Mbd+B+y458dzNNONBU1B2XH3pJ0YSfC yvQQ== X-Gm-Message-State: AOAM531ugcBY+izjMN/vFdB0V5uNd9pGlZ0JZntRIyQcAtpQfU/iEDfD nZ4D8cbgougrdh119fYdBKWDpw== X-Received: by 2002:a1c:a445:: with SMTP id n66mr465425wme.51.1604946154476; Mon, 09 Nov 2020 10:22:34 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter Date: Mon, 9 Nov 2020 18:21:53 +0000 Message-Id: <20201109182206.3037326-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132235_539139_2CAFC067 X-CRM114-Status: GOOD ( 15.38 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320961 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957249ilc; Mon, 9 Nov 2020 10:24:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJw29Pc6C8nGJvLK/tO0fqMRj41qgQLk6IouU3YmBkUXzxhFQrZ5SgHg7Yb1Rlfnvgz6o6bm X-Received: by 2002:adf:c14c:: with SMTP id w12mr20488634wre.40.1604946286956; Mon, 09 Nov 2020 10:24:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946286; cv=none; d=google.com; s=arc-20160816; b=jMHL2dfyaDfq2nD5n9PMoQTS2ZOgbt6zTwnxFCHVQtmaTLEKbjg0XygBc2UxZD/lcw IQGXLdZIYacj0nTaZfAV/frVHcjmD4QHE2BaAIKx+EG1o+K7jgdvZDH0vM2jyDzuHLez 1NXLkv4expgyjEPwBkNn/nEt1mO/S6H5zUstR1eqK6GaJBh2AtdBaXZSIrexzlF42Wrs RAppofFmlpQWztXK4gtyJWhndDgrU0BAJVVHZQQ23Ao64pdkKheEifmvbQd7N2gmIbTI hnCh1IR/BkLg1yExnMyjf+ceLU96ZklHcHlTuGn0G1S/HWPD4q4bNURdJwqNuKyzTU9z 2U9Q== 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=D9KTwsF0ox6l01GXJ00+wJ32shCiI0ChfONfMToDpBaaxnrjP5xLxqNl3GTwB541uL QphlI1WK9mT9oNJDJ+HCk3Lc5g40yky8R+K9jmtmdmt3EuiaeY2teLD4AC1hFUd5CSh3 CzrSBHoOYSfxxXT8ftSXDlXHR3dE5y85dP6gqeBmfO175v09Q3dyAwQDqZlOuG9E2yHH OOVdl6uh95HK0cIDM5RSo0pgIKA89JydQm00kUpnxWY5tixZItz2wTpzke8B04aH3oE1 H7hLDWZlBFQXQQzQncitkqS7Tb/p6jkOeqICYaH2R/sNDcEiqf9pI7/+r8t4efUV8z1x OJvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=jbMgMX52; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pISmdvdS; 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 x6si10394233wrt.191.2020.11.09.10.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24:46 -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=jbMgMX52; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pISmdvdS; 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=jbMgMX52vFg6gbzfcJCdcA8Wa SvasrBOcPEXqTzHuo4c8oAFU+exvn2jU4uSGWt1nMz0qZUBdZ2gcyRsK9UW9QzqRwtmpRTKlrTKlo +v5ZvPgiEeHHvGI1C/ZlAiBdnil6O1xuXpu2SuJ8cHV9BoaBAN1ojUA2/Mth0ILTcYSUzCwnFSGFM v6zkaac4KcTJ+brJK/pxCvHyONh+7HUKc9xVxD3BGJUkeAgeYXnmkk1DUlYuVSghVPsTqSqSnhA1m NweCjqS5qE066UnGMxdp89c6yubdxb48vqrD0YINgeOYHh5109YHuqoW4ZIq/eez8PJ8txDjCl2ES BvFQkY94A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqF-0001mF-0B; Mon, 09 Nov 2020 18:24:35 +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 1kcBoK-0000tT-OE for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:43 +0000 Received: by mail-wm1-x341.google.com with SMTP id d142so390549wmd.4 for ; Mon, 09 Nov 2020 10:22:36 -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=pISmdvdSsAGV1QIK8I4/nXbvzV4BpyRg4zyUJt09AIUwDnQOACl7kVRWIlyZmqQFmu h8mZCjA7ExEBqY7UPobPGH36uZeALUfjlSpsODuSdTwFYMaHv5sYNEOJTALE1KEutu+C RgDy4EZwHHKM+WM3pVjJOo4C9KfPKSll+pNQfBMJy2sz3DSOjb8zpvjYBt2ntpWUWyVL aP28CxDBuNZ2Z4vI1+SivZCt0x7e5sXUTDaoGqw+OlhpZygKYwKxsQjw2348oRFE0DWy KO2TPj52VpVqlNk5H8ho0v0+f1qb2m/Leb1RXjg+uMmaNMiF9wqWvSzbQIq+phKexoxY ty8w== 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=IhQJ+3igtt999Gye7kbehBGR1eVlaPEG3u4Ds/VmXHYrUe+R1p0m1IAN+lbrUf6hpa iBr0TdNQhS4RE2evzddoN5fdW2wmlQblZlEqfw6JrzzpgfQhV0TznNIkK3p5QF6avxZK lVWpMHn9Uhfjv9JRfw5Brvy+gTJFRWmaBPBbBiV+sMuFOawFpODFn31YizyzibQtdL7k 7u/032RVhgqNmK8Des+gcuyg7VZUmPHoZIi5P2gz+d19/LL6PiuaQfR4IqMOZoemI0BS +41cVkjUM3TAV2XIZk/qKzhlvjFw+vQtW6A1LudhQgwcXKL5k/iKpkCS95odCDCNBqDT ybog== X-Gm-Message-State: AOAM531zRwdC7nK5NoaJ1aNtwpOKXb/wlSyxG9/TTmsJioggy7HBcnZ4 o5WF/1CQ9TjsO1YH2zl52/WkoIsC8LxaVw7z X-Received: by 2002:a1c:5a06:: with SMTP id o6mr433586wmb.181.1604946155646; Mon, 09 Nov 2020 10:22:35 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:35 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 11/23] mtd: ubi: eba: Fix a couple of misdocumentation issues Date: Mon, 9 Nov 2020 18:21:54 +0000 Message-Id: <20201109182206.3037326-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132236_877094_AFADAC90 X-CRM114-Status: GOOD ( 16.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21: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: 320962 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957392ilc; Mon, 9 Nov 2020 10:24:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYEdBFkbZyBcGeH1g6k2tTnKackavMl4ErAq8Ewgz622UO9v+F3Ofm4DFSWJZjt4gbz1U8 X-Received: by 2002:adf:f846:: with SMTP id d6mr2042947wrq.128.1604946298482; Mon, 09 Nov 2020 10:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946298; cv=none; d=google.com; s=arc-20160816; b=ECK3j7chftXFTUK0WxBdHyp4E5dOOxVVa5j4IHN/xeMUV2WcyCSYcFeOQ1aCqym3BM FsZsczV6ctUK6BXuJr/mVNGtlPjyowoON1SekWcrXOHh+bkVezLOyvZ6GZTqmbouo8pO dtjTLHw/Zvl5mtx0p015WXIWGIna49cTFwv0QlDReHtYoUSEa+kymovyVlkPHM3nKmZT 1kF85oo6x+4H6LD+ybzQzyONSMKMlTmT8etmbDiH9DnZaKg/8cdsXr/CuLD3sm2SQMSz T5l3+Dky07P6IFc4P4AC04uoUAG52OCBuy/I0y/TfbKW25RrafLixTEiOp5//6hX2JEE guMg== 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=X8F9D3VBNNiWHP1K/GXTbbOuaO8//yDqB8rX7N/eRUdf+3SRtVCogiZULduEq6Jt+t LEwwR5+xEq7uVRxUSpBW/d8jsuoWmy/4WYKLSB6A59tim4YOZQrQFC16wQC6fqFK8zPU NosPRXvv0+AStpmLi4JkBMNPCDcesYKfcgifuGFL6kusVg5UbPnJPCF9IzKOd3KgDUDG q0aVJhUfK2A5oAqcRIGkHnp1DSvoptl2JEtMDqCOqGfrbvqNTjLFBBUAemMpPi7vlgfh QOcuG3mnvnqvkJb6jlss9Cm3xA41OYelgvVeN1yYqooQI8Ex2zwA6lGnYrgRNS4pD8i3 FWNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=a6XIxkF1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FGiuz2Cs; 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 r11si3362108wrj.220.2020.11.09.10.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24:58 -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=a6XIxkF1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FGiuz2Cs; 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=a6XIxkF1ahP0cYPCxqWdnFrw7 00i7Yt1f8iF6J8BjK6spMK3912o8Ek6Fl9ZCuDsrdkDj//vYqEZTDQO6s2EWWYIMNqu/FGO7d70z7 h1yes7ECOMBLBDJXMMxpPvrurlHGygIbumupxPOgm1qzmfd/eh80AKnqLXXkxBDpFqiT0NvArxSts AOAt/GGe0PA89q1PFezLLoYxsfK+meGpILMYTCIm/MPL8urszRrCPs5nTvx36GEOoRBAqlpGYrULr 6R9WmichwF+caMrXlawl77PIYwvZO7xOIlOIynG7Y5j2tfGfK1smY48wIKadnKtVMdK9xwsKhLLLX KONiX8lKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqS-0001ss-K5; Mon, 09 Nov 2020 18:24:48 +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 1kcBoM-0000uH-9F for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:48 +0000 Received: by mail-wr1-x441.google.com with SMTP id 23so9806283wrc.8 for ; Mon, 09 Nov 2020 10:22:38 -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=FGiuz2Cst7W8YGzjuH7oR/80riR1y3ryV13ErPsnJPIku+MH0/ysQZFcPAyi6Rak30 A7uyeT+Pv0IY9nd1ybvTN4TTOIXRxo6WyAarJc69qAIgAVWwItf9dE2Xipuv1iDs6PrZ 8VTA94w7a0qq8YfA8iPwN69GCrDDKsiXEpnuvGsK2Q8x1fo6N5raOMUGb46Kdp8/akPj M7cPQ0B3xEAWcsbudiOqaKsqamxeMJEKo93pm8ktcyX3KUUcKcdtzEqbVbAJ6pVplMfw SGiLPCC+vSwii8OmWho/PSnPB70IwNmqiRCgM2kfdWrmSgxw2nTZHbNsJgNpO2ILGkXn Wqew== 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=iVT1p9EGGsdEnCsVdBqtst8HPx1+s5AiM5hgdIuIG/asbGhrsx5VEaNfCtoar6V6pN cKBSa/frQbieN8FozrEIFFrzw0HC7AnNBIom8m8ydlE7L3QzYDRY5G6m1pG9s4YErJE8 JT75rCricRlL6/fcqj3i9ALOw5OuIIRuO6yJuVrBitmjUuuBRuCCB9QoeD3Qtbfag8AI x6rOzzJPfPtRrRJR9eDNtKOMyRw8p5Bx3nBG2JAx/F3EP/Jp6QzJxXGFCWYpzYLD3ina gIlDQigGUhTcKnIcyuba069Mj9HA9UhMLwQnuNUokXKjfjYNXrkL2nY5x737tQS2dSFZ L50g== X-Gm-Message-State: AOAM530piEcvcA+ryVEyBk8eh6ZTfyV0g35Ot9eJtvtnX8ifZjKtfFNA uLneJjMmkpFG1VgzOj/vPZxEwQ== X-Received: by 2002:a5d:670f:: with SMTP id o15mr2175982wru.204.1604946157299; Mon, 09 Nov 2020 10:22:37 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues Date: Mon, 9 Nov 2020 18:21:55 +0000 Message-Id: <20201109182206.3037326-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132238_418330_C41F414C X-CRM114-Status: GOOD ( 16.58 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320968 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1958579ilc; Mon, 9 Nov 2020 10:26:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk9lkZjartO5ZyFvBUOq+GI6ZFNLVDy9RicOmdQ/XIHKpc0vz3MbzkVGwF5ULGROhkHmdW X-Received: by 2002:adf:f4c9:: with SMTP id h9mr18700342wrp.332.1604946393198; Mon, 09 Nov 2020 10:26:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946393; cv=none; d=google.com; s=arc-20160816; b=QsoFQ6CdD5JVvx3XCru1HHNyzbgruwmyAKhB/ZDAqGwWxRqx1taBacyqxd8CThBwL4 hKxyN2fYAsRHvowRm0FgmoqxkAWhwzwg87H8YYB5ihz6lMAp0ZBa2bpF/UUvUjM0ciZI LHGNglfUGNtSQEOrhdpPcUBOpa2dM5AB0V81TwaoXex4pdgnpeB73rs904GBapIeYLMh cco7MhCfgV377lmpdHLnQxBJnzz3VIPcSFOGZFh3e5GXPZ5AVwFmzf0Ej0zD+CCqrkOx c1jY1jQuHMUmcFnByh6CLq47Ue/W/D4DXfku51wdIBLK1vY/pRQpbiZWFH71ecVVObaU avZg== 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=GCcV7Sfc4aHZolMlsfVNnXLpBwYyLibvkXWMUH/mRvyJ2D3cvQmO5zFrYf7agzOv7o QFJsV1z+zlOspy6QR/+lgJqnlcThsmClb1f9rDmzH0+mb7Ds0hcvj2vnGiByKo2Cjf3o k5P8W8AscpFOwNGUdGdGFDLSSpsBBIjFNMxNW4aGYFnwT+cujnm3HNHhhcWytAc3Supd 6W3M+5sUB1vUVaI4MrgViUxN/bPrAW4LJ9/HX83X6U2jVlaKjxgCuJ3exJ1O02qQPxnz +faRnw8aCbPbFth/C8NJ6Atcr2hmdt8g4u/ebL6BoHpMoocG+4JxMrNqdsB6SMEmCD0E wofA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=YtjlZKxV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vImUAQgr; 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 v14si6877655wrb.320.2020.11.09.10.26.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:26: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=YtjlZKxV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vImUAQgr; 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=YtjlZKxVODt3ZtnwoWnVltrVI bg/TGhRaq3K3wt3SsZfg7dMoK4EhgwWNXtF+jcMfO9gXbTTMo4N/rbHHAYA/aGhWp3ZvKSeEbw4Fu lgx7O0dMwxfGnPjChBDqIBAvQqAktwvaXZWBi7E2t44Fj/Qm7YqdC5ceR8tcIfobt/3GBRz2WwetY D91xS301cj97DCQYJVzwtxnDr3/k6cXVNqyjJqM7q0hduD8Qu9vktDJk9Us4UwxWVgY3cNKliVfJT FrMV26cvkO/dhIovmT0H6cvDv3vxO65/BNGAXq6eIojDL//1iYBothp6RjXdyZJs0WJdsiNiQq6Nb gfAePfs/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqr-00026V-Kl; Mon, 09 Nov 2020 18:25:13 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoQ-0000vK-3U for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:53 +0000 Received: by mail-wr1-x431.google.com with SMTP id o15so1970765wru.6 for ; Mon, 09 Nov 2020 10:22:39 -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=vImUAQgru/P1DyZmBgAln/TyoEMcDySk7hxkXNzXfIPa+mv5PhGgEQZsAA25vJfOc/ jaErWIcHgnjxf/YaUETrcNKHUEAUW0SfwslvXmOf6Pn+eDGzpccebenmrULsxPBDQ9LE 6ecSrXNhd1US1iUnpPZAYFPZiaZUFIHYQHPYMdhIqy1qywCmb7VLJnFFewBL+XlcIT2r fl+xPCo/nDNwQZm6RUhO9y0bkcR12jGYkVwxzoRAyh8nR4BmnhVMaSFIOCfucNJhkRjq PUCxPvDlr+kEhvHOpdSgUce/jRskV3yeqKdYRU89lB4NVy53+m03mt3kqS6CrltaYOT1 D2bg== 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=ukv3LiOcSxPZ2sVbYQ7WGisgnDWsM9A9I2MlasXfKw+hvFX9vGez6vCbRSSibZl9SF CushiBvlnqggyQD2Atyg89dO9U4g7Px1CiWHlkRcJRh+J17xzgt6SzO4LvtmPVbp9puP TzXdZW/iB/DbGcIbN6w2Ba8gsam6AuiPRJQyDzqnvCTrIQ8vKfEOI6ObEb9fbZ1i8iMT CVt89jxuNJVeXXHGP+RB0NQvWWaBNt6Fff9wLQdk/4BPN1rfrQx82aoqnV9Osqyu1gjH 82+q/E2LmQADcXueRdEp5Zi7SyZ91tZxpWP3FY2xyaSjnXo78O+ZE7ZyyFumfxUABg4S CSRQ== X-Gm-Message-State: AOAM532iQOGwNxKLx/4aQjyBNsxKT+DS+4ubZUCTvRevP55ZT+0XB5gl iS5sc5pMlNgXuJ63t5GqrijmYg== X-Received: by 2002:adf:fb06:: with SMTP id c6mr20536782wrr.117.1604946158570; Mon, 09 Nov 2020 10:22:38 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 13/23] mtd: rawnand: brcmnand: Demote non-conformant kernel-doc headers Date: Mon, 9 Nov 2020 18:21:56 +0000 Message-Id: <20201109182206.3037326-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132242_201878_78C71217 X-CRM114-Status: GOOD ( 13.79 ) 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:431 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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/ 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 Mon Nov 9 18:21:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320963 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957488ilc; Mon, 9 Nov 2020 10:25:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6GilHf/I8edAst+eSyEUeeOocQO1r0S9PHVRJ2i0yTNsFp8fISQaB3s9E+1Hmzt/u6z1M X-Received: by 2002:a7b:c242:: with SMTP id b2mr472255wmj.162.1604946305585; Mon, 09 Nov 2020 10:25:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946305; cv=none; d=google.com; s=arc-20160816; b=ddYFi6LXsk7+Yve3nZF6+BBzdbyPk1fNLQx2ENupaIRC+3nvytJ1rGR4RfthBniHhO jrIJ5JWSjkgpcE9SWIoRlGYFvIEbZ5GhzQ6uj3JqD8aLkUiKqYafrgo6usuxloj/wmuu Z/5CYyJblomcZojKLcqCtGngfesDqRDhV1wcdR4M29LZyeLkNk2YO6E6lune0SunZON0 jx7EMOXINHSCCsm45+rWicyLlYWZBGu5Q9D+quapac0a+lm+Gde1eqsyyCktKvJXZlI7 sf6+zEHo3sr2eUEhxqfiYld8v+IoKLpmr7XSojMEOHsJat7xK3a+vtMCP6RZCieIr2ZF ulbQ== 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=gjwc/yKQ8Wnj11Bo6sO8Taqx5uaalt8yEukWbxliQFI3bk4rlYit/f42hRM8DPROpg j+FGJjp4hB4GDep/KHSCPkc0fRH0eluL5NhKOqBeF9mv6m/iD1GgAhgkML7+m5Or+ELn HpzKwQaGfoEq4l21wQeDlya7ZtLwEutHDcfC4gz2zef6Yn1LMZm1GkjX/9veRRAqsKBV MkAaavbtNm+WeJKLspTbS90Y5ir984OgLMkwM8pyS+xZW2eKyLS0eFgDnZlIxeua3z14 aHuPqX63RLe5g34sMjtA0QUpgpD4OGVQV3jqMvo/SXT8/llxsPcaB53hH/qDAhPIY98X T4rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=j1uLHhfP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z4+xXsux; 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 p23si221756wmc.188.2020.11.09.10.25.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:25:05 -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=j1uLHhfP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z4+xXsux; 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=j1uLHhfPjwzlod5SJ/sE4EBvH kbdZPZSuztz0Vk4hCT4q5RMJm6FIDgycQNhDP8VcJmKwMJpKpk/5TZv1pETSLGg42juB2+gG8quBo IRCE0nbAaJwTcp7qvLgVS4PvVjDd2aSbm0TWp+ObSxKSULV83lmNjQDlNvENRL4mbVc+yioxYKcVH UNcwgRdSEo3Xr1x4t+9kclDHdmSWIhLNyqVY9P0BiuN6Lrxw6M99urIx0wV9Jlkw8joEJHZacXj/o hwYP/k5IiZaJQjL7cAy5OMo7kfvNDZEox8qCjX5eC6o1hW44+KZcn0BWnhZFj6jF95wzXgqQi6RO7 lZAPZmRqQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqX-0001wA-OL; Mon, 09 Nov 2020 18:24:53 +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 1kcBoP-0000w1-Hv for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:49 +0000 Received: by mail-wm1-x342.google.com with SMTP id h62so380256wme.3 for ; Mon, 09 Nov 2020 10:22:41 -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=Z4+xXsux0cuxaF0X0CxSUo3a337YVpcYhtV1lfsrsLYeg+rP4mBKxEDnfCcV32WgQs nwvFDV0UVswNzv+7k9HnNM9G42WDu95sxlT3VuXoi73XDGB9l7A3Sd6ny3gvazveNwCa 9BF3Lm8IbmMKQLvBRIrW8GctWJWfoNTZslH//t/ip+jPJuTZwgO/3BP+dNUZz1zwdUO5 D/3nfNGkBbHbn4XHeEJB2/HS32axERrHMrMitwM8hiYsiwk/osob6aQ5y3A0A8JbCRMG D1Vg8ROq/Fn28PyM2WXP/DincnC/LRQ7WGSGhTWQbp0J9f52aTUCQGArOWmWLceSZENc /KDw== 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=aZn79JA3w62EVvML36IY3w0yWNt6oq+xDWasXX9l8oDzpNoo2wjBvbTl1VyAka4ycz I91PGao1RImVDG+IbxN3a7mS++OUn/1E0WbULY8FbRBkEXRy2Zp1/R2dwYq9X6ppKnwG 657F6c5PpWkw2ASkJ5b0XKeLo/m2sb0/DlKVm0/yeuUI5ILKeIZB5o9SUga7d6E82G7x opVvhFvkl8eJ0z3UjDcg/RR74974+Y0bjo6lQifQ+6xUGugxItBXZJwNI1eZsk/plmuL k1FBY7aYcD17d1JXRS/zp+JO4vVbKvmGYVzLVCm337lNkJmIEHOXJa11XCg9mfFT4euB 7aRw== X-Gm-Message-State: AOAM533NEJg1g0pEEDkw/V94mxuXFvkJDVvHjrWHTAWsqgDihRb8w72F av7PKMpW7WY8hoL4w2rVDWwolA== X-Received: by 2002:a7b:c772:: with SMTP id x18mr445117wmk.185.1604946160461; Mon, 09 Nov 2020 10:22:40 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:39 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 14/23] mtd: ubi: gluebi: Fix misnamed function parameter documentation Date: Mon, 9 Nov 2020 18:21:57 +0000 Message-Id: <20201109182206.3037326-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132241_635850_6D1B5992 X-CRM114-Status: GOOD ( 14.97 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320965 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957649ilc; Mon, 9 Nov 2020 10:25:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOa6/9W8l0mFDTqOCMWKa7lHfjFuEDa2aGCOg3MG2Jv3KfdC6lVDpC7fWD+CijyripH/oK X-Received: by 2002:adf:814f:: with SMTP id 73mr19321134wrm.174.1604946319252; Mon, 09 Nov 2020 10:25:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946319; cv=none; d=google.com; s=arc-20160816; b=DFkfZrQogAHL3n0vMft+QMZ8yi2I8EG9p3T1pIZsQEX+4GtdaT1dQKw0E55s9GRgww iTw277rpmiBkCJl/NS3GF3R91NsCf+4xuBUeOrahHScW7LrhwhmA8xVUSVgtJdDWrpUm f6Ung4jbS4Q2kGaLv+IwdViov7ePvfZ+jqPNtCtmOelGGal7OjSKgZbCh8CIFuaudrWh PfhfmSHxQvxEWqReH7qim4QYzQ2DOJX4zJxG6xJyTOIU6sTzfxEaOxxWCr7ORWv3Vfg8 TnuJXIR2veM7y4jem6cfnqPd6vlEIVgLxvzkJXS0hej8Lt3OPxystKF4b1bheA9fStpM R/bQ== 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=rlSySK8bQui/OsXJO/69QvQcLZPakkrs7W9hO2/pHyUg2AkTODXckpJBwbbsoUHIDl ZqjkKO5ixbEbFGnfGi40lQi52J8HiIesYQm/XQCl9heaOjpVkBIam2hpVnh0yKqN3cHB INJHi7u1a4uzIF5G5FGMBgZt5EN4LHt/fwjnqEqr7MW8OdUGj763XhEm1591/DXULYY0 El+qozFpdHETjIf/0HWZb4nyXwKSpiTnuRYDSK5fdeqpllewKh22DazuOkaeRPwYQtvq GJTMTUnUHVHbmi6/VwPtFH6XjeBUb/n1GoArCSZ1BYEDYoAELK0Xs/NUJi4tHFJuILOh 4CBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=izLl13s0; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eespszn+; 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 v17si10618484wrn.178.2020.11.09.10.25.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:25: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=izLl13s0; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eespszn+; 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=izLl13s0AhUr0BgnM1Pb26WYN xSf1cLu1tcRJl9MbZ4tJBf589eCxICWRYxQ8VFOn9zRb1AoJBenh6EBXfK9imu82u58qg8w2swirl X4r9C4iO5wYMqsN6uvQisovkygFkQ7d08W8cMgN/VZUfXcGixJv3ODGKNEe/mb2VEQqP6iRdc8umA 1iMVtQUU16FKGeQbYDMXrVs07vwRop65AlIlltcaHRRmzZNBL1F8ELa+i7k79a0MsP/Rg6tsMfQKk J2YkaJBIpVnKVLCftgklB7LS0NNy2wpmZCnVBInq684Ap21v0RtwyexS3SYj/g9z2KESFfXEpuGNa biN1CXBoA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqj-00022g-7w; Mon, 09 Nov 2020 18:25:05 +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 1kcBoR-0000wd-0v for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:53 +0000 Received: by mail-wr1-x444.google.com with SMTP id o15so1970968wru.6 for ; Mon, 09 Nov 2020 10:22:42 -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=eespszn+YzerPW89j0B6QI6zk+RxJ1PHs9P1SEM5hZerhh3ZzcZTRQ7GHYMYUf+Dga ++A4cusms1L/Pe1u5fJ/lrRe8YuhE0YY4giowbFwEgp7orkXRh/ShfipGTynSUZfJG6n 39I7QLU/e3j/1irF9M3iDMWnl/RkEj1RCEy3SK0goOba5IQrXJWY6/lDuy2s6qVpbGcD 4JTixvz6bWmsoKNFGRlTSQOfZPXUMjf7969pxHbsAuzxn1/emvmh3hcYmCMpR9/GwKmE /1L09ZZE7s99hP1qDvCXoyVha6cwY597da0n090H+kuJ4XNbD/lqED4riT3Nev2R1ZIB zvkQ== 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=ZU0GFFKCtC8a/yWlOhqah6ZCPOH5SSu6xqM//Dr+K0mHvLY2zSWSPJOExcFPWjrkgx 716HsdRQpRZoRr1lE/7aWNlP37iITyUXYBX0a73ZL2rSoSV0RdDNDJWV+lHARLZqIfeC GIwx7FINBYvn5yLhYuB4sf7r/f5/4l4jzOff/heltkMheigt4mgPTY/rcH43vuosolkU SSz9F5GX4nBlJyUDF/WjBzEZaHdmARkSwzQO2YPRegHFhnDLFrlI3ntCHMa/bUBGsbOM tqyG6gTsLrSRKhjneF4DcCWM9x1CqO4rPV3b25grDWgWztnivSLA8BgPPNLEAC9m1iQX F+dA== X-Gm-Message-State: AOAM531KXaUNFK/MSjtQOFTJtpBMMYPaExPPaJt8DWSN/7JAjebcN/dn lraB01PFBgqJAVfxDiK9cN/70A== X-Received: by 2002:adf:f9c4:: with SMTP id w4mr20167333wrr.64.1604946161879; Mon, 09 Nov 2020 10:22:41 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 15/23] mtd: rawnand: diskonchip: Marking unused variables as __always_unused Date: Mon, 9 Nov 2020 18:21:58 +0000 Message-Id: <20201109182206.3037326-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132243_117520_49ED3569 X-CRM114-Status: GOOD ( 20.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:21:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320966 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957854ilc; Mon, 9 Nov 2020 10:25:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVr/jeu7NvmWqmWa+1qN/0ckLddblO7aGfwVnNoFMaxMJJt9s/UbcM4Ywyua5rFijGj0oU X-Received: by 2002:a1c:750b:: with SMTP id o11mr534186wmc.32.1604946336850; Mon, 09 Nov 2020 10:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946336; cv=none; d=google.com; s=arc-20160816; b=H2sGIf0orzrmKOLcdS8grC/r++gOQx2Xy4k3ufSvNvN7puA+Brkp4TV04MI99kNSnP tDBdkvomupuCXbMgp2BDa+G3ZSq3GdbUb2TuS82X6xzurXXxfycf3F1N63ctyh6J+l1j 0GQ8Fpa22iXk6XvP3HDjVBogeqGhSOIGMCemugp9RUwnPcVosnaqkLUOensj/1DSOvX7 WH5dOZmFWwtDq001UFeud4OYVW/ZPf8hNuz252lxphU35ItICs4qDrGw+7/7HAXXocGw DI3A6NJRG27L9z4zqS4xtK5yVSaxb6qg7/86oER8oCXCaHpRc06cKFDQvOMv7UuLxOEf bWtA== 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=X1TdKWN4UgCIGVQ3ld+Etiq/HDC84qFvx0jiZsiRuXABZ3L+yaHK/t0lV89dESTC8z TQruWQxEhkWLRupD+3Olm3i2gR96y/fbPP+rX+K9o04qpMkdtdygOt14EHg2opL47WYC M66eSfUh9qbNfosq/wuNJl9zY2NWNEAZsJJXf335mkXv8eSagQ6EBBVNMiaJ8jMxM0wT scdLLiDePP17LIZo/puirH9gMFOk+UKbJAHVhZeoIWF9EcV+ZuWN3evYBjDw6Vl5CFOy bxggOCQYtRV3Fxtr4HCi1xuBLDSwTP3syqYSr9KzdgCqHNCYcKsH9RQRcq9fjXCunYqd 8Ong== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=lqWXLdDk; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tEK5zw7B; 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 4si242488wmg.3.2020.11.09.10.25.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:25:36 -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=lqWXLdDk; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tEK5zw7B; 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=lqWXLdDkl2AAyYf+uQNT6udo5 wLsLohv6B0DgxO9S+OH0SrlfHyEhX14f54st5NNbqmgV+8Tm3QOCoYaWT/s+mMtZxQJtPQ500tb65 e4qcwKl2grGXVPCKnNmKHo58yVR6ImsjFknquVusilna6cFqXsidltRtCQ/MfbYKcV1eidDFqQVyx l5bC60lp3QIPVMAa70vBzql+MWFXNxwDC885I1ZNByEHceH5KIonOiEcpKONBUQBzHXZmy4C7kgfw l/JRGrbIjAH7Z2ZqSNJ6gmeYlLMRjNEKuP0BPocHkJRlTMA3rJIqCoQiiBvjXLXtw15aID+/kndX1 J7yyGInyw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBr4-0002Qd-9K; Mon, 09 Nov 2020 18:25:26 +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 1kcBoS-0000xa-4s for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:53 +0000 Received: by mail-wr1-x443.google.com with SMTP id k2so6424830wrx.2 for ; Mon, 09 Nov 2020 10:22:43 -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=tEK5zw7BKPfGyu8anHIQT7g5BzYN9V+7Ibfk9LUdpgcdPW8HrXOmNWrFhkwoCayZpS U0HmR6dxuP5rQ98USaAzLkneRscuHkc4cndi1Qw/HRkiatfylGA3B1We/FJdPyJ5B0BH cGvf91kHyzC6Zf/DCQb5H2zA460LvFgbHsVtbcYGP0qbPhEYbEaxPyGG5UdDy3WBBr8J AGDJvM2PkMFLnUOb2kTq7HU5P0Up0heVthk6tDgt5plEQfH1ntCSBb/V6o5UKu6Cb98P EDJTo6L8Py8CXuU0heeSDKnr3FtSPQ749jMwf0F+8bSOZ8fFZMPaDxQbF3ZCm8TiCQCy ql+w== 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=HUqdF/6UHhX/fNy+L9mEx/YfSyCu4QS8skq/r7WyBFgDJ0HeikVLQ8jEeomftGdIbQ bv8lawmktI5ygYWOjADVtZiFIns5wctVTS/wvngi2/NLjZHo83nrk2C/S/O3VuhrthBO xaieqRRkc0GqReEDbNpHLckO3NNjQ0w9wxrZ/Pg5m36L8UN/pwfeyQQ4J3v8nIyDeGRr egSNP9xQdXTAIt0nzmPwo3FRDQ7kpZHxuH6XixeErGd8ShQHwMdXZHsWwfIcLDYJNk48 qLz4QfnukythTHvkwnLPVlZYhSlSwzwqNTu1twc1R6AwLZavtZr6zLRCCbXrHBWOd10+ nkCg== X-Gm-Message-State: AOAM531DioDa7tZU0gJT85Cz5gJdHxIBRikVYi8MyNP3gWj3opP+ClEk aUEV3GSvPDurIJWcw87Hhz0xeCbxGPFbGShE X-Received: by 2002:a5d:46c6:: with SMTP id g6mr1576130wrs.170.1604946163113; Mon, 09 Nov 2020 10:22:43 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 16/23] mtd: rawnand: cafe_nand: Remove superfluous param doc and add another Date: Mon, 9 Nov 2020 18:21:59 +0000 Message-Id: <20201109182206.3037326-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132244_371111_D6C5BD4B X-CRM114-Status: GOOD ( 17.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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:22:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320969 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1958698ilc; Mon, 9 Nov 2020 10:26:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzwVUIXM558s9cVCd6A0KG2iBw47iFqJ3hvPiZyunoFTy4kYNL0hgF3RIq/k+5n4ySqcE8 X-Received: by 2002:a05:6000:109:: with SMTP id o9mr18722915wrx.240.1604946401552; Mon, 09 Nov 2020 10:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946401; cv=none; d=google.com; s=arc-20160816; b=e5YWNNPCs5GtypHE9/PrA3CefcTrOXXaKghza1hHpRG3FelyIu6Sq4SiOgw9PyW5+r yYOMZL8LMXoyKYllPvDRH9z763bE6px8Q3UWLY/QC9Ji2A7PF4n1rFC3bDJDgatvtqiV EqCgazpZWZ/3xOrZOZibPHUBnNfiOzjDrQsltiKniTrhd+qRDk4G0nenCqs/ywk7L5K2 iw8j1WbAQ3NjFoIKKkVEztc2wgajsT9a1ThndwTBj3ZT4LRjbgMkpFOj2qmHF4Q8J77x xB57FPDLyJMJ2IzBN41tiRY4IWhX+bkCLvM8k3BhmPQvPmIG9khxVzVqA4+Q7IunjMsk Uhxg== 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=eW1EAJb6EI1KncmYUzSheWVvd3MDS+rjEZ3UELpk2VhvOemkUAkVr1Fwq2hUP70lJ9 rd3Oghy8+gbIOeI+mCYVspqIIfrZwqinjr0cvv2uVgODx0s9eJ/xqxXaNaDcP9AEN/Ms hkPurzO3DY/z4jiYXjMNWPPpKzVSrP1AckzO3S/1L9AGu4kf1v6AQWqP0I9EI+uUwTMm dtAEhRjpKVjbRC8upqnR9ESU7yvqRhaKs0n9k/tBkrMhofOW1+rNlWp+qjipIN/AQk9V 4gtqy4iYeJlDRCOvq9WmHSkr82cQVslz+o7QcQCR17+sT+M5xgfx6zVhPAlT770sFLDE LVfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=YX1mLksV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TaApzXVB; 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 v82si207809wma.207.2020.11.09.10.26.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:26: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=YX1mLksV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TaApzXVB; 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=YX1mLksVM/PIl2Dhf7NrEYvsl K1JQFL2HreUKafMTozNFf384npY3azwSWUVDUvSs+74EDhPW7nG4oZ5e6dR2dHVE85bTBrT0qoB0m dHbPeHwuT0U4dI/nqAl5ks0xCoWHQl5/ElncY/7RqcxGL3Xi0JOrKxjlixbUw77r88TgbU6ysYqJa Amvi9ZlljRQJkJPXGcNMtPHj8j5S3o7OvD0BY0zI19oiY2sD8foFXK8jHbTwygSmMrWsmJjZo5dVE 7etCaqxuNro6kKvn6LQ9GQY3ze7lebkbi1hApplUdpEWDl95z3bf9TTuUPsCbYdRJMsTCupSe/gS0 MpHWFnvUA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBrV-0002dM-4Z; Mon, 09 Nov 2020 18:25:53 +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 1kcBoV-0000zE-ID for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:58 +0000 Received: by mail-wm1-x344.google.com with SMTP id s13so373955wmh.4 for ; Mon, 09 Nov 2020 10:22:47 -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=TaApzXVB+tjWY3O4ygHBddamqEspK3W5/FCL3tALWaidy20HXcEGe/exoLio7ssBf5 DQP2B1k+qr2JChEFw/ixG2OK3MnjcZS6+23BWHVJ18cyf44vwHJJMs8AT6MkfHtOmNP7 QO43bdNHlqmp0/cBHz+D5TtlWJQtRbRXnq/1uYHXebIMkgqEroEoUukkKz90r90P25BF OdOBfI/PVdWsfHd4wcjwi1H85tRiGY1pQoMF8z8G2fG9lAOoWbppPZJj+tS1/ihgYdXr jgZBbqNIXljmWAios30Ay7Z8g5Zn/J7hviWe8OT97sawUBMywVISBq+umUkvHHwzCOVh A9Tw== 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=OvQ2A27uIDtI27h+cNj5IPn4kGQ4UHl0bwJLTb4X5AluhE07Jge9KV9sbjEp1zv4gY f9FvKwj2lA92RdQeHkLCJHG7wn4d1w2Rc+c/GkVVyP/4ZD4s4OFMGbYdP34VN189QvUp 5x+DJROTg4mu12Qy/T9sstsOtJs/OESQYF+OA7spu6c8CmqZp52DEPKkt2nvs+4L6RH5 tcbI9qC6pIxqD1FRLOCxQ+2xkrZL7cmsbT8Q3RbX4V5KjKRynjrV3IFETTitSkwHIcUQ K7mOjByZr7OJrc802YLLl+AVFz7JJKnLbNVnS79Zx9wir6bxRtsV3xAZMtU+gt6POgZn +3/A== X-Gm-Message-State: AOAM530DJz21bWvM21jPZA7ElmvasNk4c6gt9OdPsgHHzpp7+UMeTFP4 j3W5vUg9XdkkjXvasJmSuON8/Q== X-Received: by 2002:a1c:7dc8:: with SMTP id y191mr497070wmc.118.1604946166577; Mon, 09 Nov 2020 10:22:46 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 18/23] mtd: rawnand: omap_elm: Finish half populated function header, demote empty ones Date: Mon, 9 Nov 2020 18:22:01 +0000 Message-Id: <20201109182206.3037326-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132247_652131_460BBA1B X-CRM114-Status: GOOD ( 14.67 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:22:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320967 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1958393ilc; Mon, 9 Nov 2020 10:26:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSKR9IkXc5zC3TlrLVdCK7FDxgn/xNLtPJ0hiAkUFPRJ1ir7bNUkkf+Yh1G5mFrkBChimu X-Received: by 2002:a5d:62c3:: with SMTP id o3mr7294061wrv.300.1604946381070; Mon, 09 Nov 2020 10:26:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946381; cv=none; d=google.com; s=arc-20160816; b=Rr8Fkhix1Vy+pLChdScTJpMDnfjY+ANfljVQ9dVS3iZCM0C3L9tjQPyAurXwq6qUky wVq0e5CODlP/P7ZlXMKQnetO02iALRNQxFRaAlSjGHB5ND5WPJ5Q7f814mbTK5GLn0oh rIt9AaObDufIgG7SsL4+GxzTRwrrA6WAyN2aV+rX4Gc6lsMLeLbsV7OipWB5gz487Umd 0NnH6PzeTuXhuPGjMfeUVyhRH/vdqOR01AVnRS3Ry9+QgZiGJNgbc1XIkcJuR2lnIB2v GK75GroaDCA0eJJxNvjWUnKkTIkUA3LV853fQyu4ULZ395+qFYZf+8Y6YVySl0a10On2 GwNw== 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=eajqs9g/RrVzdpsLjdglL0NbBele3msjKAJh7oIkNk0r1otT9MRv68OToaV69qs9sX WajWa/tFQiGQkqRLrjl5BRmLhvCW3Kd3Bg7l6R7X9nQ8Bchjc5JPO438fS+KM8yh1BOm AXoQuSSMK5XmHRFlLFGrgJZEMSx9c8g1WUnkMaW/2lTlvfUKyo0a4v3yUBnWdkZRMJe2 9+BJ5Qaq9FOxdWwchwEJ7fth2AmOJxOuSi+5mWtBddR4YHdCle953ArzYIRg8gs+cc/y HiWcP347OqvecEiEja+s08nTre3D/Dg8XRHI3RdDmOEOulpg3mAvb7kah0EzQvtYcTEf L+aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=jReZYR43; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fowc4nWI; 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 y83si253523wmc.16.2020.11.09.10.26.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:26:21 -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=jReZYR43; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fowc4nWI; 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=jReZYR43j2VIx2yIC+0hw5+Md po9nvhpu667XUMJyOlc1f5Dwto1v01n03SIvmVQeeM923ujl2/NewnVSSfIR65kCbrbXWvzaMgKzX rfAbS3KOPRvstTM3pJe7pKvOa0jYg1bIr3nObOtrMkv6iRnSXtuPOmNEBGASiU0627txAfCwWdmmS BqSFSzGST0pul9nvdFbzxD0F3XnorLgpXbmOeHJYztrUw862QDOT7kRnOKA9chN4aRR1dfPLPiwtI c15/E1ZGjmthFUi0jB1DD6/K/DEpHQsuocmFdSaKcZ/pFqJ6X9MmuWtwBGbsp8kqiR/55g5RnNhbz 70iS//zlg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBri-0002kJ-2B; Mon, 09 Nov 2020 18:26:06 +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 1kcBoW-00014B-S8 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:01 +0000 Received: by mail-wr1-x441.google.com with SMTP id r17so5895445wrw.1 for ; Mon, 09 Nov 2020 10:22:48 -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=Fowc4nWIl5UjfkRn1KnlXrVSIhCsQvwnyUJUB8dRFS033HoYYZsVbJCQp2FL/nW24N 5ftinzvGbPsxHO6fOkiDCp5ivHx2mvHosErMhnQHv/Wuq2/GYBgs80xokPb+20OlfEzr +FHNhNcL3RNUiKUw4Hz5q9iSekIBsMvDX6H6U8K2WZpIdrKoIKYBO2lzPa6CNIQ2mO/S ZNO+Fi6NhxmPWJqrNrlMJnhL5uiADzl56VGSrPt6EembETnexf2swYXdO6DgSyboAa4a OmKwsq8Jq/7P4qczzbb/g7ogknbNqLtoTo/wq1gvzxyFgAWtm6skrKgqnqk0jNMXFjit LHvw== 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=iWbrWspVbwYA9zESjSlmYTeib41MPHgBF0c6HRJhbSynesoK2kEGJ66fLFMLMOwzfC Vi8soE/4Lqy4NXau+sX88I8pcKxFR6dWkhxzv0+rSdsGeBUYfovdiaWEIMStNniNS6Xk HoJV/OwBlkORJwy56EAiMYlWNKnSk9mjPFFuIjyKHADkt9ZGLoevZ/Q0/g2I8gEMcASf BAHI6GUeanh+Q6/7Qb7Tk6upJLWPJRpDADtDIuOmE9+YQAR51aAiEaIHrkIUbEq+G7oi pfvv0subaOdLjt0+toKVz+k6jsd7gwt0UfYAeYWRwAwr+xjC/7dwscuwrtmfjLGvpETm yJDw== X-Gm-Message-State: AOAM533VNJzFLc22dQ0BJ7/plqwPymRgxFito2GkCxN6wq1CpItNJVIz 9TJnZFHrxuG2q4Foyyq1MGCl1A== X-Received: by 2002:adf:eb4c:: with SMTP id u12mr20471487wrn.73.1604946167786; Mon, 09 Nov 2020 10:22:47 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 19/23] mtd: rawnand: omap2: Fix a bunch of kernel-doc misdemeanours Date: Mon, 9 Nov 2020 18:22:02 +0000 Message-Id: <20201109182206.3037326-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132249_070227_D04AB407 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: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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:22:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320970 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1958849ilc; Mon, 9 Nov 2020 10:26:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8nIPNxLZX8En6Gi7A1InVzNYefSYj5gG+5v579ACEBsEsdlyPnZ1YC6TYUQMUruReGQXb X-Received: by 2002:a1c:b487:: with SMTP id d129mr527808wmf.38.1604946414979; Mon, 09 Nov 2020 10:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946414; cv=none; d=google.com; s=arc-20160816; b=e/LXRA4jL0VWleGrIJjFo1+vfeA4dbn42HbN2t7lKTGsa/aPuj1+oCeVV8WUPQzPR8 ZlxwjJwkS2rNGN3r/6LOs6R1qzCLMPawUOxJPaygsZr2f1y1+Xyxh3/2HNu8AQ9ITGRM SvnoZyj9PTFIGBSkUGptxQbGSKYRfQX/keIbQ6nyvWBM4/cWztLSOPKWclLQYkyYy5Tn oHQdOgkJmwI/KMmvj/vMSODV6notJlOBW0Rr6EYSk2Vs5yMVG91vNvMKz3DpPsRTLHeV 2JywAS31ycp26MnSjwrglpOyKmBKiAVCmhiHhDtz90MO2eOB1d8rUo/ROWZyK19OJOZt wTvQ== 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=J1i4sCC44UJZkAVbuy+OKA4VvSScZxtLVm+ouJyVPGf1M3ODDovYJOpyrCbGNvWIzY 7B149/4akT69CeR4ew8ieUHKQ8DflrG3o1/vOjojfTiKtYnT65fgkxDL+lMdXuz2baq7 JGA6HQG+//wyxkOq4kQLwWqq3VHE+3JAymV5tHjmMuaMJ1+bP+UFCW4ZNheZcyhGe6sS dhp4Afg51flIjMOUTrm7F6MDQoRWOkiFE9kb6uLSpTuJJnwJB5xpnC37NQAjn1lyNTHk YlByZHxfho9cnVO9C+86gDPYaVOzT9euh0wPEXRAwYdZKhQ1kISYplv+VsnWuh3LJnpJ SaUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=kKBNPN2w; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Om0Q1XGn; 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 d72si232823wmd.177.2020.11.09.10.26.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:26:54 -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=kKBNPN2w; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Om0Q1XGn; 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=kKBNPN2weQr4FPhKPs9QP/w8L PGS9vsHh76e2v8fuiskn+CRFTksWXPerGuV1HIT+PQGXxleD8tS5pCPoMKJV6XcdORrE3XUsnMwG5 FNn+3Fj0ZIvsZGAM7lclKmYAkNHeLy82c5HBa5tl8airGfj8oh6zndK7dErdN4StQjCpEsbj3Jopp kNLI1d44X3VoyWtS7A9P5Do9nE3j2OeWLBOkKAGpAhPMyS5KLGIIyPPlvNLHL3i+sTi0hmzPShu81 YKptRnFEaSvr32mc9pwU+VYDxv1hBI7zHU78x/MfMCmBhkK+zNxscl1ufk3dKeWVeb3BUL+PLLlkk g/55hg6CQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBsE-00030Z-Tv; Mon, 09 Nov 2020 18:26:38 +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 1kcBoY-000153-JA for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:00 +0000 Received: by mail-wr1-x444.google.com with SMTP id p8so9004660wrx.5 for ; Mon, 09 Nov 2020 10:22:50 -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=Om0Q1XGn7g9LWqjDEE9rirPV/Bis1yJ4FPfeQFg7UtCOpxgiMsN42PJccIEVLNKGGq /OiOIi8mf8V0d6u6wacVBmr6rk5g2qrht3gNJoD3MKVqFB79F9/fKsbJpYSxTdNFWJGQ kUDobLHsoXc4F6Gr0MpobjEm+k7omT0DKA6FtHyCdi9pLItiaxItxxfGPmgVdfT4ULp0 Tl8lfSWJgNOuzIRHdHfOhGqgCv2INPWqC5lifk+NOd2frkusO07YzAPscjRQRJlFkgDf bh3UgedxvyGASFljyBptJpwga1D+ARVKK7e7CwmNRO7pzKvCWPziYhG6vY06LABzAlz9 n7YQ== 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=CaBtfPpgiRLix9NAwdD09EVtb1VwWTYKCwpW2AKEO5bjt83WWH6yIwMpet3G0XiDcO UpGcdPwF8JDq5xyjsyiI2RNhZT7fxa3NDMl7aiDgE5PCUD4CRiFW5ZuP6hdcDWC7uB0x 3O4R5OoEN+Cw7kp34C7132+A7LJkgb4UiOjr+5pKpthsZVvFawp0DwZWKRWUQxt3MnFy gMZCu1O7hqMkQ566USGKb31/yZ2sOd6mzOgCHEqFhbVLkzrkVpOq8hUWRurl6IdZuavT ikOY3He0j7bH3RlXZfQR/KmGXmXPV59nezxxoFA6/8iMlX+GqKgWuOJMYozoIJXn1ixA p29w== X-Gm-Message-State: AOAM533uCzKMf+H5D7Gcb/RhLko3DAlkyF2pTO/Glbga+58MSKoj+Is0 gAE4Nu4vhyRnq7UXmkl8Rdg4wQ== X-Received: by 2002:adf:ce07:: with SMTP id p7mr5624510wrn.39.1604946169621; Mon, 09 Nov 2020 10:22:49 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 20/23] mtd: rawnand: sunxi: Document 'sunxi_nfc's 'caps' member Date: Mon, 9 Nov 2020 18:22:03 +0000 Message-Id: <20201109182206.3037326-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132250_759638_56D83B79 X-CRM114-Status: GOOD ( 14.44 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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/ 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 Mon Nov 9 18:22:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320971 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1959176ilc; Mon, 9 Nov 2020 10:27:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7S0NLGw8ubdM/GcPKe8gQjQ6KlxhOYytVOZCbqCmS7mfJ6bG1VmPV+JTNTQ1nBXxlKr7S X-Received: by 2002:a05:600c:2252:: with SMTP id a18mr447691wmm.139.1604946443428; Mon, 09 Nov 2020 10:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946443; cv=none; d=google.com; s=arc-20160816; b=N7MNlcbNQzfK4CB28Fdp7NDQF92SQujnhBMdxC0X3dUIys11ZPHlch8x0BSoqMyfRb Yumh05LKDDZyF3MaDNQA2xdmbAalmtqDh2RSRVbIgUTOuKncdzBPKFKIT668my8Go1T8 bYNB8HYPIWbRyc0/X4Jr49ikOKNosFpmjeh4mH0VpeY7wzwlpgArTniG7N6NeBv3Wxrs CqiYI1EVPxpZZpruuC0p4M90SWg0+WzCjG++rfhRm4N8E9pk9EAjPF/7gnox2BJGbqJ5 DxgWt2NYJrwzVr0dO6b4pwwfm3y/q0Q/TYBjsOqQ2UU0TwlpaRx6qlioPi61HNuxZ1bJ b4Mw== 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=G/iI1PgPT/KwyA3yR1kHxDqSaMKaZ6r8rQF64q2gRC8/HS0H8vATy/bQcbCFBgj+eu SZ9AbHzgWF8YRK0GVz57PuXwRbAIfXDjB6ybxLaEci7pDr0FaxzASQCkI9940ZgaICbS IOHsjF7cgMCSqrwJVXJ+57IGt7c4o0EEoz0YQNkUAtwvu98jBzNDh5WP7mLgF27Maoh+ 6f6nHeWzBpSxJVaGacl2aCnl/v7NlgoDZhZJHM1ePeFFwyW3Kfzn2lYbmPPG/W5d9oBw 6EvwARcCdqjr+UsP+n7vNHrimmdIvhVMQoXoHEjlAT3Iu0kuJkQkYf9oE26w2AXjludA knrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=SogMxk39; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="JG0FKV/X"; 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 e6si2485611wrx.169.2020.11.09.10.27.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:27:23 -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=SogMxk39; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="JG0FKV/X"; 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=SogMxk39ZlS8FeynHM5RxfRZK bJm8ZKSy6TVj2qt4fuYKusk4Uo2/isocHv5ouxtaoBHm2gI0b7KKU4bodRbFIO4JSGVuJoz23WbYn vlpaQ5TNDvzuhtzqPWKAt0vt+pRmE7pOW+DDdXcWMbVJPdK0mJppbn3gYHbdkNUjZyhP1mzyMW5Zm RBjE6XU9vpI6gzfal8KpmwEyYZA5beNXKLdjFLUTMTHDvMJ2kjZWti1EYKzpyG4PHtHOcbv1FVUgq zKrrIapzXC9Coh1dQEZ5g00jrTChAbCW/m4VyQP3/7xKfEkynZHZ7Fn/EuqFgVwFVGRM5EzpTHCQt yg37jjbMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBs3-0002t9-Hf; Mon, 09 Nov 2020 18:26:27 +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 1kcBoa-00015n-KG for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:01 +0000 Received: by mail-wm1-x343.google.com with SMTP id v5so405316wmh.1 for ; Mon, 09 Nov 2020 10:22:52 -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=JG0FKV/X2yDwIdPtEatbJ1X6LQYXklus6P8onB6/u0tn7V68yNLntZy1sSn4Wzs2k1 4/An9IgzQ3F0k5B0fP2oVaO+arqq4X3MOnfd+4DmKaMczl3kWck7y6cNF0eOWi9gShVs hNt5ALd0WDJ0Sop62dYKiCz928hWnMqJ3ax5z+6v1IGCNFpNhv4Dqo6n+2jz7cXBDRDV 0aldMnpz8A4X527dr3varaz5iZ0nWv+z0942SIUPEh2J7cISPwYb7bOiiBA/AaVr2A0z IL+U5UKCTR+ySA6BmYJgkUdJ4I2BFaK8X6vX9VTY5lPVWkZdHFyXJecQHkQNjVyf8ppP +OGw== 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=PEpAUmyj5KH9zfUvyjpIW58tNpNL7/Nwg9abx9Fh2rD4B78Qh8F5wmH70ARj4MOEFK rYcncwQSN6ifdeD1blC10nrPFJFrooYlOiVtLTrHQOkw9BxqCOdh3MszIHMh1S12IGoq WGgsOTeku2SNo/gLRG6MczYhrtwPR5d1sMt5CD8Fc5JmFEUCTN/hbM0QbXy0BZZtZ7MR Rz5BwsqWHMXR6GmE73WLECBJfMDpbt6UCJ2iwMkzoycFwDsXBmHlM2duPVSKKW+xadlL O4Ja2hlM1MF6fDLqDVIQZ+kM1iyBuAHecCJJ2s4gz5AOdimBYfGkevkJuQ9yfsQ36JWv it1Q== X-Gm-Message-State: AOAM530y5eh6ArCsq2lKdYRxDFiKeY4F7DW5GKhCM1obI4nfEN8WnlM4 GUH/NgLDWKQI0B9AmwUqAdCspQ== X-Received: by 2002:a1c:67d5:: with SMTP id b204mr495254wmc.92.1604946171618; Mon, 09 Nov 2020 10:22:51 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:51 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 21/23] mtd: rawnand: arasan: Document 'anfc_op's 'buf' member Date: Mon, 9 Nov 2020 18:22:04 +0000 Message-Id: <20201109182206.3037326-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132252_733761_A049103A X-CRM114-Status: GOOD ( 13.52 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:22:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320973 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1959835ilc; Mon, 9 Nov 2020 10:28:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzftiNt1eWu479eaXMdowPOtpdZedzdPbHSaIB90p5iowhvg4A+b03K3K9eUoDk+yYYPWrp X-Received: by 2002:a1c:4888:: with SMTP id v130mr497629wma.84.1604946500155; Mon, 09 Nov 2020 10:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946500; cv=none; d=google.com; s=arc-20160816; b=iKVqIfBSadISFoQtR7oT3VsxK4FpgWqsFormy2bVJRYFLT019oUidLWCRkM4CY+yZm 1W+9l8BgKuATYIfWyEfzX0W51Tu9m7szdLJGKxyEgdHhPmcP5QcomEOa1H823J/WYciq vC6GFHJtiBzCIPuMtbyJBUbOvyA7gWCR1PN3WqsXe1AL5Y9jPoYdOHYk+MWZ5j8kjc7r lv9df60IovHUhaTknhdFEjDyEPCIaa4Qq8jWKXhMJdVuICZcXsrDQYsBmee6H3oRniZS cZIldSWacFWgaBGR+7RrEt2kxWgZFUIUNihYwUkm26P1slDtukxiOmTuWG7ZIjr8XKzM pR9g== 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=SUaUT/ygW790fNoSUmhejBFfmVevN8w8+HpPxr1NS7tALlwTASX6r5FeK0RbgHZQCS 1XFgk2Q2dpinujyVbg5YTkOuWCpdRBM50yI+EnI5UCzFGx7q903sO1KBVqYJOFnD1Tqu 70/3T5FUh4XAPFZoqBo12RoJIpo4PnqZavXvolQAKaB9WACt0zo/qrXh/4KNkK0eDZhO z2EydIBlez1R1KpPGcGssDm4bK3vtRW7lpCE56mG4VcxgY0Yjxcy1bdDq5I/TWSjZfnE SlUgXWCKCkhWdA3um8MYeuEo05f12rhG8z+DOx9dySx5raUujfVdHaWcLeE5W4M+yTII 9M2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=iAMUwsra; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IDxwDos0; 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 d5si10648630wrs.57.2020.11.09.10.28.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:28:20 -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=iAMUwsra; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IDxwDos0; 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=iAMUwsraOYpl2vFw4CZTRk7Tk Fnip/1UBPujQ8+MrcSbbqOkCarT67kxmQjOM91A3k4vqMmhJ0+5bIQU0G+/5ruEYnzT1ZQ5eV+rfQ mt0JE/K+DSS59GSvSBTD47idIyabdJw4q8qsl0XMzC63DjmCF3Hk46b737crovqMlln9oERFVc7AQ Kh8fHVNF5PF/3+YbdJ+T90h4L7FO5Jxv0zQhdJ4bl8f/rYx3H6AQOncczBVi5XIG1hnqPOsXpC6eX UiCc2PH/meW+2plHaH01b8KIZwD4aG+JRBE9DAayMq8CDyg2XzMGNnu6qYvPUwFRUXwE4nQejKz8p Wy4CIC42w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBsT-00037y-EF; Mon, 09 Nov 2020 18:26:53 +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 1kcBoc-00016T-1E for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:03 +0000 Received: by mail-wr1-x442.google.com with SMTP id l1so5401166wrb.9 for ; Mon, 09 Nov 2020 10:22:53 -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=IDxwDos0ZqyXaUBmX8kcKVFpfxXiUnyoyn8FO4jGl5UHzO5yZ4HZfVuTkc/T9PDm9G qrv/jg/JfJyTaspuL9X9Gr5MEwUrLHznOHHsMb+Zyktq+JH1sxpOozZVwXfNXKVC/ixj ve357FCE6UgYCsWZHawY1Tdr7onDrq8uMxtEzMeugxb5QND4NyqY25qDmQmjBOtBr3wt 2A2CpCENAnHDNbPYtz3//dG0iBseKMSs+74zBO+MDI221fFg0txgIZBiDpcJdi8SpgA1 duuT8VdM96odaPJ6LBorG83zVDmP1WqCKZkoc1tPSgS7Me31R7wbOKF6/4QiQCuUiFqm akHg== 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=kZZLTyhCoXPrQPJGIqfzMNQyGqXDdp1vJsDcU0910aSqtap6WtWpJ3DPT94XKRslws wlE5vqiOc9lzMhdVWsouOjPsJxmYD+tnKB9V6sNGSCW7PRhObz/gqkYpsTmx7AgROjw4 u8hlA5/yAyjDv0m3vM01ED73nsOp+NuLKYnjLAAVMbCzxb2rjViOxJ+lnrNFkwcYQRb0 hnGXpuqhOBY72GRrGvY32d8FYVUaARxAg+GDdaBGshJPCwuFuk09B1WsW25M0cPy3DGP ocrJ0IPMv4FPpnVKme71W8MOyhcrTx1M1OgBMZRn0Ah8JR2llbTVXCQLkOsur8HyloqG 0mKA== X-Gm-Message-State: AOAM5328Z943FC/cmE8FIaxkXfJOkqR77ir5CF6aaV3zARYdcF4E/DnO +DX55dzOpL3lrs0BfF58m9BmlcxWpYqpb/zy X-Received: by 2002:a5d:60c4:: with SMTP id x4mr20715233wrt.175.1604946172941; Mon, 09 Nov 2020 10:22:52 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 22/23] mtd: onenand: Fix some kernel-doc misdemeanours Date: Mon, 9 Nov 2020 18:22:05 +0000 Message-Id: <20201109182206.3037326-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132254_180922_FB355687 X-CRM114-Status: GOOD ( 19.24 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Mon Nov 9 18:22:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320972 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1959299ilc; Mon, 9 Nov 2020 10:27:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3kj3ory4s1OwtXKviqjEWfq6qLdHoh0zKWOXwrl6QU41EL2SmzWNwWlc06baITMoOPmLV X-Received: by 2002:a5d:6cc5:: with SMTP id c5mr19126770wrc.301.1604946453603; Mon, 09 Nov 2020 10:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946453; cv=none; d=google.com; s=arc-20160816; b=sZxsWOOnmO3I2ezkZlc6sma8qMCoBpm3ykG4UThnt/z06VfCt6/ynI43wKuzKz7G/g gVTojpOvY9OWvkmL7xM/838xwxZ2/GTkE8AqGHhdeRS16ZGe9FCTQCxoMUKHD5N2C0+X eERFtUDq3NV97cjclbDkPuxbnbvH3PlkGFElEqF0RFr9NNJ/GEpw++AX+s3An9OAzQ8U wMnncjA5wmJ6OEjlr81RWxfIQ5IGzJGO4WfSqgAf63or/erqBxyetGjCjg4utElzs5AJ 1D4ArWIymDbv7Mkr4rlsvn5Kdneo3snoHoUFeJpMr8Otv5qbsq/bQ7H8QiyYoEkp3UVj Hd0A== 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=oUTVuD8S6AfvkWg7t3ZKw+gVpo/QNeQZLYMsBEzJpwJI1S0rVv8wlw6bygi/5uozoS sUev6x6zQIQnibYo6vJXXYRCiirqwAgf2/X5PyHhcMWu6Q787cs7yKCuhTmN1ez8CzA1 Epd9dlnmmOVtsS9pTcXIoLOAQs/7PC5qZyMRxyUWkMVdcC5kA6388Bqq0cy899rmug80 Yt7GJmdyAu7rjOYSMYlyIycsdMGinOW8QPIjlCpphwuDT/uoSex4SBxvBQI0sNj2+7yq ii+zPyY+mGTPuTc3KUMukrBfDRHSIkOxeLkv38cuVOhklEqvyTEGMT6ugu8Jsyj39Dkd nIdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=ZApkfjZn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CJgWPOdf; 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 k6si6871320wrq.531.2020.11.09.10.27.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:27: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=ZApkfjZn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CJgWPOdf; 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=ZApkfjZnHm+8vDMycAuHdIDiy /KCqVxWeUbOGnHnrZoDLAGjt6V5+wfrvJ00OioSWSsx3eVe7sq01yHel8nB91Jhpsx6RjlXk7u68s NuiwWcU8Q+MfSj6Pr/psiemXCPQzoAvYxsjfkcWj/TzyaHAomUCelus3DxbG5vruUzVF0bHtXZxrm gSg/vSsycdMhoR5pahdXzxKf6Oyt7f1DI/8srsDZb5YzPnMwWk3q+wzKc4yIgp16+YZ1ABb8AolxG RtgVx3RINTG+EO1LAL2A2pB0FdUtuiKIXd0eTyCBMVMXex3LMxFPJEhpVJ3hQG/Y1Q/8r4RiGzZXX 8RNBziFow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBsq-0003HM-8z; Mon, 09 Nov 2020 18:27:16 +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 1kcBoe-00017e-Qo for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:04 +0000 Received: by mail-wr1-x444.google.com with SMTP id j7so2559019wrp.3 for ; Mon, 09 Nov 2020 10:22:56 -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=CJgWPOdfZfDFX6jowwB55bCXH/oVH+oRW/NOmFaMU7wqCfffw9BI6AX0cZLLRnoQ83 f1Q3pJnStHDKmia5wsQ1jG/5yLT5iyXJHSbfVxF2652p73ZossGiaeADkwfMVV3VPzKl y3WUZ3gkpVEtts++2sjN4KN/Ate1Zx1Llx1URhWTAmp8q9vb5It/GiVpx1x00v8thRr+ Jg0NrctCAawSlL0MlhXVbqG4J9tngKUVGjMD35l1hjxw7aj066anrVGw76eLOV6PPGpJ +3NJvWcQwSa1y2r2ZhJVX092wzbs8xv/E5ZSMs+rZSbQxaMrOoi1cDjRQZHpsP5bhVsw Wctw== 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=RGeMhbhnbOthyREWEcvatWWBXs8i5cf8/VpYu4Q09kD2bgOJKhg2bfqkDB5tV9dKkC xVw+vvw/klBUHxqR8Jzk8BswE4a+FDQ0YNW/apKAh3Y2xFz2eMw9zgZJJCjWUf58NUMJ Udzx7kHUGEcRldiSw1bw9E21jEnypztk8U4Wt+MpcykhV3fvftpUrErq6EMoA7t9Rcv1 XlqeCpxnEERSx1aZPhkBEXwHxiJzkiwQTW0SR+98jVUUp82R1SSx77bnPArvgGQ7DuK+ Hu2czK+iE3noqImOfnfZlrQDUq35NslXsc3742ovFdRX2WRS+LDiSGOLwYwbtGA6cXAL pVsQ== X-Gm-Message-State: AOAM531cABj2+VLGn55Zr9o2FKiU8c1R4kpF7zGADGDauTMxUNfFTYLr 3A+onWBxu8qFUY3vPigV1qsCGA== X-Received: by 2002:adf:f2d1:: with SMTP id d17mr2948571wrp.339.1604946175640; Mon, 09 Nov 2020 10:22:55 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Mon, 9 Nov 2020 18:22:06 +0000 Message-Id: <20201109182206.3037326-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132257_057040_AFF7B591 X-CRM114-Status: GOOD ( 16.61 ) 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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,