Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1586074pxb; Fri, 6 Nov 2020 13:42:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1w7R3EQndx8fSe/vKr1PBAF6T+DmTc1NlGbqQ2KOc5DF2C7Ja6zHw2klCCuO8WK5y3cT5 X-Received: by 2002:aa7:c9c3:: with SMTP id i3mr4293874edt.236.1604698948968; Fri, 06 Nov 2020 13:42:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698948; cv=none; d=google.com; s=arc-20160816; b=x+PcBgyMCLKFzpX2bk79WN+xK0Yp3GjkW/lWuPrvFF/+NqP3ux0X9bgabg98bViiZA ca8ZAuLGTbqW4jY0e5fovCw2rPhRb42tf/v8JaNFYVp3lE0gy1tGEhjW4LxCNIpdm/vv lR7p2eADNZ2TtfOrsFVNOTnE3YHJnP6fkWQdFrbX6OrNwsi6oR3/1j4uur+T5vEODFn1 dhHxe4WP/0A7g08C26YoqwCRWkwr8DJCvfaFAFixOn/diDUyQB0/ksAWkq6mQix+5hC9 KS6BIsCF4pJq/AbWgmjxQS/ri9Q9zU6SfrYOSCKmrxdjNcNb9JZY3Ndw9Le/sjxIeo67 DjWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jc+oP6vugsB/NFox5ee2E+FED0ZhjBIzS6GFVD2ExkM=; b=pDYOR+APr0Bw5GfN+0/eX6CSMkbM5XWP4Se/cqLfjXBMVqGz8asGn4+Tnv1jYNOdU3 JTZxmFHte74mNY1VPtUhcmBMfsKmp1ENzSkhBAb3vNRyO+LdXOkMxo+LHbduIHaA6fZl rjgKSipSF+LGAbXakkzYOHPiD5aFbQn75X6h28PqHLpT5HTm4Oq4B9ydXSgBs+Pft4XM xmkpwBEQofApL6v8Cu4XrIcB3pWjBWEA3H/bDdqwbVbs+JDYi+HzUAqiDevskwyhXs9Q S7OETVgX2jaqLQmLxoI+zaiKJE1+pkHb1SCJLpo7QOHyzatxRUsRWhJW87GpkaKWPhrE QOOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4KGRdPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm7si1679450ejc.350.2020.11.06.13.42.06; Fri, 06 Nov 2020 13:42:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4KGRdPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728612AbgKFViC (ORCPT + 99 others); Fri, 6 Nov 2020 16:38:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728606AbgKFVhY (ORCPT ); Fri, 6 Nov 2020 16:37:24 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE9FC0613CF for ; Fri, 6 Nov 2020 13:37:24 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id v5so2819274wmh.1 for ; Fri, 06 Nov 2020 13:37:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jc+oP6vugsB/NFox5ee2E+FED0ZhjBIzS6GFVD2ExkM=; b=j4KGRdPEohicZL6AoYC4Hdrh+N2e2xqMn+HVwrhX4+LirOMr4k8k4c3gBDb4TBe/Ej CCNbwys4IwnHNxIlOHzM44fECTrBZyrnvu6wGNldLEOX5C0IV51hvmGa3DZ64QTdSztT JMzNSCxsfs0jj9G5p/P9vly6Pl7fBkTElXddglJPv+rP98dwOOJ+IKCbT6CLyPFC5vEd +DidaTOsKuw1WVQmAHdmZUkK9FguedLqNF8z6FX/NFi4lSNfjfxlyuEJXGUWmR59gTh7 krSCjn5tLcgzi7iQT8YV/v3z5ktHaKNGMpbPN0tWJSjZZwC9CHdE650upzC28RW1L9jJ y1WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jc+oP6vugsB/NFox5ee2E+FED0ZhjBIzS6GFVD2ExkM=; b=EiQCfG/BSimR/yQdY6ne+mh2VQjcdMUHD3RXUuLQUMLAfRrapiZnKi929IcK2+8HSg y5rC9/tA1ctQ4rL2pockOI0lJpn1N90i1NB2RHUal7IVvBShXJttubl1dl84OQTAs72m WmnxemxNLkavmH/M72xhybjwBI0Fizx+EvG/U2T1gFVSXYgipiBY2r6uoI41qPEBVhqJ Kt/9sSh12K9dBoY4q5LZjPI0tOY3mkhO8V71j6K4TmF153q6x5Gwp2LBdJZuoImXNDFq 5qQvkwHG1P/M2b+sp+ZjY7PddxPNu2OO+aqYiftQpd8NhUnuaHzccXZLCeIfyv2THigW 9kpA== X-Gm-Message-State: AOAM532+tEXLmq4v+a+3TLKIWkSFCJvHvGmvrCQKQWCVFdbvZ7h6cVTH BHiPIz0DmxH+zq38E1+adc33xA== X-Received: by 2002:a7b:cf31:: with SMTP id m17mr1571554wmg.62.1604698642984; Fri, 06 Nov 2020 13:37:22 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Subject: [PATCH v2 18/23] mtd: nand: raw: omap_elm: Finish half populated function header, demote empty ones Date: Fri, 6 Nov 2020 21:36:50 +0000 Message-Id: <20201106213655.1838861-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) 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 */ -- 2.25.1