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.