Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1584582pxb; Fri, 6 Nov 2020 13:39:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYE7XcrPW/DwHZkrh6Ui9lCtTZOJnfKcrMa/uVsHwUOcD86bkwQXGRVKe+aXtQsQ4qxGkB X-Received: by 2002:a17:906:cd0f:: with SMTP id oz15mr4123601ejb.200.1604698779369; Fri, 06 Nov 2020 13:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698779; cv=none; d=google.com; s=arc-20160816; b=wtgdq7rna1ByX6GAG9qe8AS5auptp5NZL4wrDb3aFv0ia24S0pz1dJJ5p+gs1Xf3Kx 8Q4tJ/ny5QsJTS5qadCs8zFH2Dv1rbOM0YP5j9ZEkaoaXB0jE1wnVuJIVFUPZvXkOH8p JpQqVZtb7yphx6NQ2u773wikn/EX6PFd17VIZNqacO4vKNEdwsQO6FIwTZQ7oKbFkYGZ GIfEZgoQVqDqV6RujIj652tE28y1GbGZ6Vd+3DNI2qpPxAYGbOR/iF1zm/yD3tSRJ88W xEqRBJCUR4M8RLQS20P/gL+MlpW77N88cxi32cvajl65DzIvISuIyoO9MCQDb/MRd4+G X76Q== 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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=eattoHWHiCy6LnTX7lOf7BFjiN0kFwham97FvlO3Th3WZzoNtDmxzhBq/ZbQ0cATVl kj65H52XE4EoS3DSWFDi4eophkQCu356lAZKPgx9BFHV157l0+s1YDZs/XX2XtAlw0X4 qrZTMhmRtP+G36vhkso9vJBSewKFbIIGCEjWj5Lw+jcmOwix8bwP3TOvY9MCAJPnhezY cZnYq8dLsO/WhBBzx+T+jF45wY2RxUXimX5iuOu/Yj3/FJtsUHM8v0cgkudVlyYaoMC6 82zAMCTNqwJ1JbyE7yoImwhbvUfYue2GrS4t8gUNk17OqQdGn+D0XCAR2yhStM9g59zE Nc+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nffO+72F; 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 e21si1965850ejx.94.2020.11.06.13.39.17; Fri, 06 Nov 2020 13:39:39 -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=nffO+72F; 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 S1728672AbgKFVhf (ORCPT + 99 others); Fri, 6 Nov 2020 16:37:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728597AbgKFVhX (ORCPT ); Fri, 6 Nov 2020 16:37:23 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF31BC0613CF for ; Fri, 6 Nov 2020 13:37:21 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id w14so2748853wrs.9 for ; Fri, 06 Nov 2020 13:37:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=nffO+72FegtWIuRQmVOjyQ3YSiqmz16iu6IDBvNnyWD51uId9oSzigR7mWrDp28h2q b1ci3TdGgL2M4lLtpOTLekGXKiYt+60aXo5YqXNe1XYYTOAqVyGyz8CVToiqiFTweNaX FsN52+nl19OXuJmO/u/zcARgVagxc8IQIZtN2jG6H79hpAPYvuHc077940+7qYcgvwOW NN/OIydgWJjGB8SKr5n8OvLQ/k4OInYT0d6kbBXMowEzwX3L3aNCr002eFVOXKvmKub9 AJ2hR/oU9E6TombBZ0VhBI8XbaTrDRJrKKLUJc9o96j7xfweHYxc1mgHGVcWJSYXf0+T rfbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=ICr0WaY64VICzfdhPB5WJATThtLEAGHuAlfO8cVSEFHvFEjRZvmN6fUlHbOVUtfTDZ pgaAgW/jsAH9Ecw5+kT0yjhEqcTDJbz9fWvq2inJu7zepCEU8Wm265oKOJXvL/9t3JUk GilGynfIqqODJZImZ1K480ghQoW8dvEWleE2sfuIV/iMt5nR0LBX2bl3ZB6AnsHjg4tS 7w7SEfPwuXLnFSy4FoYfjc6jMelUb+axEvSio5t5ztG55OU4kj8TX9oIjZAdwGT3WoVD sC9ZSo14AfAmojtYF55lFqayuUfKGCNJTl3mYEz3pEUCuH9QhyyUccDCqj6wYznB+EK4 z3tA== X-Gm-Message-State: AOAM5313P868roQoTLPmoQ/xv/fzx9eThgAn170rYKRoKh/hJ1MZHTKu vfWsnnuzw9IPDb0H1at947qsEQ== X-Received: by 2002:a5d:4104:: with SMTP id l4mr3250741wrp.276.1604698640687; Fri, 06 Nov 2020 13:37:20 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Boris Brezillon , David Woodhouse , linux-mtd@lists.infradead.org Subject: [PATCH v2 16/23] mtd: nand: raw: cafe_nand: Remove superfluous param doc and add another Date: Fri, 6 Nov 2020 21:36:48 +0000 Message-Id: <20201106213655.1838861-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> MIME-Version: 1.0 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/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(-) 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. -- 2.25.1