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 */